Bug#892245: pkg-config: /usr/lib/x86_64-linux-gnu/pkgconfig is not searched on amd64
Control: tags -1 - moreinfo Upon further investigation, it appears I had pkg-config:i386 installed somehow. Please close this bug. On Wed, 7 Mar 2018 at 01:26 Helmut Grohne wrote: > Control: tags -1 + moreinfo unreproducible > > On Wed, Mar 07, 2018 at 12:42:28AM -0500, Alexis Hunt wrote: > > I'm running Debian testing and was trying to use a package reliant on > > libncursesw. The libncursesw5-dev package installs ncursesw.pc into > > /usr/lib/x86_64-linux-gnu/pkgconfig, alongside many other pkg-config > files. Upon > > configuring, however, an error was reported from pkg-config that it > could not > > find ncursesw.pc. Investigation shows that this is because it is no > loading from > > /usr/lib/x86_64-linux-gnu/pkgconfig, which means that any -dev package > which > > installs to that directory won't work correctly with pkg-config unless > the user > > explicitly specifies PKG_CONFIG_PATH (as I did to work around this). > > I cannot reproduce this at all. In a fresh sid debootstrap after > installing libncursesw5-dev and pkg-config, > > pkg-config --exists ncursesw > > gives a successful exit code. I conclude that the behaviour you are > reporting is not reproducible in general and that you need to provide > further information on how to reproduce it. Please remove the moreinfo > tag (by starting your reply with "Control: tags -1 - moreinfo") when > doing so. > > Helmut >
Bug#892245: pkg-config: /usr/lib/x86_64-linux-gnu/pkgconfig is not searched on amd64
Control: tags -1 + moreinfo unreproducible On Wed, Mar 07, 2018 at 12:42:28AM -0500, Alexis Hunt wrote: > I'm running Debian testing and was trying to use a package reliant on > libncursesw. The libncursesw5-dev package installs ncursesw.pc into > /usr/lib/x86_64-linux-gnu/pkgconfig, alongside many other pkg-config files. > Upon > configuring, however, an error was reported from pkg-config that it could not > find ncursesw.pc. Investigation shows that this is because it is no loading > from > /usr/lib/x86_64-linux-gnu/pkgconfig, which means that any -dev package which > installs to that directory won't work correctly with pkg-config unless the > user > explicitly specifies PKG_CONFIG_PATH (as I did to work around this). I cannot reproduce this at all. In a fresh sid debootstrap after installing libncursesw5-dev and pkg-config, pkg-config --exists ncursesw gives a successful exit code. I conclude that the behaviour you are reporting is not reproducible in general and that you need to provide further information on how to reproduce it. Please remove the moreinfo tag (by starting your reply with "Control: tags -1 - moreinfo") when doing so. Helmut
Bug#892245: pkg-config: /usr/lib/x86_64-linux-gnu/pkgconfig is not searched on amd64
Package: pkg-config Version: 0.29-4+b1 Severity: important Dear Maintainer, I'm running Debian testing and was trying to use a package reliant on libncursesw. The libncursesw5-dev package installs ncursesw.pc into /usr/lib/x86_64-linux-gnu/pkgconfig, alongside many other pkg-config files. Upon configuring, however, an error was reported from pkg-config that it could not find ncursesw.pc. Investigation shows that this is because it is no loading from /usr/lib/x86_64-linux-gnu/pkgconfig, which means that any -dev package which installs to that directory won't work correctly with pkg-config unless the user explicitly specifies PKG_CONFIG_PATH (as I did to work around this). I believe that pkg-config should look there by default, or else all -dev packages installing there need to be updated to install somewhere in the default path. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages pkg-config depends on: ii libc6 2.26-6 ii libdpkg-perl 1.19.0.5 ii libglib2.0-0 2.54.3-2 pkg-config recommends no packages. pkg-config suggests no packages. -- no debconf information