toshiba-utils repeatedly fails to compile with the following message: i686-pc-linux-gnu-gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -mtune=pentium3 -O3 -pipe -DVERSION=\"2.0.1\" -DBINDIR=\"/usr/bin\"\ -DXMESSAGE=\"/usr/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c ownerstring.c i686-pc-linux-gnu-gcc -s -o ownerstring ownerstring.o hci.o sci.o i686-pc-linux-gnu-gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -mtune=pentium3 -O3 -pipe -DVERSION=\"2.0.1\" -DBINDIR=\"/usr/bin\"\ -DXMESSAGE=\"/usr/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c alarm.c alarm.c: In function 'main': alarm.c:152: warning: implicit declaration of function 'strcmp' alarm.c:109: warning: 'current.tm_sec' is used uninitialized in this function i686-pc-linux-gnu-gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -mtune=pentium3 -O3 -pipe -DVERSION=\"2.0.1\" -DBINDIR=\"/usr/bin\"\ -DXMESSAGE=\"/usr/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c y.tab.c i686-pc-linux-gnu-gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -mtune=pentium3 -O3 -pipe -DVERSION=\"2.0.1\" -DBINDIR=\"/usr/bin\"\ -DXMESSAGE=\"/usr/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c lex.yy.c lex.yy.c:1273: warning: 'yyunput' defined but not used i686-pc-linux-gnu-gcc -s -o alarm alarm.o sci.o y.tab.o lex.yy.o -lfl i686-pc-linux-gnu-gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -mtune=pentium3 -O3 -pipe -DVERSION=\"2.0.1\" -DBINDIR=\"/usr/bin\"\ -DXMESSAGE=\"/usr/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c hotkey.c i686-pc-linux-gnu-gcc -s -o hotkey hotkey.o hci.o sci.o -L/usr/X11R6/lib -lX11 i686-pc-linux-gnu-gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -mtune=pentium3 -O3 -pipe -fwritable-strings -DVERSION=\"2.0.1\"\ -DBINDIR=\"/usr/bin\" -DXMESSAGE=\"/usr/bin/xmessage\" -c wmtuxtime.c cc1: error: unrecognized command line option "-fwritable-strings" make: *** [wmtuxtime.o] Error 1 make: Leaving directory `/var/tmp/portage/toshiba-utils-2.0.1-r1/work/toshutils-2.0.1/src' !!! ERROR: app-laptop/toshiba-utils-2.0.1-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile toshiba-utils-2.0.1-r1.ebuild, line 35: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. emerge info: Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.20.7 i686) ================================================================= System uname: 2.6.20.7 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Gentoo Base System release 1.12.9 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-mtune=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="sv en en_GB en_US es" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm gtk iconv ipv6 isdnlog libg++ lm_sensors midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection sdl session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_sv linguas_en linguas_en_GB linguas_en_US linguas_es userland_GNU video_cards_i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce:
-fwritable-strings is not set anywhere in toshiba-utils. The flag comes from somewhere else, maybe dependand library configs, gtk+?
Is there a way to trace this?
grep might be a good help. YOU could repeatedly stop the compile and use grep to find out here it gets added. Or qlist gtk+ | xargs grep ..