libfltk1.1-dev fltk-config --cxxflags has unnecessary compile flags -g -O2

Bug #606032 reported by YaZug on 2010-07-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fltk1.1 (Ubuntu)

Bug Description

Binary package hint: libfltk1.1-dev

> lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

> apt-cache policy libfltk1.1-dev
  Installed: 1.1.10-2
  Candidate: 1.1.10-2
  Version table:
 *** 1.1.10-2 0
        500 lucid/main Packages
        100 /var/lib/dpkg/status

for fltk-config --cxxflags
1.1.9 gives

-I/usr/local/include -I/usr/include/freetype2 -D_THREAD_SAFE -D_REENTRANT

for fltk-config --cxxflags
1.1.10 gives
-I/usr/include/freetype2 -g -O2 -D_THREAD_SAFE -D_REENTRANT

the -g -O2 are wrong for this context and they can override/conflict with building other packages.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libfltk1.1-dev 1.1.10-2
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Jul 15 16:57:24 2010
 PATH=(custom, no user)
SourcePackage: fltk1.1

YaZug (jon-schlueter) wrote :
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fltk1.1 - 1.1.10-3

fltk1.1 (1.1.10-3) unstable; urgency=low

  * debian/libfltk1.1.symbols: tag one symbol emitted *only* by GCC 4.3.x
    and 4.4.x (but not 4.5.x or up) as optional. (Closes: #609245.)
  * debian/compat: advance to 8, as it is safe to do so.
  * debian/control:
    - Advance debhelper requirement to (>= 8) per the above.
    - Advance dpkg-dev requirement to (>= 1.15.7) for dpkg-buildflags.
    - Generally clean up relationships; don't worry about anything pre-etch,
      and wildcard the build-dep on libasound2-dev to [linux-any].
    - Set Vcs-* fields to point to (new) personal git.d.o repository.
    - Declare compatibility with Policy version 3.9.1.
  * debian/rules:
    - Obtain baseline {C,CXX,LD}FLAGS from dpkg-buildflags rather than
      relying on them to be in the environment courtesy of dpkg-buildpackage.
    - Stop passing -D_REENTRANT, which is not only obsolete but redundant.
  * debian/source/{format,options,patch-header}: advance to 3.0 (quilt),
    albeit in single-debian-patch mode per VCS use, for .orig.tar.bz2 support.
  * fluid/fluid.desktop: replace the Exec command (which used cd) with a Perl
    one-liner for compatibility with more desktop environments. (LP: #569518.)
  * debian/fluid.lintian-overrides: adjust accordingly.
  * strip -[gO]* from --c(xx)flags output. (LP: #606032.)
  * (debian/).gitignore: Direct git to ignore content generated during build.
 -- Matthias Klose <email address hidden> Mon, 10 Jan 2011 14:57:30 +0000

Changed in fltk1.1 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers