On 7/28/2026 2:33 PM, Sumanth Gavini via lists.openembedded.org wrote:
> On 7/28/2026 10:18 AM, Mathieu Dubois-Briand via lists.openembedded.org
> wrote:
>> CAUTION: This email comes from a non Wind River email account!
>> Do not click links or open attachments unless you recognize the sender and 
>> know the content is safe.
>>
>> On Tue Jul 28, 2026 at 12:55 AM CEST, Sumanth Gavini wrote:
>>> * v10:
>>>     - The ARCHIVE_FILTER_RPM macro was commented out in a previous
>>>       libarchive change, causing do_compile_ptest_base to fail with:
>>>       error: 'ARCHIVE_FILTER_RPM' undeclared
>>>       Restore the macro definition. The ptest now compiles and passes
>>>       successfully.
>>>
>>> * V9:
>>>     - Updated SRCREV to the 6.0.2 tag.
>>>     - Incorporated all V8 changes and updated them as needed for 6.0.2.
>>>     - Dropped
>>>       0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch
>>>       from V8, as it is no longer needed. After filtering out the
>>>       /usr/bin/pkg-config file dependency, "bitbake core-image-sato -c
>>>       populate_sdk" completes successfully without the patch.
>>>     - Fixed the filtering of the /usr/bin/pkg-config file dependency.
>>>       pkg-config is a build-time tool, not a runtime dependency. Filtered
>>>       the /usr/bin/pkg-config dependency automatically detected by
>>>       pkgconfig.attr for packages containing .pc files, preventing
>>>       unnecessary hard runtime dependencies in -dev packages.
>>>     - Removed v8 libarchive-related changes since the latest version
>>>      (3.8.8) already includes the required updates.
>>>     - Fixed the "oe-selftest -r 
>>> debuginfod.Debuginfod.test_debuginfod_native"
>>>       failure observed after upgrading to 6.0.2.
>>>     - Verified that previously reported Autobuilder issues are no longer 
>>> observed.
>>>       The following builds/tests were successfully completed:
>>>        "bitbake core-image-minimal"
>>>        "bitbake core-image-full-cmdline"
>>>        "bitbake core-image-sato"
>>>        "bitbake core-image-sato world"
>>>        "bitbake core-image-full-cmdline:do_testimage"
>>>        "bitbake core-image-minimal:do_rootfs"
>>>        "bitbake core-image-sato -c populate_sdk"
>>>
>>> * V8:
>>>     - Fix build with systemd (Check patch 7 for detailes)
>>>     - Make rpmbuild can find the pkgconfig (.pc) files in 
>>> /usr/share/pkgconfig
>>>       (Check patch 7 for detailes)
>>>     - Backport a PULL from git/libarchive to fix oe-selftest failures.
>>>
>>> * V7:
>>>     - Add 0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch:
>>>       To fix "bitbake core-image-sato -cpopulate_sdk" error on Ubuntu 24.04 
>>> when
>>>       pkg-config is installed on host, now the host contamination has been 
>>> fixed,
>>>       and the patch has been submitted to upstream:
>>>       https://github.com/rpm-software-management/rpm/pull/4127
>>>
>>> * V6
>>>     - Fix -cpopulate_sdk error when DISTRO = "poky"
>>>
>>> * V5
>>>     - Fix RP's comments: Don't hardcode libc6 into package_rpm.bbclass
>>>     - Use SKIP_LDCONFIG_POSTINST_FRAGMENT:${PN} to fix the loop dependencies
>>>       between /bin/sh and libc.so.
>>>
>>> * V4
>>>     - Fix loop dependencies issues for libc6 and busybox
>>>     - Fix issues for can't find pkg-config files (.pc) on qemux86-64.
>>>
>>> * V3
>>>     - Fix Alexender's comments
>>>       a) Suppot rpm 6
>>>       b) Move rpm-setup-autosign to rpm-build
>>>       c) Remove -DLIBELF_FOUND=False
>>>
>>>     - Fix build for nativesdk-rpm
>>>
>>>     - Drop patch for createrepo-c since it has been upgraded (rev:
>>>       804a238c8a4e86c2bcfb2192d54cb861d5fd32a6)
>>>
>>> * V1 & V2
>>>     - Initial version
>>>
>>>
>>> --
>>> # Sumanth Gavini
>>> # Wind River Linux
>>>
>>
>> Hi Sumanth,
>>
>> Thanks for taking care of this series.
>>
>> So we do have a few fails here:
>>
>> ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Could not invoke dnf. Command 
>> ...
>> ...
>> Last metadata expiration check: 0:03:07 ago on Tue 28 Jul 2026 11:03:02 AM 
>> UTC.
>> --> Starting dependency resolution
>> --> Finished dependency resolution
>> Error:
>>    Problem 1: conflicting requests
>>     - nothing provides pkgconfig(ogg) needed by flac-dev-1.5.0-r0.core2_64 
>> from oe-repo
>>    Problem 2: conflicting requests
>>     - nothing provides pkgconfig(libxml-2.0) needed by 
>> libcomps-dev-0.1.24-r0.core2_64 from oe-repo
>>    Problem 3: conflicting requests
>>     - nothing provides pkgconfig(ncurses) needed by 
>> libreadline-dev-8.3-r0.core2_64 from oe-repo
>>    Problem 4: package libsndfile-dev-1.2.2-r0.core2_64 from oe-repo requires 
>> flac-dev, but none of the providers can be installed
>>     - conflicting requests
>>     - nothing provides pkgconfig(ogg) needed by flac-dev-1.5.0-r0.core2_64 
>> from oe-repo
>> (try to add '--skip-broken' to skip uninstallable packages)
>>
>> It does happen with a few different packages.
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4248
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/4228
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/30/builds/4210
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/40/builds/4211
>>
>> Also, we do have selftest failures:
>>
>> 2026-07-28 10:37:28,088 - oe-selftest - INFO - 
>> runtime_test.Postinst.test_failing_postinst (subunit.RemotedTestCase)
>> 2026-07-28 10:37:28,093 - oe-selftest - INFO -  ... FAIL
>> ...
>> 2026-07-28 10:37:28,094 - oe-selftest - INFO - 5: 27/36 299/763 (127.74s) (0 
>> failed) (runtime_test.Postinst.test_failing_postinst)
>> 2026-07-28 10:37:28,094 - oe-selftest - INFO - 
>> testtools.testresult.real._StringException: Traceback (most recent call 
>> last):
>>     File 
>> "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/runtime_test.py",
>>  line 409, in test_failing_postinst
>>       self.assertGreaterEqual(bb_result.output.find("Postinstall scriptlets 
>> of ['postinst-rootfs-failing'] have failed."), 0,
>>       
>> ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>           "Warning about a failed scriptlet not found in bitbake output: %s" 
>> %(bb_result.output))
>>           
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>     File 
>> "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/unittest/case.py",
>>  line 1297, in assertGreaterEqual
>>       self.fail(self._formatMessage(msg, standardMsg))
>>       ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>     File 
>> "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/unittest/case.py",
>>  line 732, in fail
>>       raise self.failureException(msg)
>> AssertionError: -1 not greater than or equal to 0 : Warning about a failed 
>> scriptlet not found in bitbake output: NOTE: Reconnecting to bitbake 
>> server...
>> ...
>> ERROR: core-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. Command 
>> '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroot-native/usr/bin/dnf
>>  -v --rpmverbosity=info -y -c 
>> /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/rootfs/etc/dnf/dnf.conf
>>  
>> --setopt=reposdir=/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/rootfs/etc/yum.repos.d
>>  
>> --installroot=/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/rootfs
>>  
>> --setopt=logdir=/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/temp
>>  
>> --repofrompath=oe-repo,/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/oe-rootfs-repo
>>  --nogpgcheck install packagegroup-core-boot postinst-rootfs-failing 
>> run-postinsts ssh-pregen-hostkeys' returned 1:
>> ...
>> Error in POSTIN scriptlet in rpm package postinst-rootfs-failing
>>     Installing       : update-rc.d-0.8+git0+b8f9501050-r0.noarch            
>> 37/40
>>     Installing       : ldconfig-2.44+git0+7cba77790f-r0.x86_64_v3           
>> 38/40
>>     Installing       : ssh-pregen-hostkeys-1.0-r0.x86_64_v3                 
>> 39/40
>>     Installing       : openssl-conf-3.5.7-r0.x86_64_v3                      
>> 40/40Error: Could not run transaction.
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4394
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4213
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4458
>>
>> Can you have a look at the issues?
>>
>> Thanks,
>> Mathieu
>>
>> --
>> Mathieu Dubois-Briand, Bootlin
>> Embedded Linux and Kernel engineering
>> https://bootlin.com
>>
>>
>>
>>
>>
> Hi Mathieu,
> 
> Sure, I'll address it and send a v11 patch.
> 
> 
> 
> 
> 
Hi Mathieu,

I tested the v10 patch on the top of master branch and couldn't 
reproduce the autobuilder-reported failures on my local machine. Could 
you please check again and confirm if the issue is still present?

These are the bitbake recipes I tested

4248:
-bitbake core-image-sato core-image-sato-sdk core-image-minimal 
core-image-full-cmdline core-image-sato:do_populate_sdk -k  //pass
-bitbake core-image-sato-sdk:do_rootfs //pass

4228:
-bitbake core-image-sato core-image-sato-sdk core-image-minimal 
core-image-full-cmdline core-image-sato:do_populate_sdk -k //pass
-bitbake core-image-sato:do_populate_sdk //pass

4210:
-core-image-minimal-dev:do_rootfs  //pass
-bitbake core-image-sato core-image-sato-sdk core-image-minimal 
core-image-minimal-dev core-image-full-cmdline 
core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext 
core-image-sato:do_populate_sdk_ext -k //pass

4211:
-bitbake core-image-sato:do_populate_sdk //pass
-bitbake core-image-sato core-image-sato:do_populate_sdk 
core-image-minimal:do_populate_sdk_ext -k // pass

4394/4213/4458:
-bitbake core-image-minimal:do_rootfs //pass

All of the above completed successfully on my local setup.

Thanks,
-- 
# Sumanth Gavini
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242223): 
https://lists.openembedded.org/g/openembedded-core/message/242223
Mute This Topic: https://lists.openembedded.org/mt/120476095/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to