I'm on ~amd64. emerge dev-scheme/chicken produces: >>> Emerging (1 of 1) dev-scheme/chicken-4.5.0 * chicken-4.5.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-scheme/chicken-4.5.0 * REPO: gentoo * USE: amd64 elibc_glibc emacs kernel_linux multilib userland_GNU >>> Unpacking source... >>> Unpacking chicken-4.5.0.tar.gz to /var/tmp/portage/dev-scheme/chicken-4.5.0/work >>> Source unpacked in /var/tmp/portage/dev-scheme/chicken-4.5.0/work >>> Preparing source in /var/tmp/portage/dev-scheme/chicken-4.5.0/work/chicken-4.5.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-scheme/chicken-4.5.0/work/chicken-4.5.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-scheme/chicken-4.5.0/work/chicken-4.5.0 ... make -j1 PLATFORM=linux PREFIX=/usr 'C_COMPILER_OPTIMIZATION_OPTIONS=-O2 -pipe' HOSTSYSTEM=x86_64-pc-linux-gnu make -f ./Makefile.linux CONFIG= all make[1]: Entering directory `/var/tmp/portage/dev-scheme/chicken-4.5.0/work/chicken-4.5.0' make[1]: *** No rule to make target `apply-hack.amd64.S', needed by `apply-hack.amd64.o'. Stop. make[1]: Leaving directory `/var/tmp/portage/dev-scheme/chicken-4.5.0/work/chicken-4.5.0' make: *** [all] Error 2 * ERROR: dev-scheme/chicken-4.5.0 failed: * emake failed * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 1076: Called die * The specific snippet of code: * emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" HOSTSYSTEM="${CBUILD}" || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-scheme/chicken-4.5.0', * the complete build log and the output of 'emerge -pqv =dev-scheme/chicken-4.5.0'. * The complete build log is located at '/var/tmp/portage/dev-scheme/chicken-4.5.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-scheme/chicken-4.5.0/temp/environment'. * S: '/var/tmp/portage/dev-scheme/chicken-4.5.0/work/chicken-4.5.0' Reproducible: Always
Please submit(in attachment) your "emerge --info" and "emerge -pv chicken" and also the full build.log. Thank you for your report.
The output of the following command: # emerge -pv chicken These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-scheme/chicken-4.5.0 [4.2.0] USE="emacs" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB
Created attachment 234097 [details] emerge.info.txt The output of "emerge --info".
Created attachment 234099 [details] dev-scheme:chicken-4.5.0:20100604-095945.log The full build log.
Created attachment 234113 [details] Output of "emerge --info" Output of emerge -pv chicken and build log same as posted by José. Same error happens if i remove CFLAGX, CXXFLAGS and LDFLAGS, with any installed verion of gcc.
Solution: rename apply-hack.x86-64.S to apply-hack.amd64.S in work directory. builds and runs fine.
--- ChangeLog 2010-06-06 19:13:53.000000000 +0300 +++ ChangeLog.new 2010-06-07 22:21:02.000000000 +0300 @@ -2,6 +2,11 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.40 2010/06/01 20:16:38 chiiph Exp $ + 07 Jun 2010; Panagiotis Christopoulos <pchrist@gentoo.org> + chicken-4.5.0.ebuild, +files/chicken-4.5.0-r0-ARCH-to-zARCH-hack.patch: + nasty hack to fix buildsystem's and portage variable collision, wrt bug + #322527 + Please resync your portage in a couple of minutes/hours and try again. It shouldn't fail now. Please report any findings/success in order to resolve this bug. Thank you all for your replies.
Builds and runs fine here. Thanks.
Since this seems worked out, I'm closing this.