#624501 The fakeroot.in script uses an incorrect substitution for libfakeroot

Package:
fakeroot
Source:
fakeroot
Description:
tool for simulating superuser privileges
Submitter:
Date:
2025-01-24 00:24:01 UTC
Severity:
normal
#624501#5
Date:
2011-04-29 04:19:29 UTC
From:
To:
In the fakeroot.in script, you have:

   LIB=lib@fakeroot_transformed@@DLSUFFIX@

This is not correct, because if you configure fakeroot with a configure
option like --program-prefix='xxxxx', then this will be converted into

   LIB=libxxxxxfakeroot.so

which is not right, and is not what the makefile installs (so running
fakeroot fails).  I think that the correct line in fakeroot.in is simply:

   LIB=libfakeroot@DLSUFFIX@

#624501#10
Date:
2011-05-07 01:27:51 UTC
From:
To:
This is an unfortunate situation.  Because libtool doesn't respect the
transformation, the .so files are renamed in debian/rules, and this is
why the @fakeroot_transformed@ substitution is done.

The only better solution I can think of is to do as you say in the
upstream source and then carry a Debian-specific patch forever in
the package.

I'll think about this.