~kaniini/pkgconf#15: 
pkgconf --validate always complains about malformed version whitespace

To reproduce:

$ cat foo.pc
prefix=/usr
includedir=${prefix}/include
libdir=${prefix}/lib

Name: foo
Description: Foo library
Version: 1.0.0
Cflags: -I${includedir}
Libs: -L${libdir} -lfo
$ pkgconf --modversion foo.pc
1.0.0
$ pkgconf --validate foo.pc
foo.pc:7: warning: malformed version field with whitespace, trimming to [1.0.0]

Even if we remove the whitespace between the Version: and the version, it still complains, because it's finding the trailing newline.

Status
RESOLVED FIXED
Submitter
~bhipple
Assigned to
No-one
Submitted
4 years ago
Updated
4 years ago
Labels
No labels applied.

~bhipple 4 years ago

~kaniini REPORTED FIXED 4 years ago

Register here or Log in to comment, or comment via email.