FS#46133 - dhcpcd PKGBUILD installs files to /lib

Attached to Project: Arch Linux
Opened by Que Quotion (quequotion) - Friday, 28 August 2015, 16:00 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 03 September 2015, 03:54 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The pkgbuild does not sufficently prevent dhcpcd from installing files to /lib and causes a conflict with the filesystem package.

Adding "--prefix=/usr" to the configure parameters resolves this.

Additional info:
* package version(s)
dhcpcd=6.9.2-1
* config and/or log files etc.
Details available in this thread: https://bbs.archlinux.org/viewtopic.php?pid=1556704

Steps to reproduce:
Attempt to build dhcpcd from the ABS package.

Note: the patch has an additional section to add "mkdir $pkgdir/etc" because this caused an additional failure in package().
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Thursday, 03 September 2015, 03:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in SVN repo
Comment by Anatol Pomozov (anatolik) - Friday, 28 August 2015, 17:14 GMT
The --prefix=/usr is valid. If there is udev dependency then it installs optional udev module. --prefix=/usr is needed for right location.

"mkdir $pkgdir/etc" is not needed, --sysconfdir=/etc should be used instead.
Comment by Anatol Pomozov (anatolik) - Friday, 28 August 2015, 17:30 GMT
Both issues are fixed in SVN trunk now.

I was looking at install script and found that our clean build does not install 50-ntp and 50-yp hooks into our package because this installation is triggered by optional dependencies. Would these hooks be useful for Arch users? Should I just put these hook files into dhcpcd package?

Loading...