With this error: /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.. -I../.. -O2 -march=core2 -pipe -D_USE_MMAP -fomit-frame-pointer -Wall -xstrconst -fstrict-prototypes -Wstrict-prototypes -Wmissing-declarations -Wdeclaration-after-statement -MT zip.lo -MD -MP -MF .deps/zip.Tpo -c -o zip.lo ../../zzip/zip.c x86_64-pc-linux-gnu-gcc: language strconst not recognized x86_64-pc-linux-gnu-gcc: language strconst not recognized x86_64-pc-linux-gnu-gcc: ../../zzip/zip.c: linker input file unused because linking not done x86_64-pc-linux-gnu-gcc: language strconst not recognized x86_64-pc-linux-gnu-gcc: language strconst not recognized x86_64-pc-linux-gnu-gcc: /var/tmp/ccache/zip.tmp.libertalia.27905.i: linker input file unused because linking not done mv -f .deps/zip.Tpo .deps/zip.Plo mv: cannot stat `.deps/zip.Tpo': No such file or directory make[3]: *** [zip.lo] Error 1 obligatory emerge --info: Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3-asneeded, glibc-2.10.1-r0, 2.6.30-rc6 x86_64) ================================================================= System uname: Linux-2.6.30-rc6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 26 May 2009 08:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8 dev-lang/python: 2.6.2 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-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 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="-O2 -march=core2 -pipe" 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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox sfperms sign strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1,--as-needed,--sort-common,--hash-style=gnu" LINGUAS="de en" 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 /usr/local/overlays/overlay /usr/local/overlays/x11" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amd64 amr amrnb apache2 autoipd avahi bluetooth bzip2 cairo cddb cdio chipcard cli consolekit cracklib crypt ctype cups dbus devil dirac discouraged dri dts dvd dvdr dvdread encode exif faac faad ffmpeg filter flac fortran gallium gd gdal glitz gpm gps gstreamer hal hbci hdaps iconv ipv6 isdnlog joystick jpeg kde kdeenablefinal kdehiddenvisibility kdeprefix kipi kqemu laptop latex lcms libcaca libnotify logitech-mouse mad midi mikmod mjpeg mmx mmxext mp3 mp4 mpeg mudflap multilib musicbrainz mysql ncurses nls nptl nptlonly ogg ogm opengl openmp pam pcre pdf plotutils png ppds pppd proj python qt3 readline reflection schroedinger session sni spell spl srt sse sse2 sse3 ssl ssse3 svg sysfs theora threads tiff trayicon truetype unicode usb vhook visualization vorbis webkit wifi x264 xcb xcomposite xinerama xml xorg xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
post your config.log and full build log. that option shouldnt have been detected and added to your build.
Created attachment 192549 [details] config.log
Created attachment 192550 [details] build log
BTW this happens with dev-libs/zziplib-0.13.49-r1 as well. gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/dir.c: linker input file unused because linking not done gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/stat.c: linker input file unused because linking not done gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/file.c: linker input file unused because linking not done gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/info.c: linker input file unused because linking not done gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/write.c: linker input file unused because linking not done gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/err.c: linker input file unused because linking not done gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/plugin.c: linker input file unused because linking not done gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/mmapped.c: linker input file unused because linking not done gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/fetch.c: linker input file unused because linking not done mv: cannot stat `.deps/zip.Tpo': No such file or directory mv: cannot stat `.deps/dir.Tpo': No such file or directory mv: cannot stat `.deps/stat.Tpo': No such file or directory mv: cannot stat `.deps/file.Tpo': No such file or directory make[3]: *** [zip.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [dir.lo] Error 1 make[3]: *** [stat.lo] Error 1 make[3]: *** [file.lo] Error 1 gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/memdisk.c: linker input file unused because linking not done mv: cannot stat `.deps/info.Tpo': No such file or directory mv: cannot stat `.deps/write.Tpo': No such file or directory make[3]: *** [info.lo] Error 1 gcc: language strconst not recognized gcc: language strconst not recognized gcc: ../../zzip/fseeko.c: linker input file unused because linking not done make[3]: *** [write.lo] Error 1 mv: cannot stat `.deps/err.Tpo': No such file or directory r/tmp/portage/dev-libs/zziplib-0.13.49-r1/temp/build.log lines 324-371/402 92%
The same issue appeared here with stable and testing zziplib but only if I compile with icecream. Deactivating icecream for this ebuild leads to a working build.
Same goes for 0.13.56 ... disabling icecream works around the issue.
Hanno: are you using icecream as well ?
Still happens with 0.13.58. The problem occurs with gcc 4.4.2, with 4.3.4 the package compiles file. No icecream here (it's winter :-) ). (In reply to comment #3) > Created an attachment (id=192550) [details] > build log The crucial line in the build log is: checking CFLAGS making strings readonly... -xstrconst The -xstrconst comes from m4/ax_cflags_no_writable_strings.m4 where it is testing for different C compilers. Looks like all options it has listed for GCC fail with recent versions, so it mistakenly ends up with some Solaris option. If I do: sed -i -e '/strconst/d' m4/*.m4 followed by eautoreconf, then the build succeeds.
Same with me, gcc 4.4.2 and zziplib 0.13.58 fails.
it doesnt "fall back" to anything. every flag is tested regardless of the compiler. the only way it selects a flag is if it passed the compile test. things work fine for me with gcc-4.4.2: checking CFLAGS making strings readonly... no, unknown going by the code, your compiler shouldnt have generated a conftest.o, but for some reason it did. unpack the zziplib archive yourself and run configure and see if it detects the same thing. if it does, then run the script through `bash -x` and post the full output as an attachment.
I cannot reproduce it any more. Strange.
I had a filesystem error on my root system, so I had to reinstall and afterwards the error no longer appeared, so I can't reproduce either...
I still get this error with zziplib-0.13.59-r1, when I compile with icecream. With icecream turned off, it works.
feel free to research it and let us know what you find