All the deps where already installed. Nothing was rebuilt. If requested I will attach the complete build log. Reproducible: Always Steps to Reproduce: 1. Added ~x86 to portage.keywords 2. Emerge the package Actual Results: if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wno-pointer-sign -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -DENABLE_MP3 -DENABLE_VORBIS -DDATADIR='"/usr/share/tagtool"' -march=pentium-m -O2 -pipe -MT tagtool-file_util.o -MD -MP -MF ".deps/tagtool-file_util.Tpo" \ -c -o tagtool-file_util.o `test -f 'file_util.c' || echo './'`file_util.c; \ then mv -f ".deps/tagtool-file_util.Tpo" ".deps/tagtool-file_util.Po"; \ else rm -f ".deps/tagtool-file_util.Tpo"; exit 1; \ fi cc1: error: unrecognized command line option "-Wno-pointer-sign" make[2]: *** [tagtool-file_list.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: error: unrecognized command line option "-Wno-pointer-sign" make[2]: *** [tagtool-file_util.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-sound/tagtool-0.12.3/work/tagtool-0.12.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/tagtool-0.12.3/work/tagtool-0.12.3' make: *** [all] Error 2 !!! ERROR: media-sound/tagtool-0.12.3 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 1228: Called src_compile tagtool-0.12.3.ebuild, line 36: Called die !!! make failed !!! 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/media-sound/tagtool-0.12.3/temp/build.log'. $ emerge --info Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.5-r0, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 22 Apr 2007 23:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/app-defaults /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ http://cesium.di.uminho.pt/pub/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/" LANG="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://darkstar.ist.utl.pt/gentoo-portage" USE="X alsa crypt cups gif jpeg nptl opengl perl png python readline sdl sse sse2 ssl tiff truetype unicode x86 zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx vesa radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 117118 [details, diff] Removes the -Wno-pointer-sign flag from Makefile.in This problem is due to the fact that gcc-3.4.6 doesn't support the warning suppression flag -Wno-pointer-sign. You can either upgrade to a new version of gcc or use this patch to remove the flag.
Created attachment 117120 [details, diff] Adds the patch to the tagtools-0.12.3 ebuild Apply this patch to update the ebuild to use the previous patch in comment #2 as long as you put the -Wno-pointer-sign.patch in your files/ directory.
(In reply to comment #2) > Created an attachment (id=117120) [edit] > Adds the patch to the tagtools-0.12.3 ebuild > > Apply this patch to update the ebuild to use the previous patch in comment #2 > as long as you put the -Wno-pointer-sign.patch in your files/ directory. > err I meant comment #1, sorry.
I have both gcc 3.4.6-r2 and 4.1.1-r3 installed on the system, I guess defaulting to the gcc-4 version could also solve this problem. Anyway, the patch seems to solve the problem. I also took the bug and did the upgrade to gcc 4.1. Tagtool builds fine with 4.1.1-r3 without any patch. Thanks for your time. Marking it as fixed.
The patch is not in the portage tree