https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/lsbcrypt-1.0.0 installs more files with FEATURES=test. Discovered on: amd64 (internal ref: guru_ci) NOTE: To reproduce this issue: 1) Install the package with FEATURES=test 2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist_test ) 3) Install the package without FEATURES=test 4) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist_notest ) 5) See the diff between the two files ( diff -ru /tmp/qlist_test /tmp/qlist_notest ) On this machine: - the installed files with FEATURES=test are 2 - the installed files without FEATURES=test are 1 This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask. In any case I'm providing a diff.
DIFF: --- /dev/fd/63 2023-07-01 23:23:03.178529879 +0200 +++ /dev/fd/62 2023-07-01 23:23:03.178529879 +0200 @@ -1 +1,2 @@ /usr/include/bcrypt.h +/usr/lib/bcrypt.a
I can't reproduce this neither at commit e01c54343b75e3e083758f6897200e72dfeee06a nor at commit a2da0bfeaa5e4a8a79e252efda8d943a80ef5613. I tried it with dev-libs/lsbcrypt-1.0.0 and with dev-libs/lsbcrypt-1.0.0-r1. dev-libs/lsbcrypt-1.0.0 installs this regardless of FEATURES=test: > /usr/include/bcrypt.h > /usr/lib/bcrypt.a dev-libs/lsbcrypt-1.0.0-r1 installs this regardless of FEATURES=test: > /usr/lib64/libbcrypt.a > /usr/share/doc/lsbcrypt-1.0.0-r1/README.bz2 What am I missing here? (Apart from the header file that I forgot to install... I'll commit that right away.)
(In reply to Lucio Sauer from comment #2) > What am I missing here? /usr/lib/bcrypt.a is not installed in case of -native-symlinks here is the log: >>> Compiling source in /var/tmp/portage/dev-libs/lsbcrypt-1.0.0/work/lsbcrypt-1.0.0 ... gcc -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wundef -Wpointer-arith -O2 -fomit-frame-pointer -funroll-loops -c bcrypt.c make: gcc: No such file or directory make: *** [Makefile:15: bcrypt.o] Error 127 >>> Source compiled. >>> Test phase [not enabled]: dev-libs/lsbcrypt-1.0.0 >>> Install dev-libs/lsbcrypt-1.0.0 into /var/tmp/portage/dev-libs/lsbcrypt-1.0.0/image >>> Completed installing dev-libs/lsbcrypt-1.0.0 into /var/tmp/portage/dev-libs/lsbcrypt-1.0.0/image * Final size of build directory: 260 KiB * Final size of installed tree: 0 KiB >>> Installing (1 of 1) dev-libs/lsbcrypt-1.0.0::guru * checking 0 files for package collisions >>> Merging dev-libs/lsbcrypt-1.0.0 to / cp: cannot stat '/var/tmp/portage/dev-libs/lsbcrypt-1.0.0/work/lsbcrypt-1.0.0/bcrypt.a': No such file or directory --- /usr/ --- /usr/lib/ --- /usr/include/ === /usr/include/bcrypt.h >>> Safely unmerging already-installed instance... No package files given... Grabbing a set. <<< obj /usr/lib/bcrypt.a --- replaced dir /usr/lib --- replaced obj /usr/include/bcrypt.h --- replaced dir /usr/include --- replaced dir /usr >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. >>> dev-libs/lsbcrypt-1.0.0 merged. >>> Completed (1 of 1) dev-libs/lsbcrypt-1.0.0::guru * GNU info directory index is up-to-date. ~ $ qlist -e lsbcrypt /usr/include/bcrypt.h
also: - from the gcc line it also seems to not respect cflags/ldflags - the ebuild does not use emake and calls useless true
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1c9f5f0db6da36438f3e748a44ed4beaba1d5dc commit f1c9f5f0db6da36438f3e748a44ed4beaba1d5dc Author: Takuya Wakazono <pastalian46@gmail.com> AuthorDate: 2025-01-26 12:16:21 +0000 Commit: Takuya Wakazono <pastalian46@gmail.com> CommitDate: 2025-01-26 12:16:21 +0000 dev-libs/lsbcrypt: fix build failure - remove broken patch - fix hardcoded ar/gcc Closes: https://bugs.gentoo.org/909547 Closes: https://bugs.gentoo.org/909726 Closes: https://bugs.gentoo.org/910097 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com> dev-libs/lsbcrypt/files/1.0.0-fix-flags-directry.patch | 14 -------------- dev-libs/lsbcrypt/lsbcrypt-1.0.0-r2.ebuild | 18 +++++++++++++++--- 2 files changed, 15 insertions(+), 17 deletions(-)