Bug 10958 - LIBXML2 error package requirements libxml-2.0 >= 2.6.26 on eSDK
Summary: LIBXML2 error package requirements libxml-2.0 >= 2.6.26 on eSDK
Status: RESOLVED FIXED
Alias: None
Product: eSDK
Classification: Yocto Project Subprojects
Component: eSDK (show other bugs)
Version: 2.3
Hardware: x86 x86_64
: Medium+ normal
Target Milestone: 2.3 M3
Assignee: Francisco Pedraza
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 10794
  Show dependency tree
 
Reported: 2017-01-23 21:48 UTC by Francisco Pedraza
Modified: 2017-12-06 17:25 UTC (History)
2 users (show)

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


Attachments
log.do_testsdkext.12810-libxml dependency (80.48 KB, application/octet-stream)
2017-01-23 21:48 UTC, Francisco Pedraza
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Pedraza 2017-01-23 21:48:54 UTC
Created attachment 3600 [details]
log.do_testsdkext.12810-libxml dependency

test_extend_autotools_recipe_creation failing at: "~/oeqa/sdkext/devtool.py"

After making a change at "~/oeqa/sdk/buildcvs.py" and "~/oeqa/sdk/buildiptables.py" 
 

Adding lines on each one in "setUpClass":

machine = oeSDKTest.tc.d.getVar("MACHINE")
if not oeSDKTest.hasHostPackage("packagegroup-cross-canadian=" + machine):
            skipModule("SDK doesn't contain a cross-canadian toolchain")

In order to fix "Update sanity tests to cope with minimal eSDK installer [1]"

[1] - https://bugzilla.yoctoproject.org/show_bug.cgi?id=10794

test_extend_autotools_recipe_creation failing at: "~/oeqa/sdkext/devtool.py"

Getting a regression, for LIBXML2 error package requirements:

"configure: error: Package requirements (libxml-2.0 >= 2.6.26) were not met:
| No package \'libxml-2.0\' found
| 
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
| 
| Alternatively, you may set the environment variables LIBXML2_CFLAGS
| and LIBXML2_LIBS to avoid the need to call pkg-config."
Attached you can find log.

Steps to reproduce:

1. Edit the files 
"~/oeqa/sdk/buildcvs.py" and "~/oeqa/sdk/buildiptables.py"
Adding the following validation lines at SetUpClass
machine = oeSDKTest.tc.d.getVar("MACHINE")
if not oeSDKTest.hasHostPackage("packagegroup-cross-canadian=" + machine):
            skipModule("SDK doesn't contain a cross-canadian toolchain")


2. $ . oe-init-build-env
3. $ echo 'SDK_EXT_TYPE = "minimal"' >> conf/local.conf
4. $ bitbake core-image-minimal core-image-sato -c populate_sdk_ext
5. $ echo 'INHERIT += "testsdk"' >> conf/local.conf
6. $ DISPLAY=:1 bitbake core-image-minimal core-image-sato -c testsdkext

This bug blocks https://bugzilla.yoctoproject.org/show_bug.cgi?id=10794
Comment 1 Francisco Pedraza 2017-01-25 17:10:50 UTC
Waiting for patch approval.
http://lists.openembedded.org/pipermail/openembedded-core/2017-January/131773.html
This patch will fix this situation.