[OE-core] [PATCH 1/2] opkg: upgrade to version 0.4.1

Alejandro Del Castillo alejandro.delcastillo at ni.com
Mon Jun 24 19:26:22 UTC 2019



On 6/14/19 5:54 AM, Richard Purdie wrote:
> On Thu, 2019-06-13 at 15:17 -0500, Alejandro del Castillo wrote:
>> - Drop 0001-libopkg-add-add-ignore-recommends-option.patch
>> - Drop 0001-opkg-add-target-for-testsuite-installation.patch
>> - Drop 0001-regress-issue72.py-resolve-paths-before-comparision.patch
>>
>> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo at ni.com>
>> ---
>>   ...pkg-add-add-ignore-recommends-option.patch | 259 ----------------
>> --
>>   ...dd-target-for-testsuite-installation.patch |  43 ---
>>   ....py-resolve-paths-before-comparision.patch |  31 ---
>>   .../opkg/{opkg_0.4.0.bb => opkg_0.4.1.bb}     |   7 +-
>>   4 files changed, 2 insertions(+), 338 deletions(-)
>>   delete mode 100644 meta/recipes-devtools/opkg/opkg/0001-libopkg-add-
>> add-ignore-recommends-option.patch
>>   delete mode 100644 meta/recipes-devtools/opkg/opkg/0001-opkg-add-
>> target-for-testsuite-installation.patch
>>   delete mode 100644 meta/recipes-devtools/opkg/opkg/0001-regress-
>> issue72.py-resolve-paths-before-comparision.patch
>>   rename meta/recipes-devtools/opkg/{opkg_0.4.0.bb => opkg_0.4.1.bb}
>> (87%)
> 
> Unfortunately this doesn't quite build:
> 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__autobuilder.yoctoproject.org_typhoon_-23_builders_65_builds_706&d=DwICaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=wNcrL2akRn6jfxhHaKavUrJB_C9JAMXtynjLd8ZzgXQ&m=lCX8FZ9eXeDsveaRSEtNDnT91n_LtR15IJgqvKYoBcw&s=GX_MWjTZ3Sy7PHBs2rNA0XxLLMOqQ9IXzEmqH6BUhAw&e=
> 
> ERROR: opkg-1_0.4.1-r0 do_package: Fatal errors occurred in subprocesses:
> Command '['arm-poky-linux-gnueabi-objcopy', '--only-keep-debug', '/home/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/opkg/1_0.4.1-r0/package/usr/lib/opkg/ptest/tests/libopkg_test', '/home/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/opkg/1_0.4.1-r0/package/usr/lib/opkg/ptest/tests/.debug/libopkg_test']' returned non-zero exit status 1
> Subprocess output:arm-poky-linux-gnueabi-objcopy:/home/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/opkg/1_0.4.1-r0/package/usr/lib/opkg/ptest/tests/libopkg_test: file format not recognized
> 
> ERROR: opkg-1_0.4.1-r0 do_package:
> ERROR: opkg-1_0.4.1-r0 do_package: Function failed: split_and_strip_files
> 
> This might only be an issue on non-IA machines?

Turns out that the opkg test suite has a handmade Makefile. So when the 
release tarball was created (make dist), it incorrectly created a 
Makefile.in which is generating a bogus binary on the tests folder, 
which is causing the qa error.

For the next opkg release, I want to integrate the ATS into automake, so 
it can place nice with other tools. For now, I am going to add code to 
remove the bogus binaries.

v2 coming shortly

-- 
Cheers,

Alejandro


More information about the Openembedded-core mailing list