Summary: | dev-libs/zziplib-0.13.54 compile fails when using sys-devel/icecream | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hanno Böck <hanno> |
Component: | Current packages | Assignee: | SpanKY <vapier> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | dirk.heinrichs.ext, dirk.heinrichs, mr_bones_, smaarster, tais.hansen, ulm, vutrankien.vn |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log
build log |
Description
Hanno Böck
2009-05-26 09:08:09 UTC
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 |