Bug 6436 - [ADT-INSTALLER] build 20140610-4: adt test failed when configure opkg
Summary: [ADT-INSTALLER] build 20140610-4: adt test failed when configure opkg
Status: RESOLVED WORKSFORME
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Mark Hatle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-06-12 07:16 UTC by Ke Zou
Modified: 2014-12-11 16:26 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
config.log mentioned (95.34 KB, text/x-log)
2014-06-12 07:16 UTC, Ke Zou
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ke Zou 2014-06-12 07:16:47 UTC
Created attachment 1999 [details]
config.log mentioned

adt installer location:
http://autobuilder.yoctoproject.org/pub/nightly/20140610-4/adt-installer-QA/

adt installer failed under all ARCHs

piece of log:

2014-06-12 11:05:42 (7.20 MB/s) - '1.6+snapshot-e0a3495d44ddeee674768f50a1acf0d2164222eb-master.5' saved [1211/1211]

OPKG is not setup, setting up opkg in local, which is required for installing yocto ADT...

Configure opkg ...

configure: error: in `/buildarea/sdk-automation-test/adt-installer/opkg/build/opkg-svn':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details


config.log has been attached.

BTW, adt-installer from 20140603-2 build
http://autobuilder.yoctoproject.org/pub/nightly/20140603-2/adt-installer-QA/
has no such problem.
Comment 1 Ke Zou 2014-06-12 07:56:47 UTC
according to the hint, this can be temporarily solved by change the line in adt_installer:(on my fedora20 i686 host)

./configure --host i686 --prefix=$parent_folder/$LOCAL_OPKG_LOC --with-opkglibdir=$OPKG_LIBDIR --enable-shared=no --disable-curl --disable-ssl-curl --disable-gpg --disable-shave >> $parent_folder/$YOCTOADT_INSTALL_LOG_FILE
Comment 2 Stephen K Jolley 2014-06-12 15:02:57 UTC
Mark, can you or David cover this ADT issue.
Comment 3 Richard Purdie 2014-06-12 15:04:14 UTC
What kind of filesystem was this being executed on? It looks like the filesystem was non-executable?
Comment 4 Ke Zou 2014-06-13 03:02:56 UTC
This was executed on our test server , host type is Fedora20  i686.
Previously the filesystem acted normal in this adt test.

(In reply to comment #3)
> What kind of filesystem was this being executed on? It looks like the
> filesystem was non-executable?
Comment 5 Ke Zou 2014-06-13 07:00:10 UTC
I'm sorry I was misleading.
build 20140603-2 also has this problem in the same way.
Also,in file adt_installer, add " --host $(uname -m) " in configure command can avoid this error.
Comment 6 Ke Zou 2014-06-16 08:09:43 UTC
About this issue, I tried again on both our Fedora20 and Ubuntu14 test server host, but I cannot reproduce this configure error.. Let's hold it for a while while I can
dig to see if this is a host problem
Comment 7 Richard Purdie 2014-12-11 16:26:36 UTC
SInce this isn't reproducing, closing, please reopen if its reoccurs.