[Debian-med-packaging] Bug#581886: adun.app: Broken nostrip handling with gnustep-make/2.4.x

Yavor Doganov yavor at gnu.org
Sun May 16 21:57:31 UTC 2010


Source: adun.app
Version: 0.81-2 
Severity: important
User: pkg-gnustep-maintainers at lists.alioth.debian.org
Usertags: gnustep-make2.4-transition gnustep-transition

[ This report was generated semi-automatically. ]

Your package implements `noopt' support by conditionally defining the
OPTFLAG variable.  As of gnustep-make/2.4.0, this also swallows the -g
flag passed to GCC so the produced binaries are useless for debugging
even if the package is built with `nostrip'.

See
/usr/share/GNUstep/Documentation/Developer/Make/ReleaseNotes/RELEASENOTES
for more information.

In almost all cases this is easy to fix; if you were doing something
like:

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
OPTFLAG := -O0
else
OPTFLAG := -O2
endif

build-stamp:
	...
	$(MAKE) OPTFLAG=$(OPTFLAG) ...


, then replacing it with


ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
optim := debug=yes
endif

build-stamp:
	...
	$(MAKE) $(optim) ...

should be sufficient.


(debian-med people: I'll fix this myself; don't worry.)





More information about the Debian-med-packaging mailing list