Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667436 - sys-apps/keyutils-1.5.9-r4 test failure: Can't Determine Endianness
Summary: sys-apps/keyutils-1.5.9-r4 test failure: Can't Determine Endianness
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
Depends on: 693240
  Show dependency tree
Reported: 2018-10-01 07:11 UTC by Alexey
Modified: 2019-11-02 17:33 UTC (History)
2 users (show)

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

build.log (build.log,7.43 KB, text/x-log)
2018-10-01 07:11 UTC, Alexey
emerge --info (file_667436.txt,19.18 KB, text/plain)
2018-10-01 07:12 UTC, Alexey

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2018-10-01 07:11:41 UTC
Created attachment 548568 [details]

Can't Determine Endianness
Comment 1 Alexey 2018-10-01 07:12:18 UTC
Created attachment 548570 [details]
emerge --info
Comment 2 Matt Turner gentoo-dev 2018-12-30 16:29:24 UTC
I can reproduce on hppa.
Comment 3 Matt Turner gentoo-dev 2018-12-30 16:32:40 UTC
I'm guessing these are fixed upstream by

commit ce92e974b8ecff19cf430b7b58a09b8190645b5c
Author: David Howells <>
Date:   Fri Feb 26 10:07:00 2016 +0000

    TEST: Fix endianness determination
    Endianness determination was broken sometime after Fedora 20 when
    executables switched to being DYN objects rather than EXEC objects.  This
    caused the output of file to change.
    Signed-off-by: David Howells <>

commit f0d9a8c15f1525d0404077f32fddccb606a61bac
Author: Tyler Hicks <>
Date:   Mon Feb 24 18:52:41 2014 -0600

    TEST: Make endianness detection work with file 5.14
    The 5.14 release of file outputs an extra space after [LM]SB:
    $ ./src/file -m magic/magic.mgc -L /proc/$$/exe
    /proc/12755/exe: ELF 64-bit LSB  executable, ...
    This was due to the elf magic file containing some trailing spaces in
    the 5.14 release.
    Signed-off-by: Tyler Hicks <>
    Signed-off-by: David Howells <>

They are in the 1.5.10 release. Can we cherry-pick these patches to 1.5.9-rX or alternatively stabilize 1.5.11?
Comment 4 Matt Turner gentoo-dev 2019-11-02 17:33:48 UTC
v1.6.1 is stable.