On Tue, 5 Jan 2021 15:40:42 +0300 Michael Tokarev <m...@tls.msk.ru> wrote: > 05.01.2021 13:44, Gianfranco Costamagna wrote: > > Source: libcacard > > Version: 1:2.8.0-1 > > Severity: serious > > > > Hello, libglib2.0-dev looks missing on -dev package? > > > > pkg-config --short-errors --print-errors --cflags --libs "libcacard >= > > 2.5.1" > > Package 'glib-2.0', required by 'libcacard', not found > > I guess no one tried libcacard without qemu :) >
Well, it is used to build src:spice... the package testsuite in Debian might be buggy, while the Ubuntu version works https://autopkgtest.ubuntu.com/packages/s/spice/hirsute/amd64 since the last version of libcacard it stopped working, not sure if such dependencies were used by something else so dragged in as indirect dependencies or something else, but you can see that the package now FTBFS because of "smartcard support not available" due to that pkgconfig call failing checking for SMARTCARD... no configure: error: smarcard support explicitly requested, but some required packages are not available tail -v -n \+0 config.log ==> config.log <== Maybe the reason for not discovering this before, is that "spice" was buggy, but I still think that this seems to be a real bug on this package, that might be solved with "drop of glib2.0 and the other dependency" or "add the two dependencies to the -dev package" I don't have any reason for one particular fix, if the package works without them, and you want to drop them, even better! Gianfranco > This bug is present in all versions of libcacard since the very beginning. > > But I really question whenever this pkgconfig error is actually an error. > The thing is that libglib.so is _not_ required for linking with libcacard.so, > so pkgconfig complaining isn't right. Hmm... > > /mjt > >