Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267292 - dev-lang/swi-prolog-5.6.64 (stable) won't build on amd64
Summary: dev-lang/swi-prolog-5.6.64 (stable) won't build on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 02:48 UTC by Philip White
Modified: 2009-04-26 05:34 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,3.46 KB, text/plain)
2009-04-24 02:49 UTC, Philip White
Details
build.log (build.log,19.29 KB, text/plain)
2009-04-24 02:49 UTC, Philip White
Details
fix parallel make issue (swi-prolog-parallel-make.patch,408 bytes, patch)
2009-04-24 08:29 UTC, Sebastian Luther (few)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip White 2009-04-24 02:48:52 UTC
x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -pthread -fPIC -o mkvmi /var/tmp/portage/dev-lang/swi-prolog-5.6.64/work/pl-5.6.64/src/mkvmi.c
make: *** No rule to make target `version.h', needed by `pl-version.o'.  Stop.
make: *** Waiting for unfinished jobs....
 * 
 * ERROR: dev-lang/swi-prolog-5.6.64 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4226:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.13"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

'emerge --info' along with the build log will be attached.
Comment 1 Philip White 2009-04-24 02:49:16 UTC
Created attachment 189281 [details]
emerge --info
Comment 2 Philip White 2009-04-24 02:49:37 UTC
Created attachment 189282 [details]
build.log
Comment 3 Sebastian Luther (few) 2009-04-24 07:38:47 UTC
Please try again with MAKEOPTS="-j1".
Comment 4 Sebastian Luther (few) 2009-04-24 08:29:23 UTC
Created attachment 189298 [details, diff]
fix parallel make issue

Fix for parallel make issue. Applies to all versions in the tree.
Patch for 5.6.24 ebuild.

--- swi-prolog-5.6.64.ebuild.orig	2009-04-24 10:20:30.000000000 +0200
+++ swi-prolog-5.6.64.ebuild	2009-04-24 10:23:42.000000000 +0200
@@ -47,6 +47,7 @@
 	EPATCH_FORCE=yes
 	EPATCH_SUFFIX=patch
 	epatch "${WORKDIR}"/${PV}
+	epatch "${FILESDIR}/${PN}-parallel-make.patch"
 }
 
 src_compile() {
Comment 5 Keri Harris (RETIRED) gentoo-dev 2009-04-26 03:06:21 UTC
Fixed in CVS. Thanks for catching this!

Keri