Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302455 - sys-devel/make-3.81-r1 fails to crosscompile for FreeRunner
Summary: sys-devel/make-3.81-r1 fails to crosscompile for FreeRunner
Status: RESOLVED DUPLICATE of bug 301431
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 14:02 UTC by Arsen Shnurkov
Modified: 2010-01-27 19:08 UTC (History)
2 users (show)

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


Attachments
emerge --info =sys-devel/make-3.81-r1 (emerge.info.txt,3.66 KB, text/plain)
2010-01-27 14:07 UTC, Arsen Shnurkov
Details
Output of emerge -pqv =sys-devel/make-3.81-r1 (emerge.pqv.txt,325 bytes, text/plain)
2010-01-27 14:07 UTC, Arsen Shnurkov
Details
The complete build log from '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/temp/build.log'. (build.log.txt,16.58 KB, text/plain)
2010-01-27 14:08 UTC, Arsen Shnurkov
Details
The ebuild environment file from '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/temp/environment' (environment.txt,93.98 KB, text/plain)
2010-01-27 14:09 UTC, Arsen Shnurkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arsen Shnurkov 2010-01-27 14:02:31 UTC
I do steps from the tutorial
http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling

after command
emerge-armv4tl-softfloat-linux-gnueabi world

compilation fails at ebuild  sys-devel/make-3.81-r1

with message

/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/ -MT job.o -MD -MP -MF ".deps/job.Tpo" -c -o job.o job.c; \
	then mv -f ".deps/job.Tpo" ".deps/job.Po"; else rm -f ".deps/job.Tpo"; exit 1; fi
job.c: In function 'construct_command_argv_internal':
job.c:2713: error: 'PAGE_SIZE' undeclared (first use in this function)
job.c:2713: error: (Each undeclared identifier is reported only once
job.c:2713: error: for each function it appears in.)
make[2]: *** [job.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/work/make-3.81'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/work/make-3.81'
make: *** [all] Error 2
 * ERROR: sys-devel/make-3.81-r1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2571:  Called die
 * The specific snippet of code:
 *       emake || die
Comment 1 Arsen Shnurkov 2010-01-27 14:07:01 UTC
Created attachment 217597 [details]
emerge --info =sys-devel/make-3.81-r1
Comment 2 Arsen Shnurkov 2010-01-27 14:07:28 UTC
Created attachment 217599 [details]
Output of emerge -pqv =sys-devel/make-3.81-r1
Comment 3 Arsen Shnurkov 2010-01-27 14:08:21 UTC
Created attachment 217600 [details]
The complete build log from '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/temp/build.log'.
Comment 4 Arsen Shnurkov 2010-01-27 14:09:14 UTC
Created attachment 217601 [details]
The ebuild environment file from '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/temp/environment'

S: '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/sys-devel/make-3.81-r1/work/make-3.81'
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-01-27 16:21:43 UTC
You could try to read http://bugs.debian.org/393023 and write patch.
Comment 6 SpanKY gentoo-dev 2010-01-27 19:08:12 UTC

*** This bug has been marked as a duplicate of bug 301431 ***