[Debian-ha-maintainers] Bug#921153: drbd-utils: ignored configure error "PKG_PROG_PKG_CONFIG: command not found"

Helmut Grohne helmut at subdivi.de
Sat Feb 2 11:28:22 GMT 2019


Source: drbd-utils
Version: 9.5.0-1
Severity: wishlist

While looking at the drbd-utils package, I found that configure would
yield an error about PKG_PROG_PKG_CONFIG (and continue anyway):

https://buildd.debian.org/status/fetch.php?pkg=drbd-utils&arch=arm64&ver=9.5.0-1&stamp=1531767023&raw=0
| checking for getentropy... yes
| ./configure: line 2924: PKG_PROG_PKG_CONFIG: command not found
| configure: Could not detect systemd unit directory
| Using systemd unit directory: 

I'm not sure about the impact, but I can tell you what is going on here.
The configure.ac contains PKG_PROG_PKG_CONFIG and since drbd-utils does
not Build-Depends on pkg-config, this macro is not substituted by
autoconf. It leaks into the resulting shell script and produces the
error above. You can get rid of this problem by adding pkg-config to
Build-Depends.

I leave the question of whether that has a desirable effect on the build
result to you. But this is not how it is supposed to work.

Helmut



More information about the Debian-ha-maintainers mailing list