| Summary: | Failed to reconfigure a project in Eclipse | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] Eclipse Plugin | Reporter: | Valentin Hangan <valentinx.hangan> | ||||||||||||||||
| Component: | eclipse-plugin | Assignee: | Tim Orling <tim.orling> | ||||||||||||||||
| Status: | RESOLVED INVALID | QA Contact: | |||||||||||||||||
| Severity: | normal | ||||||||||||||||||
| Priority: | Undecided | CC: | alexandru.c.georgescu, ioanax.grigoropol, yp.ep.watcher, yp.watcher | ||||||||||||||||
| Version: | 2.1 | ||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Hardware: | x86 | ||||||||||||||||||
| OS: | Multiple | ||||||||||||||||||
| Whiteboard: | |||||||||||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||||||||||
| Verified: | Documentation change: | Don't know | |||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Valentin Hangan
2016-03-18 09:24:56 UTC
Created attachment 3044 [details]
configure-profile
Created attachment 3045 [details]
environment-variables-for-project-1
Created attachment 3046 [details]
environment-variables-for-project-2
OS: Ubuntu 15.10, Fedora 12 Commit: 8debfea81e69d038bd2d56314b272cb74f5582ed I noticed that some enviroment variables are set using sysroot from Toolchain Root Location instead sysroot obtained by running runqemu-extract-sdk which was set up in Sysroot Location field. This is invalid because the sysroot used (core-image-sato) doesn't have the SDK packages in it which are required to compile a project. Created attachment 3065 [details]
output-console-from-eclipse
I have same error with a sysroot extracted from a core-image-sato-sdk archive Check attachement output-console-from-eclipse Commit: 21823cb466e79540567ad1a43ae6f93d850e4057 (yocto-2.1_M3.rc2) Update steps for release candidate yocto-2.1_M3.rc2 Commit: 21823cb466e79540567ad1a43ae6f93d850e4057 Steps: 1. Download and install toolchain from AB (yocto-2.1_M3.rc2) - download toolchain http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M3.rc2/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-i586-toolchain-2.0+snapshot.sh - run script poky-glibc-x86_64-core-image-sato-i586-toolchain-2.0+snapshot.sh - Enter target directory for SDK: home/valentin/eclipse-run/run-release-yocto-2.1_M3.rc1-2016-03-14/installed/toolchain - Output: "Setting it up ... done SDK has been successufuly set up and is ready to be used." 2. Download core-image-sato-qemux86.tar.gz archive for sysroot (http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M3.rc2/machines/qemu/qemux86/core-image-sato-sdk-qemux86.tar.bz2) - Clone poky - source oe-init-build-env - runqemu-extract-sdk /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/download/core-image-sato-sdk-qemux86.tar.bz2 /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/qemux86 - Output: "Creating directory /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/qemux86 Extracting rootfs tarball using pseudo... /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/download/poky/build/tmp/sysroots/x86_64-linux/usr/bin/pseudo -P /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/download/poky/build/tmp/sysroots/x86_64-linux/usr tar -C "/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/qemux86" --numeric-owner -xjf "/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/download/core-image-sato-sdk-qemux86.tar.bz2" SDK image successfully extracted to /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/qemux86" 3. Download bzImage-qemux86.bin for QEMU Kernel (http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M3.rc2/machines/qemu/qemux86/bzImage-qemux86.bin) 4.Configure in Eclipse a Yocto Project ADT profile with: - Cross Compiler Options: Standalone pre-built - Toolchain Root Location: /home/valentin/eclipse-run/run-release-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain (pointing where i installed toolchain) - Sysroot Location: /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/qemux86 (pointing where i extract sysroot from archive) - Target Options: QEMU - Kernel: /home/valentin/eclipse-run/run-release-yocto-2.1_M3.rc2-2016-03-28/download/bzImage-qemux86.bin 6. Apply settings for Standard Profile 7. Create a Hello Word C Project 8. Reconfigure Project Environment settings variable: get env key SDKTARGETSYSROOT value /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/i586-poky-linux get env key PATH value /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/sbin:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/bin:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/sbin:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/../x86_64-pokysdk-linux/bin:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-musl:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/valentin/.local/bin:/home/valentin/bin get env key CCACHE_PATH value /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/../x86_64-pokysdk-linux/bin:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc:/home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-musl:$CCACHE_PATH get env key PKG_CONFIG_SYSROOT_DIR value $SDKTARGETSYSROOT get env key PKG_CONFIG_PATH value $SDKTARGETSYSROOT/usr/lib/pkgconfig get env key CONFIG_SITE value /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/site-config-i586-poky-linux get env key OECORE_NATIVE_SYSROOT value /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux get env key OECORE_TARGET_SYSROOT value $SDKTARGETSYSROOT get env key OECORE_ACLOCAL_OPTS value -I /home/valentin/eclipse-run/run-releases-yocto-2.1_M3.rc2-2016-03-28/installed/toolchain/sysroots/x86_64-pokysdk-linux/usr/share/aclocal get env key CC value i586-poky-linux-gcc -m32 -march=i586 --sysroot=$SDKTARGETSYSROOT get env key CXX value i586-poky-linux-g++ -m32 -march=i586 --sysroot=$SDKTARGETSYSROOT get env key CPP value i586-poky-linux-gcc -E -m32 -march=i586 --sysroot=$SDKTARGETSYSROOT get env key AS value i586-poky-linux-as get env key LD value i586-poky-linux-ld --sysroot=$SDKTARGETSYSROOT get env key GDB value i586-poky-linux-gdb get env key STRIP value i586-poky-linux-strip get env key RANLIB value i586-poky-linux-ranlib get env key OBJCOPY value i586-poky-linux-objcopy get env key OBJDUMP value i586-poky-linux-objdump get env key AR value i586-poky-linux-ar get env key NM value i586-poky-linux-nm get env key M4 value m4 get env key TARGET_PREFIX value i586-poky-linux- get env key CONFIGURE_FLAGS value --target=i586-poky-linux --host=i586-poky-linux --build=x86_64-linux --with-libtool-sysroot=$SDKTARGETSYSROOT get env key CFLAGS value -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/meta-environment-qemux86/1.0-r8=/usr/src/debug/meta-environment-qemux86/1.0-r8 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86/build/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86/build/build/tmp/sysroots/x86_64-nativesdk-pokysdk-linux= get env key CXXFLAGS value -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/meta-environment-qemux86/1.0-r8=/usr/src/debug/meta-environment-qemux86/1.0-r8 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86/build/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86/build/build/tmp/sysroots/x86_64-nativesdk-pokysdk-linux= get env key LDFLAGS value -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed get env key CPPFLAGS value get env key KCFLAGS value --sysroot=$SDKTARGETSYSROOT get env key OECORE_DISTRO_VERSION value 2.0+snapshot-20160329 get env key OECORE_SDK_VERSION value 2.0+snapshot get env key ARCH value x86 Check attachement for enviroment variables Created attachment 3068 [details]
environment-variables-M3.rc2-1
Created attachment 3069 [details]
environment-variables-M3.rc2-2
This bug is invalid. |