FS#46640 - [ncurses] The packaging process fails if /usr/share/pkgconfig is present in the systemd
Attached to Project:
Arch Linux
Opened by Maurizio D'Addona (mauritiusdadd) - Saturday, 10 October 2015, 07:35 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Thursday, 05 May 2016, 13:46 GMT
Opened by Maurizio D'Addona (mauritiusdadd) - Saturday, 10 October 2015, 07:35 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Thursday, 05 May 2016, 13:46 GMT
|
Details
Description:
If the directory /usr/share/pkgconfig (which is provided by several packages like systemd, subversion, etc.) is present in the system makepkg fails to build the package with the following error: ln: failed to create symbolic link '/build/builds/ncurses/pkg/ncurses/usr/lib/pkgconfig/ncurses.pc': No such file or directory The error does not appear building the package in a clean chroot because it seems that none of packages in base-devel owns that directory. The problem can be solved by explicitly setting the the directory in which the pkg-config files must be installed, passing the option --with-pkg-config-libdir=/usr/lib/pkgconfig to the configure script. Additional info: For a detailed explanation see this thread: https://bbs.archlinux.org/viewtopic.php?id=203595 Steps to reproduce: *install a package that owns /usr/share/pkg-config (or create the directory manually) *Try to build the package using makepkg |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Thursday, 05 May 2016, 13:46 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk.
Thursday, 05 May 2016, 13:46 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk.
ln: failed to create symbolic link '/tmp/makepkg/ncurses/pkg/ncurses/usr/lib/pkgconfig/ncurses.pc': No such file or directory
+1 for adding '--with-pkg-config-libdir=/usr/lib/pkgconfig' to PKGBUILD.