Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657352 - dev-libs/ell-0.5 : [TEST] FAIL: unit/test-uuid
Summary: dev-libs/ell-0.5 : [TEST] FAIL: unit/test-uuid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-06-04 17:41 UTC by Toralf Förster
Modified: 2020-03-25 15:37 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.05 KB, text/plain)
2018-06-04 17:41 UTC, Toralf Förster
Details
dev-libs:ell-0.5:20180604-111137.log (dev-libs:ell-0.5:20180604-111137.log,73.92 KB, text/plain)
2018-06-04 17:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,556.11 KB, text/plain)
2018-06-04 17:41 UTC, Toralf Förster
Details
environment (environment,68.26 KB, text/plain)
2018-06-04 17:41 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.23 KB, application/x-bzip)
2018-06-04 17:41 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,783.50 KB, application/x-bzip)
2018-06-04 17:41 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.51 KB, application/x-bzip)
2018-06-04 17:41 UTC, Toralf Förster
Details
build.log for version 0.9 (build.log,76.87 KB, text/x-log)
2018-10-03 14:16 UTC, Kevin Lyles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-06-04 17:41:08 UTC
/var/tmp/portage/dev-libs/ell-0.5/work/ell-0.5/build-aux/test-driver: line 107:  7773 Aborted                 "$@" > $log_file 2>&1
FAIL: unit/test-uuid
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/ell-0.5/work/ell-0.5    -fvisibility=hidden -DUNITDIR=\""/var/tmp/portage/dev-libs/ell-0.5/work/ell-0.5/unit/"\" -DCERTDIR=\""./unit/"\" -O2 -pipe -march=native -fPIE -c -o unit/test-pbkdf2.o /var/tmp/portage/dev-libs/ell-0.5/work/ell-0.5/unit/test-pbkdf2.c
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -fvisibility=hidden -DUNITDIR=\""/var/tmp/portage/dev-libs/ell-0.5/work/ell-0.5/unit/"\" -DCERTDIR=\""./unit/"\" -O2 -pipe -march=native -fPIE  -Wl,-O1 -Wl,--as-needed -pie -o unit/test-pbkdf2 unit/test-pbkdf2.o ell/libell-private.la 
libtool: link: x86_64-pc-linux-gnu-gcc -fvisibility=hidden -DUNITDIR=\"/var/tmp/portage/dev-libs/ell-0.5/work/ell-0.5/unit/\" -DCERTDIR=\"./unit/\" -O2 -pipe -march=native -fPIE -Wl,-O1 -Wl,--as-needed -pie -o unit/test-pbkdf2 unit/test-pbkdf2.o  ell/.libs/libell-private.a

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_test_20180512-194415

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

java-config:
The following VMs are available for generation-2:


emerge -qpv dev-libs/ell
[ebuild  N    ] dev-libs/ell-0.5  USE="(pie) -glib" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-06-04 17:41:12 UTC
Created attachment 534820 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-04 17:41:15 UTC
Created attachment 534822 [details]
dev-libs:ell-0.5:20180604-111137.log
Comment 3 Toralf Förster gentoo-dev 2018-06-04 17:41:19 UTC
Created attachment 534824 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-06-04 17:41:22 UTC
Created attachment 534826 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-06-04 17:41:25 UTC
Created attachment 534828 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-06-04 17:41:29 UTC
Created attachment 534830 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-06-04 17:41:32 UTC
Created attachment 534832 [details]
temp.tbz2
Comment 8 Kevin Lyles 2018-10-03 14:16:21 UTC
Created attachment 549170 [details]
build.log for version 0.9

I'm also seeing this, on version 0.9. I didn't have any earlier versions installed, so I suspect I would see it on them, too.
Comment 9 Kent Stemen 2019-05-04 12:16:11 UTC
I think the failure is due to some kernel functionality missing.
More precisely, ell needs the following kernel config options:

        CONFIG_TIMERFD=y
        CONFIG_EVENTFD=y

        CONFIG_CRYPTO_USER_API=y
        CONFIG_CRYPTO_USER_API_HASH=y
        CONFIG_CRYPTO_MD5=y
        CONFIG_CRYPTO_SHA1=y

        CONFIG_KEY_DH_OPERATIONS=y

(see README of ell).

The failure of the test-uuid (or more precisely the lack of UUID capability in ell) is due to ell using the md5 capability of the kernel via the user crypto API (see create_alg() in ell/checksum.c called by l_checksum_new() called by the UUID functions).

I'll guess the ebuild should check for those kernel options when getting merged because library users might expect that ell has the capability of generating UUIDs (which it cannot without those kernel options).
Comment 10 Larry the Git Cow gentoo-dev 2020-03-25 15:37:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5908a30fa022635daf42c7d0226965ff6da3045

commit e5908a30fa022635daf42c7d0226965ff6da3045
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-03-25 15:33:26 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-03-25 15:37:40 +0000

    dev-libs/ell: bump to 0.30 & add CONFIG_* checks
    
    Closes: https://bugs.gentoo.org/714716
    Closes: https://bugs.gentoo.org/657352
    Package-Manager: Portage-2.3.95, Repoman-2.3.21
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 dev-libs/ell/Manifest        |  1 +
 dev-libs/ell/ell-0.30.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++++++
 dev-libs/ell/ell-9999.ebuild | 15 ++++++++++-
 3 files changed, 74 insertions(+), 1 deletion(-)