| Summary: | [2.7 M2 RC1] nettle ptest failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Sudhir Sharma <sharmasudhir> | ||||
| Component: | core | Assignee: | Armin Kuster <akuster> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, richard.purdie, ross.burton, rpawan.1205 | ||||
| Version: | 2.7 | ||||||
| Target Milestone: | 2.7.1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | with backport | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
Note that the log doesn't have anything useful in beyond "failed". *** Bug 13193 has been marked as a duplicate of this bug. *** on h/w PASS: nettle-pbkdf2-test PASS: pbkdf2-test so what MACHINE I am seeing this thou: PASS: des3-test dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: No such file or directory ./run-ptest: line 8: 2273 Aborted "./$f" FAIL: dlopen-test and PASS: sha512-test nm: '../libnettle.a': No such file nm: '../libnettle.a': No such file PASS: symbols-test I can not reproduce this. Please provide with more info so I can. > dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: > No such file or directory > FAIL: dlopen-test The test is trying to open the unversioned name which will exist during a build, but not if just nettle and nettle-ptest is installed. The test needs to be patched to use the versioned form. Arguably, this is upstreamable too. > nm: '../libnettle.a': No such file > nm: '../libnettle.a': No such file Poky disables static libraries, so that won't work. (In reply to comment #6) > > dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: > > No such file or directory > > FAIL: dlopen-test > > The test is trying to open the unversioned name which will exist during a > build, but not if just nettle and nettle-ptest is installed. The test needs > to be patched to use the versioned form. Arguably, this is upstreamable too. the un-versioned lib is in nettle-dev which is just a symlink to the versioned ones. > > > nm: '../libnettle.a': No such file > > nm: '../libnettle.a': No such file > > Poky disables static libraries, so that won't work. those are in nettle-static this is why I would like to how the test was run( image, MACHINE). I did find this patch which is related to the test https://git.lysator.liu.se/nettle/nettle/commit/350d87626235a20ec299ea851ef0b81218f1a5ec I think this may be fixed by: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=861e0ad2a3d5e0ea4530d6375e2c0897c8bb2102 should be in warrior. please verify was reverted http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=warrior&id=41136dd0cfd7653b9b1da47f865573d7e3d8f9ed nettle is passing in current master. will need to backport to warrior etc this appears to be fixed now. https://git.openembedded.org/openembedded-core/commit/?h=warrior&id=cccf000f07eb8b60874c66c60a47c46d546e5ca0 |
Created attachment 4426 [details] Full log for 2.7 m2 rc1 On running the ptest on 2.7 M2 rc1, it is seen that nettle test is getting failed: ----------------------------------------------------------------------------Package Name: nettle ----------------------------------------------------------------------------PASS: nettle-pbkdf2-test +FAIL: nettle-pbkdf2-test ----------------------------------------------------------------------------Total number of test cases passing in Previous release but failing in Current release: 1 ---------------------------------------------------------------------------- The full log for the ptest is attached for reference.