Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1020249
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package |
| Date | 2020-08-03 09:30 +0200 |
| Message-ID | <AzD50-8sN-29@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <mIxOq-13c-13@gated-at.bofh.it> <Azubp-2KT-9@gated-at.bofh.it> <AzuuJ-36F-1@gated-at.bofh.it> <mIxOq-13c-13@gated-at.bofh.it> <AzuuJ-36F-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Mike,
On Mon, Aug 03, 2020 at 07:12:20AM +0900, Mike Hommey wrote:
> Upstream's nss-config uses pkg-config for 3 things:
> - getting exec_prefix. It's always /usr, independently of the pkg-config
> you use
> - getting includedir. It's always /usr/include/nss, independently of the
> pkg-config you use
Agreed.
> - getting libdir. This varies dependending on the pkg-config you use,
> but so does the content of the current nss-config, and as was said
> up-thread, nothing uses that.
Subtly wrong. The --libdir flag is not used by anything in Debian.
However the upstream nss-config --libs also emits:
-Wl,-rpath-link,$libdir -L$libdir
So we are injecting a wrong library directory in some practical
situations. The rpath is a difference to the current nss-config. I
suspect that it alone would break stuff.
> So really, using upstream's nss-config wouldn't break things more than
> they currently are, while it would fix the immediate multi-arch problem.
> All the while not breaking any reverse-dependency.
It would break. Even natively. However with a one-line patch removing
the unnecessary -L flag and the rpath, I think we can reach agreement
here. Thank you for your persistence.
Do you want to implement this your self or would you prefer a patch?
Helmut
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Helmut Grohne <helmut@subdivi.de> - 2020-08-02 10:30 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Mike Hommey <mh@glandium.org> - 2020-08-02 22:50 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Helmut Grohne <helmut@subdivi.de> - 2020-08-03 00:00 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Mike Hommey <mh@glandium.org> - 2020-08-03 00:20 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Helmut Grohne <helmut@subdivi.de> - 2020-08-03 09:30 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Mike Hommey <mh@glandium.org> - 2020-08-03 22:40 +0200
csiph-web