All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuri Bushmelev <jay4mail@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: wrong paths inside autotools (and few others)
Date: Thu, 20 Jan 2011 23:20:40 +0300	[thread overview]
Message-ID: <201101202320.40462.jay4mail@gmail.com> (raw)

Hello!

I've built minimal/qemuarm/native-sdk-image to do quick testing of kexecboot in qemu.

But I've found that autotools (at least) have wrong paths inside. Look at grep results below.

root@qemuarm:/usr/bin# grep -r sysroot * 2>/dev/null | grep -v Binary
arm-oe-linux-gnueabi-gccbug:configured with: /var/tmp/oe/minimal/arm/work/armv5te-oe-linux-gnueabi/gcc-4.5-r30.1+svnr168622/gcc-4_5-
branch/configure --build=x86_64-linux --host=arm-oe-linux-gnueabi --target=arm-oe-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --
sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --
includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --with-libtool-
sysroot=/var/tmp/oe/minimal/arm/sysroots/armv5te-oe-linux-gnueabi --disable-largefile --disable-nls --enable-ipv6 --with-gnu-ld --enable-shared --
enable-languages=c,c++,objc --enable-threads=posix --disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-
pch --program-prefix=arm-oe-linux-gnueabi- --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libgomp --disable-
libmudflap --with-float=soft --with-local-prefix=/usr/local --with-gxx-include-dir=/usr/include/c++/4.5.3 --with-build-
sysroot=/var/tmp/oe/minimal/arm/sysroots/armv5te-oe-linux-gnueabi --enable-__cxa_atexit
autoheader:#! /var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl
autoheader:eval 'case $# in 0) exec /var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0";; *) exec 
/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0" "$@";; esac'
autom4te:eval 'case $# in 0) exec /var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0";; *) exec 
/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0" "$@";; esac'
autom4te:my $m4 = $ENV{"M4"} || '/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/m4';
autoreconf:eval 'case $# in 0) exec /var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0";; *) exec 
/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0" "$@";; esac'
autoscan:eval 'case $# in 0) exec /var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0";; *) exec 
/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0" "$@";; esac'
autoupdate:eval 'case $# in 0) exec /var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0";; *) exec 
/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0" "$@";; esac'
autoupdate:my $m4 = $ENV{"M4"} || '/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/m4';
chkdupexe:#!/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -w
cvsbug:MKTEMP="/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/mktemp"
fixcvsdiff:#!/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -w
ifnames:eval 'case $# in 0) exec /var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0";; *) exec 
/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl -S "$0" "$@";; esac'
rcs2log:: ${MKTEMP="/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/mktemp"}
recountdiff:#!/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl
splitdiff:#!/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl
unwrapdiff:#!/var/tmp/oe/minimal/arm/sysroots/x86_64-linux/usr/bin/perl

Next problem is unexpanded '@autom4te_perllibdir@' in /usr/bin/gnu-configize:29:
  my $datadir = $ENV{'autom4te_perllibdir'} || '@autom4te_perllibdir@';

This prevents gnu-configize to finish:
autoreconf: running: gnu-configize
Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains: @autom4te_perllibdir@ /etc/perl /usr/local/lib/perl/5.8.8 
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl   .) at /usr/bin/gnu-configize line 
40.

If you need more info feel free to contact me.

P.S. May be add something like 'grep sysroots' against some files (perl, m4, sh) to QA testing?

-- 
Yury Bushmelev



                 reply	other threads:[~2011-01-20 20:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201101202320.40462.jay4mail@gmail.com \
    --to=jay4mail@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.