pkgconf barfs on .pc files accepted by pkg-config #76

Closed
opened 2015-06-02 21:26:29 +00:00 by drvink · 1 comment
drvink commented 2015-06-02 21:26:29 +00:00 (Migrated from github.com)

Given the following .pc file:

prefix=/mingw64
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

# Uses Requires.private and Libs.private, under the assumption that
# when using shared libraries, the ELF dependencies from libhogweed.so
# to nettle and gmp work.

Name: Hogweed
Description: Nettle low-level cryptographic library (public-key algorithms)
URL: http://www.lysator.liu.se/~nisse/nettle
Version: 3.1
Requires: # nettle
Requires.private:  nettle
Libs: -L${libdir} -lhogweed # -lgmp
Libs.private:  -lgmp
Cflags: -I${includedir}

pkg-config --cflags hogweed produces -I/mingw64/include, but pkgconf --cflags hogweed produces:

Package # was not found in the pkg-config search path.
Perhaps you should add the directory containing `#.pc'
to the PKG_CONFIG_PATH environment variable
Package '#', required by 'C:/msys64/mingw64/lib/pkgconfig/hogweed', not found

I'm using pkgconf 0.9.7.

Given the following .pc file: ``` prefix=/mingw64 exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include # Uses Requires.private and Libs.private, under the assumption that # when using shared libraries, the ELF dependencies from libhogweed.so # to nettle and gmp work. Name: Hogweed Description: Nettle low-level cryptographic library (public-key algorithms) URL: http://www.lysator.liu.se/~nisse/nettle Version: 3.1 Requires: # nettle Requires.private: nettle Libs: -L${libdir} -lhogweed # -lgmp Libs.private: -lgmp Cflags: -I${includedir} ``` `pkg-config --cflags hogweed` produces `-I/mingw64/include`, but `pkgconf --cflags hogweed` produces: ``` Package # was not found in the pkg-config search path. Perhaps you should add the directory containing `#.pc' to the PKG_CONFIG_PATH environment variable Package '#', required by 'C:/msys64/mingw64/lib/pkgconfig/hogweed', not found ``` I'm using pkgconf 0.9.7.
drvink commented 2015-06-02 21:52:01 +00:00 (Migrated from github.com)

Looks like this has since been fixed--sorry for the noise!

Looks like this has since been fixed--sorry for the noise!
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#76
There is no content yet.