Re: new egg: pkg-config
On Fri, 08 Apr 2022 16:45:06 -0700 Chris Brannon wrote: > Mario Domenech Goulart writes: > >> Tests fail here. Maybe a bug in tests? > > It is an environment difference I overlooked. There are at least two > implementations of pkg-config: the reference one and pkgconf. The > reference implementation appears to implicitly insert -L/usr/lib in > --static --libs output, but pkgconf does not. Locally I use pkgconf, so > I didn't catch this. > > I tagged 0.1.1 with fixed tests. Many thanks. Your egg has been added to the coop. All the best. Mario -- http://parenteses.org/mario
Re: new egg: pkg-config
Mario Domenech Goulart writes: > Hi Chris, > > Thanks! > > Tests fail here. Maybe a bug in tests? Hi Mario, It is an environment difference I overlooked. There are at least two implementations of pkg-config: the reference one and pkgconf. The reference implementation appears to implicitly insert -L/usr/lib in --static --libs output, but pkgconf does not. Locally I use pkgconf, so I didn't catch this. I tagged 0.1.1 with fixed tests. Thanks, -- Chris
Re: new egg: pkg-config
Hi Chris, On Fri, 08 Apr 2022 03:18:14 -0700 Chris Brannon wrote: > I had a need for this. It's kind of trivial; I hope others find it > useful. > > The release-info file is here: > https://the-brannons.com/cgit/cgit.cgi/chicken-pkg-config/plain/pkg-config.release-info Thanks! Tests fail here. Maybe a bug in tests? pkg-config static libs happy path [ FAIL] expected ("-L/usr/local/lib" "-lcurl" "-lnghttp2" "-lssl" "-lcrypto" "-L/usr/lib" "-lgssapi" "-lgssapi_krb5" "-lheimntlm" "-lkrb5" "-lhx509" "-lcom_err" "-lcrypto" "-l asn1" "-lwind" "-lheimbase" "-lroken" "-lcrypt" "-pthread" "-lz" "-lkrb5" "-lgssapi" "-lgssapi_krb5" "-lkrb5" "-lgssapi" "-lgssapi_krb5" "-L/usr/local/lib" "-pthread") but got ("-L/usr/local/lib" "-lcurl" "-lnghttp2" "-lssl" "-lcrypto" "-lgssapi" "-lgssapi_krb5" "-lheimntlm" "-lkrb5" "-lhx509" "-lcom_err" "-lcrypto" "-lasn1" "-lwind" "-lhei mbase" "-lroken" "-lcrypt" "-pthread" "-lz" "-lkrb5" "-lgssapi" "-lgssapi_krb5" "-lkrb5" "-lgssapi" "-lgssapi_krb5" "-pthread") (pkg-config:libs "libcurl" #:static #t) All the best. Mario -- http://parenteses.org/mario
new egg: pkg-config
I had a need for this. It's kind of trivial; I hope others find it useful. The release-info file is here: https://the-brannons.com/cgit/cgit.cgi/chicken-pkg-config/plain/pkg-config.release-info -- Chris