On 2025-08-30 16:46 +0200, Bernd Zeimetz wrote:
Package: libsquish-dev
Version: 1.15-3+b2
Severity: serious

Building against libsquish-dev is more or less impossible as the
pkg-config file is broken:

✗ cat /usr/lib/x86_64-linux-gnu/pkgconfig/libsquish.pc                          
                                                    git:(master|✚2…1
prefix=
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
sharedlibdir=${libdir}
includedir=${prefix}/include

Oh dear. That's not good. libsquish.pc.in  has
prefix=@PREFIX@
in it which is clearly intended to get set during the build, but clearly it isn't.
This is almost certainly my fault for this unnecessarily complicated
implementaiton and not noticing that it wasn't actually working.

Please fix the pkg-config file, using prefix=/usr will fix the issue.

I could just fill in plain text '/usr', but the idea is that you can change the 
PREFIX for the build and built it so it still works in another location.
I think that's how pkgconfig files should be done?
And I'm fairly sure I copied this from some other library package, but clearly 
the @PREFIX@ var isn't getting set in this case.

Thanks for the report (it's taken a while for anyone to notice).

I'll give it a prod.

Wookey
--
Principal hats:  Debian, Wookware
http://wookware.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to