[oe-issues] [Bug 2755] New: Perl's Cross/Makefile re-uses TOPDIR from environment
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Mon Aug 13 18:56:06 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2755
Summary: Perl's Cross/Makefile re-uses TOPDIR from environment
Product: Openembedded
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: likewise at gmx.net
If the user has TOPDIR is his environment, it has precedence over the local
variable in the Perl Cross/Makefile, used for the Perl build.
Builds will then fail as follows:
NOTE: package perl-5.8.8: started
NOTE: package perl-5.8.8-r25: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/leon/builds/x86core2_32bit/x86core2_32bit/openembedded/build/tmp/work/i686-angstrom-linux/perl-5.8.8-r25/temp/log.do_compile.18466)
| NOTE: make -e MAKEFLAGS= perl LD=i686-angstrom-linux-gcc
| Makefile:6:
/home/leon/builds/x86core2_32bit/x86core2_32bit/openembedded/config: No such
file or directory
| make: *** No rule to make target
`/home/leon/builds/x86core2_32bit/x86core2_32bit/openembedded/config'. Stop.
| FATAL: oe_runmake failed
This bug seems to occur because I already have a TOPDIR in my environment which
has precedence over the TOPDIR set in the top of the Makefile.
We have to use the Makefile "override" feature for the TOPDIR variable used for
the perl build, i.e. it should read something like:
override TOPDIR=${shell pwd}
(to be tested).
Reproducable by doing:
export TOPDIR=/tmp/
bitbake perl
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list