Bug#1016422: eatmydata: wrapper script has missed library path change

2022-12-06 Thread Petter Reinholdtsen
[Mattia Rizzolo]
> Please double check what kind of environment you are trying to
> eatmydata, perhaps you are in a multi-arch setting, and missing a copy
> of the library for the appropriate architecture?

Something similar just happened with the linuxcnc github CI builds on
sid, see
https://github.com/LinuxCNC/linuxcnc/actions/runs/3628123051/jobs/6118774342 >
and
https://github.com/LinuxCNC/linuxcnc/actions/runs/3625764843/jobs/6114140535
It is not happening with bullseye and bookworm.

I got no idea what is going wrong here.

-- 
Happy hacking
Petter Reinholdtsen



Bug#1016422: eatmydata: wrapper script has missed library path change

2022-07-31 Thread Mattia Rizzolo
Control: tag -1 moreinfo

On Sun, Jul 31, 2022 at 04:00:24PM +0200, Marcel Partap wrote:
> It still references `/usr/lib/libeatmydata` instead of `/usr/lib/arch` ..
> resulting in:
> 
> ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded
> (cannot open shared object file): ignored.

That's not it.

the wrapper script is using LD_LIBRARY_PATH to be backward-compatible
with places where libeatmydata.so was places in that
/usr/lib/libeatmydata directory.

Now that the .so has been moved to
/usr/lib/x86_64-linux-gnu/libeatmydata.so there is no need anymore to
have LD_LIBRARY_PATH at all, as that directory is part of the standard
search path.

Please double check what kind of environment you are trying to
eatmydata, perhaps you are in a multi-arch setting, and missing a copy
of the library for the appropriate architecture?

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
More about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#1016422: eatmydata: wrapper script has missed library path change

2022-07-31 Thread Marcel Partap
Package: eatmydata
Version: 130-2
Severity: normal
X-Debbugs-Cc: mpar...@gmx.net

It still references `/usr/lib/libeatmydata` instead of `/usr/lib/arch` ..
resulting in:

ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded
(cannot open shared object file): ignored.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (510, 'unstable'), (509, 'experimental'), (500, 
'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages eatmydata depends on:
ii  libeatmydata1  130-2

eatmydata recommends no packages.

eatmydata suggests no packages.

-- no debconf information