Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Sean Nyekjaer <sean@geanix.com>
Cc: openembedded-core@lists.openembedded.org, denis@denix.org,
	raj.khem@gmail.com
Subject: Re: [OE-core] [PATCH v2 1/2] zlib: split SRC_URI into inc file
Date: Sat, 23 Jul 2022 13:28:26 +0100	[thread overview]
Message-ID: <c4286ef790a6cb53bff42c8505051b6d4de4ac27.camel@linuxfoundation.org> (raw)
In-Reply-To: <YtvpFxiRz1bAFTR7@mail.local>

On Sat, 2022-07-23 at 14:27 +0200, Alexandre Belloni wrote:
> Hello,
> 
> This doesn't pass the selftests:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3865/steps/14/logs/stdio
> 
> 2022-07-23 10:00:43,013 - oe-selftest - INFO - pkgdata.OePkgdataUtilTests.test_find_path (subunit.RemotedTestCase)
> 2022-07-23 10:00:43,026 - oe-selftest - INFO -  ... FAIL
> Stderr:
> 2022-07-23 08:46:34,614 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-2078751/conf/local.conf
> 2022-07-23 08:46:34,615 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
> 2022-07-23 10:00:17,568 - oe-selftest - INFO - Running bitbake to generate pkgdata
> 2022-07-23 10:00:43,026 - oe-selftest - INFO - 3: 49/59 163/494 (3.69s) (pkgdata.OePkgdataUtilTests.test_find_path)
> 2022-07-23 10:00:43,026 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/pkgdata.py", line 50, in test_find_path
>     result = runCmd('oe-pkgdata-util find-path /lib/libz.so.1')
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py", line 207, in runCmd
>     raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
> AssertionError: Command 'oe-pkgdata-util find-path /lib/libz.so.1' returned non-zero exit status 1:
> ERROR: Unable to find any package producing path /lib/libz.so.1
> Stderr:
> 2022-07-23 08:46:34,614 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-2078751/conf/local.conf
> 2022-07-23 08:46:34,615 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
> 2022-07-23 10:00:17,568 - oe-selftest - INFO - Running bitbake to generate pkgdata
> 2022-07-23 10:00:47,408 - oe-selftest - INFO - pkgdata.OePkgdataUtilTests.test_glob (subunit.RemotedTestCase)
> 2022-07-23 10:00:47,408 - oe-selftest - INFO -  ... ok
> 2022-07-23 10:00:47,408 - oe-selftest - INFO - 3: 50/59 164/494 (4.39s) (pkgdata.OePkgdataUtilTests.test_glob)
> 2022-07-23 10:00:53,202 - oe-selftest - INFO - pkgdata.OePkgdataUtilTests.test_list_pkg_files (subunit.RemotedTestCase)
> 2022-07-23 10:00:53,202 - oe-selftest - INFO -  ... FAIL
> Stderr:
> 2022-07-23 08:46:34,614 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-2078751/conf/local.conf
> 2022-07-23 08:46:34,615 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
> 2022-07-23 10:00:17,568 - oe-selftest - INFO - Running bitbake to generate pkgdata
> 2022-07-23 10:00:53,202 - oe-selftest - INFO - 3: 51/59 165/494 (5.79s) (pkgdata.OePkgdataUtilTests.test_list_pkg_files)
> 2022-07-23 10:00:53,202 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/pkgdata.py", line 147, in test_list_pkg_files
>     self.assertTrue(found, 'Could not find zlib library file %s in libz1 package file list: %s' % (libspec, files['libz1']))
>   File "/usr/lib64/python3.9/unittest/case.py", line 688, in assertTrue
>     raise self.failureException(msg)
> AssertionError: False is not true : Could not find zlib library file /lib/libz.so.1.* in libz1 package file list: ['/usr/lib/libz.so.1', '/usr/lib/libz.so.1.2.12']

FWIW I agree with Ross, we should be able to handle minizip in the
existing recipe so this patch needs to be reworked anyway.

Cheers,

Richard


      reply	other threads:[~2022-07-23 12:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 11:55 [OE-core] [PATCH v2 1/2] zlib: split SRC_URI into inc file Sean Nyekjaer
2022-07-15 11:55 ` [OE-core] [PATCH v2 2/2] zlib: minizip: add recipe Sean Nyekjaer
2022-07-18 16:12 ` [OE-core] [PATCH v2 1/2] zlib: split SRC_URI into inc file Ross Burton
2022-08-08 10:20   ` Sean Nyekjaer
2022-08-25  7:33     ` Sean Nyekjaer
2022-07-23 12:27 ` Alexandre Belloni
2022-07-23 12:28   ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4286ef790a6cb53bff42c8505051b6d4de4ac27.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=denis@denix.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=sean@geanix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox