make log tail x86_64-pc-linux-gnu-g++ -c -pipe -fno-stack-protector-all -march=nocona -pipe -fomit-frame-pointer -I.././src -I.. -pthread -march=nocona -O2 -pipe -fomit-frame-pointer -fno-gcse -fno-stack-protector -Wall -W -D_REENTRANT -DAUTOCONF -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -I. -I. -o qdjvuhttp.o qdjvuhttp.cpp /usr/bin/moc -DAUTOCONF -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -I. -I. qdjvuwidget.cpp -o qdjvuwidget.moc /usr/bin/moc -DAUTOCONF -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -I. -I. qdjviewsidebar.cpp -o qdjviewsidebar.moc cc1plus: error: unrecognized command line option "-fno-stack-protector-all" make[1]: *** [qdjvuhttp.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Updating '/usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5/src/djview_cs.qm'... Generated 588 translation(s) (588 finished and 0 unfinished) Updating '/usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5/src/djview_de.qm'... Generated 588 translation(s) (588 finished and 0 unfinished) Updating '/usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5/src/djview_fr.qm'... Generated 588 translation(s) (588 finished and 0 unfinished) Updating '/usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5/src/djview_ru.qm'... Generated 588 translation(s) (588 finished and 0 unfinished) Updating '/usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5/src/djview_uk.qm'... Generated 588 translation(s) (588 finished and 0 unfinished) make[1]: Leaving directory `/usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5/src' make: *** [all-djview] Error 2 * ERROR: app-text/djview4-4.5 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 6409: Called die * The specific snippet of code: * emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed" * * If you need support, post the output of 'emerge --info =app-text/djview4-4.5', * the complete build log and the output of 'emerge -pqv =app-text/djview4-4.5'. * The complete build log is located at '/usr/src/portage/portage/app-text/djview4-4.5/temp/build.log'. * The ebuild environment file is located at '/usr/src/portage/portage/app-text/djview4-4.5/temp/environment'. * S: '/usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5' Steps to reproduce: 1) emerge djview4 ---------------------------------------- emerge --info =app-text/djview4-4.5 Portage 2.1.7.17 (hardened/linux/amd64, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9.nicevt.den_m.hd x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.28-hardened-r9.nicevt.den_m.hd-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-1.12.11.1 Timestamp of tree: Fri, 05 Mar 2010 10:00:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r3, 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 3.4.6-r2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict suidctl unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LC_ALL="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j5" 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="/usr/src/portage" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 bash-completion bzip2 cairo clamav cli cracklib cups cxx dbus dga dri expat fbcon fftw firefox gif gtk hal hardened iconv jabber javascript jpeg justify maildir mime minimal mmx modules mplayer mudflap multilib ncurses nls nptl offensive opengl openmp pam pdf pic plotutils png posix readline reflection samba session sockets spell spl sse sse2 ssl sysfs tcpd threads tiff truetype unicode urandom usb xcomposite xorg xosd xpm xv 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 intel" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ---------------------------------------- emerge -pqv =app-text/djview4-4.5 [ebuild N ] app-text/djview4-4.5 USE="-debug"
Created attachment 223139 [details] Full build log
Created attachment 223141 [details] The ebuild environment file
> cc1plus: error: unrecognized command line option "-fno-stack-protector-all" # grep -Rni stack-protector /var/tmp/portage/app-text/djview4-4.5/work Looks like you need `emerge -e world` after your gcc upgrade b/c it's picking up CFLAGS from somewhere else (qt, djvu, whatever).
(In reply to comment #3) > # grep -Rni stack-protector /var/tmp/portage/app-text/djview4-4.5/work grep -Rni stack-protector /usr/src/portage/portage/app-text/djview4-4.5/work /usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5/src/Makefile:14:CFLAGS = -pipe -fno-stack-protector-all -march=core2 -pipe -fomit-frame-pointer -I.././src -I.. -pthread -march=nocona -O2 -pipe -fomit-frame-pointer -fno-gcse -Wall -W -D_REENTRANT $(DEFINES) /usr/src/portage/portage/app-text/djview4-4.5/work/djview4-4.5/src/Makefile:15:CXXFLAGS = -pipe -fno-stack-protector-all -march=core2 -pipe -fomit-frame-pointer -I.././src -I.. -pthread -march=nocona -O2 -pipe -fomit-frame-pointer -fno-gcse -fno-stack-protector -Wall -W -D_REENTRANT $(DEFINES) > Looks like you need `emerge -e world` after your gcc upgrade b/c it's picking > up CFLAGS from somewhere else (qt, djvu, whatever). ops, it takes a lot of time for me, so I'll update this bug later.
(In reply to comment #4) > You need to grep fresh *unconfigured* unpacked source to check where's the fault. I.e., ebuild foo unpack and nothing else. Otherwise, for a quick start and to avoid a long recompile of everything, just try with *direct* dependencies (i.e., app-text/djvu and x11-libs/qt-*) and see if it helps.
recompiling qt fixed the problem, closing bug
Good that it works now :)
(In reply to comment #7) > Good that it works now :) > Yeah, thanks for help!