Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778980 - sys-auth/thinkfinger-0.3-r3 - rdlibtool: error: output file prefix does not match its (shared library) suffix; the expected prefix
Summary: sys-auth/thinkfinger-0.3-r3 - rdlibtool: error: output file prefix does not m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-28 17:28 UTC by Toralf Förster
Modified: 2021-05-04 15:15 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.43 KB, text/plain)
2021-03-28 17:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,369.66 KB, text/plain)
2021-03-28 17:28 UTC, Toralf Förster
Details
environment (environment,96.75 KB, text/plain)
2021-03-28 17:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,46.43 KB, application/x-bzip)
2021-03-28 17:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.29 KB, application/x-bzip)
2021-03-28 17:28 UTC, Toralf Förster
Details
sys-auth:thinkfinger-0.3-r3:20210328-172507.log (sys-auth:thinkfinger-0.3-r3:20210328-172507.log,39.78 KB, text/plain)
2021-03-28 17:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.73 KB, application/x-bzip)
2021-03-28 17:28 UTC, Toralf Förster
Details
Patch to fix autoreconf. (0001-Build-Fix-autoreconf.patch,1.28 KB, patch)
2021-03-28 18:22 UTC, orbea
Details | Diff
Patch to fix autoreconf. (0001-build-Fix-autoreconf.patch,584 bytes, patch)
2021-03-28 18:23 UTC, orbea
Details | Diff
Patch to fix the build with slibtool. (0002-build-Fix-creating-the-libpam_thinkfinger-library.patch,1.56 KB, patch)
2021-03-28 18:25 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-28 17:28:24 UTC
rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4.
rdlibtool: lconf: found "/var/tmp/portage/sys-auth/thinkfinger-0.3-r3/work/thinkfinger-0.3/libtool".
rdlibtool: error: output file prefix does not match its (shared library) suffix; the expected prefix was 'lib'
make[2]: *** [Makefile:270: pam_thinkfinger.so] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-auth/thinkfinger-0.3-r3/work/thinkfinger-0.3/pam'
make[1]: *** [Makefile:270: all-recursive] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210320-151517

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.50.0
  [2]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Mar 28 17:05:44 UTC 2021

emerge -qpvO sys-auth/thinkfinger
[ebuild  N    ] sys-auth/thinkfinger-0.3-r3  USE="pam -debug"
Comment 1 Toralf Förster gentoo-dev 2021-03-28 17:28:25 UTC
Created attachment 695616 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-28 17:28:27 UTC
Created attachment 695619 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-28 17:28:28 UTC
Created attachment 695622 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-28 17:28:30 UTC
Created attachment 695625 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-28 17:28:31 UTC
Created attachment 695628 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-28 17:28:32 UTC
Created attachment 695631 [details]
sys-auth:thinkfinger-0.3-r3:20210328-172507.log
Comment 7 Toralf Förster gentoo-dev 2021-03-28 17:28:33 UTC
Created attachment 695634 [details]
temp.tar.bz2
Comment 8 orbea 2021-03-28 18:22:39 UTC
Created attachment 695667 [details, diff]
Patch to fix autoreconf.
Comment 9 orbea 2021-03-28 18:23:32 UTC
Created attachment 695670 [details, diff]
Patch to fix autoreconf.

Correct patch.
Comment 10 orbea 2021-03-28 18:25:10 UTC
Created attachment 695673 [details, diff]
Patch to fix the build with slibtool.

Upstream seems inactive, but this patch fixes the build regardless. This makefile was very confused as how to create the libpam_thinkfinger library, its amazing GNU libtool even allowed this...
Comment 11 Larry the Git Cow gentoo-dev 2021-05-04 15:15:24 UTC
The bug has been closed via the following commit(s):

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

commit df90aa3c22aa152128bdef92acd77ceea8f5d071
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-04 14:46:26 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-04 15:07:56 +0000

    sys-auth/thinkfinger: Fix for slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Closes: https://bugs.gentoo.org/778980
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-auth/thinkfinger/files/0.3-autoreconf.patch | 25 +++++++++++++++++
 sys-auth/thinkfinger/files/0.3-slibtool.patch   | 37 +++++++++++++++++++++++++
 sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild  |  9 +++++-
 3 files changed, 70 insertions(+), 1 deletion(-)