Summary: | sys-fs/cloop-2.624 - ../advfs.cc:886: error: `INT_MAX' was not declared in this scope, fails to build with gcc 4.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sylvain Raybaud <sraybaud> |
Component: | [OLD] Core system | Assignee: | Stefan Schweizer (RETIRED) <genstef> |
Status: | RESOLVED WONTFIX | ||
Severity: | major | CC: | brent.saner, esigra, flameeyes, kernel-misc, loki_val, sraybaud, T.Scholz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 251795 | ||
Bug Blocks: | 198121 | ||
Attachments: |
emerge log for cloop
adds include limits.h Ebuild prototype build log patch for the "semaphore" include problem with gentoo-sources 2.6.27 ebuild, including semaphore patch |
Description
Sylvain Raybaud
2008-10-08 13:12:36 UTC
Created attachment 167600 [details]
emerge log for cloop
Created attachment 167708 [details, diff]
adds include limits.h
Solves the INT_MAX problem
Created attachment 167710 [details]
Ebuild prototype
This ebuild seems to work for me but needs rework by an expert
My first attchment is a fix for the INT_MAX problem which is used in the second attchment, an ebuild for cloop-2.625. just wanted to quick mention another (possibly related (!)) bug with this ebuild (present in the updated ebuild T.Scholz was kind enough to provice) is that it does NOT mark app-arch/advancecomp(-1.15) as a dependency. emerging it does not help, however, as it still fails at this: g++ -pthread -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -o advfs advfs.o zip.o file.o data.o siglock.o compress.o zipsh.o getopt.o snprintf.o 7zdeflate.o 7zlzma.o AriBitCoder.o CRC.o DeflateDecoder.o DeflateEncoder.o HuffmanEncoder.o IInOutStreams.o InByte.o LSBFDecoder.o LSBFEncoder.o LZMA.o LZMADecoder.o LZMAEncoder.o LenCoder.o LiteralCoder.o OutByte.o WindowIn.o WindowOut.o -lz -lpthread make[1]: Leaving directory `/var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625/advancecomp-1.15' more info: * ERROR: sys-fs/cloop-2.625 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3147: Called linux-mod_src_compile * environment, line 2422: Called die * The specific snippet of code: * eval "emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KVERSION=2.6.27-gentoo KERNEL_DIR=/usr/src/linux all * * 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/sys-fs/cloop-2.625/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/cloop-2.625/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' (In reply to comment #5) > just wanted to quick mention another (possibly related (!)) bug with this > ebuild (present in the updated ebuild T.Scholz was kind enough to provice) is > that it does NOT mark app-arch/advancecomp(-1.15) as a dependency. emerging it > does not help, however, as it still fails at this: > > g++ -pthread -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -o > advfs advfs.o zip.o file.o data.o siglock.o compress.o zipsh.o getopt.o > snprintf.o 7zdeflate.o 7zlzma.o AriBitCoder.o CRC.o DeflateDecoder.o > DeflateEncoder.o HuffmanEncoder.o IInOutStreams.o InByte.o LSBFDecoder.o > LSBFEncoder.o LZMA.o LZMADecoder.o LZMAEncoder.o LenCoder.o LiteralCoder.o > OutByte.o WindowIn.o WindowOut.o -lz -lpthread > make[1]: Leaving directory > `/var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625/advancecomp-1.15' > I dont see an error, here. > > more info: > > * ERROR: sys-fs/cloop-2.625 failed. > > LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; > * The die message: > * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc > LDFLAGS= KVERSION=2.6.27-gentoo KERNEL_DIR=/usr/src/linux all > * > * 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/sys-fs/cloop-2.625/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/sys-fs/cloop-2.625/temp/environment'. > * This ebuild is from an overlay: '/usr/local/portage/' Please post /var/tmp/portage/sys-fs/cloop-2.625/temp/build.log, at least 10 or 20 lines preceding the error message. (In reply to comment #6) > I dont see an error, here. whoops, neither do i. sorry, just skimmed the error message! > Please post /var/tmp/portage/sys-fs/cloop-2.625/temp/build.log, at least 10 or > 20 lines preceding the error message. i'll post the whole thing as an attachment. Created attachment 168478 [details]
build log
build log from patched ebuild.
2008-10-14 08:25 EST5EDT
Created attachment 168604 [details, diff]
patch for the "semaphore" include problem with gentoo-sources 2.6.27
Here is a patch for the "semaphore" include problem with gentoo-sources 2.6.27 and the new ebuild
Created attachment 168606 [details]
ebuild, including semaphore patch
ebuild, including semaphore patch
@treecleaner: Maintainer unresponsive, current patches fail with newer kernels. No upstream. Handling removal notice on bug 251795. Updating status # Jeremy Olexa <darkside@gentoo.org> (20 Dec 2008) # Removed in 60 days, multiple bugs - does not compile with recent kernels. # bug 251795 *** Bug 251686 has been marked as a duplicate of this bug. *** removed from tree, wontfix |