Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1020223
| From | Mike Hommey <mh@glandium.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package |
| Date | 2020-08-03 00:20 +0200 |
| Message-ID | <AzuuJ-36F-1@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <Azt5D-295-5@gated-at.bofh.it> <mIxOq-13c-13@gated-at.bofh.it> <Azubp-2KT-9@gated-at.bofh.it> <mIxOq-13c-13@gated-at.bofh.it> <Azubp-2KT-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Aug 02, 2020 at 11:50:11PM +0200, Helmut Grohne wrote: > Hi Mike, > > On Mon, Aug 03, 2020 at 05:39:23AM +0900, Mike Hommey wrote: > > I'd rather replace nss-config with upstream's. > > Please don't. That makes nss-config subtly buggy. The upstream > nss-config simply calls into pkg-config. In particular, it uses the > unqualified pkg-config. So the behaviour of nss-config becomes dependent > on the architecture you install pkg-config. In practice that means that > means when you install libnss3-dev for a foreign architecture, it will > be broken. And that amounts to breaking cross builds. > > Really, using upstream's is the worst of choices here. Even removing > nss-config entirely would be better as that'd force dependent packages > (of which there are about 12) to properly use pkg-config instead. 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 - 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. 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. Mike
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