Regression in pkgconf 0.9.9 in comments #75

Closed
opened 2015-04-23 19:35:12 +00:00 by ant1 · 1 comment
ant1 commented 2015-04-23 19:35:12 +00:00 (Migrated from github.com)

Hi,

There seems to be a regression in pkgconf 0.9.9 in the handling of comments

# cat /usr/local/libdata/pkgconfig/libcdio.pc 
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libcdio
Description: Portable CD-ROM I/O library
Version: 0.92
#Requires: glib-2.0 
Libs: -L${libdir} -lcdio  -lm -lcam  
Cflags: -I${includedir}

With pkgconf 0.9.8:

# pkgconf --libs libcdio
-L/usr/local/lib -lcdio -lm -lcam   

With pkgconf 0.9.9:

# pkgconf --libs libcdio
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glib-2.0', required by 'libcdio', not found
Hi, There seems to be a regression in pkgconf 0.9.9 in the handling of comments ``` # cat /usr/local/libdata/pkgconfig/libcdio.pc prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libcdio Description: Portable CD-ROM I/O library Version: 0.92 #Requires: glib-2.0 Libs: -L${libdir} -lcdio -lm -lcam Cflags: -I${includedir} ``` With pkgconf 0.9.8: ``` # pkgconf --libs libcdio -L/usr/local/lib -lcdio -lm -lcam ``` With pkgconf 0.9.9: ``` # pkgconf --libs libcdio Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'glib-2.0', required by 'libcdio', not found ```

this is fixed by 0.9.10.

this is fixed by 0.9.10.
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#75
There is no content yet.