Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275599 - net-misc/whois-4.7.36 bug with certain CFLAGS as it mixes CFLAGS and CPPFLAGS
Summary: net-misc/whois-4.7.36 bug with certain CFLAGS as it mixes CFLAGS and CPPFLAGS
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 275598 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-27 13:25 UTC by Konstantin
Modified: 2017-08-05 13:07 UTC (History)
2 users (show)

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


Attachments
Fixes the issue for me (whois-5.0.1-cflags-combine.patch,902 bytes, patch)
2010-04-10 20:41 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin 2009-06-27 13:25:17 UTC
net-misc/whois-4.7.34 does not compile with -combine CXFLAGS option, but without all ok.

Reproducible: Always

Steps to Reproduce:




>>> Emerging (1 of 1) net-misc/whois-4.7.34
 * whois_4.7.34.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                    [ ok ]
>>> Unpacking source...                                                                                                                                                         
>>> Unpacking whois_4.7.34.tar.gz to /var/tmp/portage/net-misc/whois-4.7.34/work                                                                                                
 * Applying whois-4.7.26-gentoo-security.patch ...                                                                                                                         [ ok ]
 * Applying whois-4.7.2-config-file.patch ...                                                                                                                              [ ok ]
>>> Source unpacked in /var/tmp/portage/net-misc/whois-4.7.34/work                                                                                                               
>>> Compiling source in /var/tmp/portage/net-misc/whois-4.7.34/work/whois-4.7.34 ...                                                                                             
make -j3 'CFLAGS=-O3 -combine -pipe -march=core2 -mtune=core2 ' HAVE_LIBIDN=1                                                                                                    
x86_64-pc-linux-gnu-gcc -DHAVE_LIBIDN  -O3 -combine -pipe -march=core2 -mtune=core2  -MM -MG *.c > Makefile.depend                                                               
cc1: error: too many filenames given.  Type cc1 --help for usage                                                                                                                 
make: *** No rule to make target `Makefile.depend', needed by `all'.  Stop.                                                                                                      
 *                                                                                                                                                                               
 * ERROR: net-misc/whois-4.7.34 failed.                                                                                                                                          
 * Call stack:                                                                                                                                                                   
 *               ebuild.sh, line   49:  Called src_compile                                                                                                                       
 *             environment, line 2267:  Called die                                                                                                                               
 * The specific snippet of code:                                                                                                                                                 
 *       emake CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die                                                                                                               
 *  The die message:                                                                                                                                                             
 *   (no error message)                                                                                                                                                          
 *                                                                                                                                                                               
 * If you need support, post the topmost build error, and the call stack if relevant.                                                                                            
 * A complete build log is located at '/var/tmp/portage/net-misc/whois-4.7.34/temp/build.log'.                                                                                   
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/whois-4.7.34/temp/environment'.                                                                          
 *


# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================                                 
System uname: Linux-2.6.30-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 27 Jun 2009 07:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -combine -pipe -march=core2 -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -combine -pipe -march=core2 -mtune=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/rostov"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi ahavi alsa amd64 asus asus-laptop battery berkdb bittorent bzip2 cd cdr cdrom cdrw cli consolekit cracklib crypt cups dbus dev djvu doc dri dvd dvdr dvdrw examples exif ffmpeg flac fortran gdbm gif git gpm hal iconv icq imagemagic ipod ipv6 isdnlog jabber jadetex java javascrip jingle jpeg jpeg2k kerberos lame laptop latex lm_sensors lua mad midi mime mmx mng mp3 mp3tunes mp4 mpeg mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nvidia objc ogg opengl openmp openssl pam pcre pdf perl png postgres ppp pppd pppoe pptp python qt3 qt4 quicktime raw readline reflection ruby samba sasl sdl session spell spl sqlite sse sse2 ssl subversion svg synaptics sysfs syslog tcpd tex tiff unicode usb userlocales v4l v4l2 vorbis webkit wifi xine xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Konstantin 2009-06-27 13:29:19 UTC
*** Bug 275598 has been marked as a duplicate of this bug. ***
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-10-30 02:19:56 UTC
Reproduced with stable toolchain and 4.7.36. IMO, it is not a common enough flag to be concerned
Comment 3 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-04-10 20:41:07 UTC
Created attachment 227307 [details, diff]
Fixes the issue for me

I'm surprised that http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37973 is left open if it works for gccc-4.7.*.
Comment 4 Michael Orlitzky gentoo-dev 2017-05-16 00:19:28 UTC
The "-combine" flag has been removed from GCC,

  https://gcc.gnu.org/gcc-4.6/changes.html

so I guess this is obsolete?
Comment 5 Michael Orlitzky gentoo-dev 2017-08-05 13:07:52 UTC
The "-combine" flag is not present in any unmasked GCC in the tree, so I'm going to mark this obsolete. Please reopen if I've made a mistake.