Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75899 - [gerbv]: file libgerbv.pc does not contain a version number

Attached to Project: Community Packages
Opened by Stefan Husmann (stefanhusmann) - Tuesday, 13 September 2022, 18:49 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 21:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Install version 2.8.1-2 of gerbv and look into /usr/lib/pkgconfig/libgerbv.pc

Version: 2.8.1~419ee8


Additional info:
* package version(s) 2.8.1-2
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 01 April 2023, 21:26 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Pkg dropped to the AUR
Comment by loqs (loqs) - Tuesday, 13 September 2022, 20:26 GMT
Try the clean chroot build with the attached patch applied. Copied from [1]

[1] https://src.fedoraproject.org/rpms/gerbv/blob/73fae0b9f5e6ebb9bee7ba6d4142ed712c6f733a/f/gerbv.spec#_60
Comment by Toolybird (Toolybird) - Tuesday, 13 September 2022, 21:46 GMT
Dupe  FS#75900 
Comment by Stefan Husmann (stefanhusmann) - Wednesday, 14 September 2022, 19:50 GMT
The patch did not do the trick for me. In a clean-chroot build using "extra-x84_64-build -cr <dir>" the libgerbv.pc file contains no version number.
Comment by Stefan Husmann (stefanhusmann) - Wednesday, 14 September 2022, 20:50 GMT
Hm, the pkgver does not make it into configure.h. Maybe it is easier to let the PKGBUILD pull a specific from git? The package gerbv-git works in a clean chroot.

Comment by loqs (loqs) - Wednesday, 14 September 2022, 21:31 GMT
Strange it is working for me with the patched PKGBUILD using `extra-x84_64-build -c`
configure.ac after the sed adjustment contains AC_INIT([gerbv], [2.8.1]) which is then propagated through the rest of the build as expected.
Comment by Stefan Husmann (stefanhusmann) - Friday, 23 September 2022, 21:14 GMT
Shoudd be fixed in upstreams version 2.9.3-rc1
Comment by loqs (loqs) - Friday, 23 September 2022, 22:01 GMT
@stefanhusmann unfortunately 2.9.3-rc1 does not fix the issue as the fix had a syntax error [1] "\`git' missing" should be "'git' missing". The error causes the script to exit with return code 1 on line 27 without printing ${PREFIX}.

[1] https://github.com/gerbv/gerbv/blob/01efacf32ba1ab983739180b570506a568eedc41/utils/git-version-gen.sh#L27

Loading...