[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#979159: nss: pkg build fails on m68k due to insufficient LD_LIBRARY_PATH

Source: nss
Severity: important
Tags: ftbfs patch
X-Debbugs-Cc: gs-debian.org@gluelogic.com, debian-m68k@lists.debian.org

Dear Maintainer,

On m68k on the Debian build farm, nss fails to build.

Patch to fix issue is provided at:

I tested the patch on m68k.

@glaubitz has tested the patch and doesn't see any regressions on
amd64/powerpc/ppc64/s390x  (see comments in salsa.d.o merge request)

The build error on m68k is "loading softokn3 failed" for the command
  umask 022; LD_LIBRARY_PATH=debian/libnss3/usr/lib/m68k-linux-gnu debian/libnss3-tools/usr/bin/shlibsign -v -i debian/libnss3/usr/lib/m68k-linux-gnu/nss/libsoftokn3.so
since shlibsign itself depends on libsoftokn3.so and the LD_LIBRARY_PATH
does not include the path to libsoftokn3.so.  (Don't be misled because
the argument to shlibsign is libsoftokn3.so)

If libsoftokn3.so is not already installed in the standard system
library paths, shlibsign fails to run and the build fails.

Cheers, Glenn

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: m68k

Kernel: Linux 5.9.0-4-m68k (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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

Reply to: