Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240902 - net-im/ntame: C(XX)FLAGS are ignored (at src_configure/compile)
Summary: net-im/ntame: C(XX)FLAGS are ignored (at src_configure/compile)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard: Pending removal: 2015-04-19
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2008-10-09 22:07 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2015-04-26 12:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-09 22:07:55 UTC
I don't know the build system for this program (and this is a generic bug template so I cannot tell you which program exactly is), but my tests shows that it's not respecting CFLAGS (or CXXFLAGS) properly.

Please look into it, since it's important to respect user CFLAGS and CXXFLAGS.

Warning: this bug might look like a false positive because you actually have your CFLAGS being used; this happens if the CFLAGS are "set in stone" in the build system during src_unpack/src_prepare. While QA has not as of this moment expressed to me a preference, I'd sincerely suggest to avoid the set-in-stone approach, so that ebuild commands could work to reproduce the actual results.

To avoid the set in stone approach:

- consider just changing CFLAGS= to CFLAGS+= if the build system enables warnings;
- if the buildsystem does not use CFLAGS variable at all, in the sed use '$(CFLAGS)', single quoted, so that the CFLAGS variable is picked up;
- use '$(OPTCFLAGS)' in the sed and then use make OPTCFLAGS=$CFLAGS.

Thanks,
Diego
Comment 1 Pacho Ramos gentoo-dev 2014-12-07 13:54:54 UTC
Also fails to build with:
aking all in firetalk
gmake[1]: Entering directory '/var/tmp/portage/net-im/ntame-998020954/work/ntaim/firetalk'
cd .. && automake-1.13 --gnu firetalk/Makefile
automake-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
firetalk/Makefile.am: error: required file './depcomp' not found
firetalk/Makefile.am:   'automake --add-missing' can install 'depcomp'
Makefile:107: recipe for target 'Makefile.in' failed
gmake[1]: *** [Makefile.in] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/net-im/ntame-998020954/work/ntaim/firetalk'
Makefile:337: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
emake failed

And seems dead since 2002 (also upstream is missing now). I would simply treeclean this
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2014-12-07 14:55:16 UTC
(In reply to Pacho Ramos from comment #1)
> And seems dead since 2002 (also upstream is missing now). I would simply
> treeclean this

Feel free to treeclean :)
Comment 3 Pacho Ramos gentoo-dev 2015-04-26 12:49:29 UTC
dropped