Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322527 - dev-scheme/chicken-4.5.0 fails to build
Summary: dev-scheme/chicken-4.5.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 22:37 UTC by rx80
Modified: 2010-07-05 23:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge.info.txt (emerge.info.txt,11.55 KB, text/plain)
2010-06-04 10:03 UTC, José Romildo Malaquias
Details
dev-scheme:chicken-4.5.0:20100604-095945.log (dev-scheme:chicken-4.5.0:20100604-095945.log,2.04 KB, text/plain)
2010-06-04 10:08 UTC, José Romildo Malaquias
Details
Output of "emerge --info" (emerge.info.txt,2.62 KB, text/plain)
2010-06-04 12:34 UTC, rx80
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rx80 2010-06-02 22:37:13 UTC
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
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-06-04 07:53:37 UTC
Please submit(in attachment) your "emerge --info" and "emerge -pv chicken" and also the full build.log. Thank you for your report.
Comment 2 José Romildo Malaquias 2010-06-04 10:02:44 UTC
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
Comment 3 José Romildo Malaquias 2010-06-04 10:03:47 UTC
Created attachment 234097 [details]
emerge.info.txt

The output of "emerge --info".
Comment 4 José Romildo Malaquias 2010-06-04 10:08:51 UTC
Created attachment 234099 [details]
dev-scheme:chicken-4.5.0:20100604-095945.log

The full build log.
Comment 5 rx80 2010-06-04 12:34:09 UTC
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.
Comment 6 rx80 2010-06-07 01:42:59 UTC
Solution:
rename apply-hack.x86-64.S to apply-hack.amd64.S in work directory.
builds and runs fine.
Comment 7 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-06-07 19:24:22 UTC
--- 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.
Comment 8 rx80 2010-06-07 20:28:01 UTC
Builds and runs fine here.

Thanks.
Comment 9 Tomás Touceda (RETIRED) gentoo-dev 2010-07-05 23:41:33 UTC
Since this seems worked out, I'm closing this.