Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656446 - sys-apps/keyutils-1.5.10 : [TEST] grep: /.../rpm: No such file or directory
Summary: sys-apps/keyutils-1.5.10 : [TEST] grep: /.../rpm: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-05-24 17:15 UTC by Toralf Förster
Modified: 2018-08-31 14:55 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.44 KB, text/plain)
2018-05-24 17:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,170.68 KB, text/plain)
2018-05-24 17:16 UTC, Toralf Förster
Details
environment (environment,119.31 KB, text/plain)
2018-05-24 17:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.77 KB, application/x-bzip)
2018-05-24 17:16 UTC, Toralf Förster
Details
sys-apps:keyutils-1.5.10:20180524-144653.log (sys-apps:keyutils-1.5.10:20180524-144653.log,5.66 KB, text/plain)
2018-05-24 17:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.81 KB, application/x-bzip)
2018-05-24 17:16 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,19.91 KB, application/x-bzip)
2018-05-24 17:16 UTC, Toralf Förster
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-05-24 17:15:57 UTC
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make -j1 
grep: /etc/rpm: No such file or directory
x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -g -Wall  -o keyctl.o -c keyctl.c
x86_64-pc-linux-gnu-gcc -I. -DPKGBUILD="\"2018-05-24\"" -DPKGVERSION="\"keyutils-1.5.10\"" -DAPIVERSION="\"libkeyutils-1.6\"" -O2 -pipe -march=native -g -Wall  -fPIC -o keyutils.os -c keyutils.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -g -Wall  -fPIC -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libkeyutils.so.1 -Wl,--version-script,version.lds -o libkeyutils.so.1.6 keyutils.os 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_test_20180520-112305

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

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

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

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


emerge -qpv sys-apps/keyutils
[ebuild  N    ] sys-apps/keyutils-1.5.10  USE="{test} -static -static-libs" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-05-24 17:16:00 UTC
Created attachment 533020 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-24 17:16:03 UTC
Created attachment 533022 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-24 17:16:06 UTC
Created attachment 533024 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-24 17:16:09 UTC
Created attachment 533026 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-24 17:16:12 UTC
Created attachment 533028 [details]
sys-apps:keyutils-1.5.10:20180524-144653.log
Comment 6 Toralf Förster gentoo-dev 2018-05-24 17:16:15 UTC
Created attachment 533030 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-24 17:16:18 UTC
Created attachment 533032 [details]
tests.tbz2
Comment 8 Xavier Miller (RETIRED) gentoo-dev 2018-08-31 06:38:31 UTC
same problem with keyutils-1.5.11:

>>> Compiling source in /var/tmp/portage/sys-apps/keyutils-1.5.11/work/keyutils-1.5.11 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make -j7 -l5
grep: /etc/rpm: No such file or directory
grep: /usr/lib/rpm: No such file or directory
x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -fomit-frame-pointer -march=native -mtune=native -g -Wall  -o keyctl.o -c keyctl.c
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2018-08-31 14:00:43 UTC
(In reply to Xavier Miller from comment #8)
> same problem with keyutils-1.5.11:
> 
> >>> Compiling source in /var/tmp/portage/sys-apps/keyutils-1.5.11/work/keyutils-1.5.11 ...
>  * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
> make -j7 -l5
> grep: /etc/rpm: No such file or directory
> grep: /usr/lib/rpm: No such file or directory
> x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -fomit-frame-pointer -march=native
> -mtune=native -g -Wall  -o keyctl.o -c keyctl.c

The rpm thing is totally harmless:

> dist    := $(word 2,$(shell grep -r "^%dist" /etc/rpm /usr/lib/rpm))

...but we will patch it.
Comment 10 Larry the Git Cow gentoo-dev 2018-08-31 14:55:05 UTC
The bug has been closed via the following commit(s):

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

commit 6f3e61be9b817232b5147586cbf9dbc3b28d1885
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-08-31 14:17:11 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-08-31 14:54:40 +0000

    sys-apps/keyutils: silence check for /etc/rpm & /usr/lib/rpm
    
    Closes: https://bugs.gentoo.org/656446
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 .../files/keyutils-1.5.10-silence-rpm-check.patch    | 20 ++++++++++++++++++++
 sys-apps/keyutils/keyutils-1.5.10.ebuild             |  1 +
 sys-apps/keyutils/keyutils-1.5.11.ebuild             |  1 +
 3 files changed, 22 insertions(+)