Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1278361
| From | Simon McVittie <smcv@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1125479: libcups2-dev: installs i386 cups.pc to wrong directory |
| Date | 2026-01-14 16:10 +0100 |
| Message-ID | <MdaFr-avKf-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: libcups2-dev
Version: 2.4.7-1
Severity: normal
User: debian-qa@lists.debian.org
Usertags: i386
X-Debbugs-Cc: debian-cross@lists.debian.org
libcups2-dev since trixie installs a (Debian-specific?) cups.pc
pkg-config file, to make it easier to cross-compile against.
On most architectures this works fine. However, on i386, it's installed
in the wrong directory and therefore not found by pkgconf:
is in: /usr/lib/i686-linux-gnu/pkgconfig/
should be: /usr/lib/i386-linux-gnu/pkgconfig/
To reproduce, install libcups2-dev:i386 and pkgconf:i386, then run
`pkgconf --cflags --libs cups`.
(hurd-i386 probably has the same bug, I haven't checked.)
debian/rules uses /usr/lib/${DEB_HOST_GNU_TYPE}, but multiarch paths
should be /usr/lib/${DEB_HOST_MULTIARCH}. Luckily, i386 is the only
commonly-used architecture where this distinction matters.
smcv
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1125479: libcups2-dev: installs i386 cups.pc to wrong directory Simon McVittie <smcv@debian.org> - 2026-01-14 16:10 +0100
csiph-web