FS#37043 - perl-config-simple uses ${srcdir} before it is set
Attached to Project:
Arch Linux
Opened by Paul Burton (paulburton) - Tuesday, 24 September 2013, 20:05 GMT
Last edited by Florian Pritz (bluewind) - Wednesday, 25 September 2013, 20:16 GMT
Opened by Paul Burton (paulburton) - Tuesday, 24 September 2013, 20:05 GMT
Last edited by Florian Pritz (bluewind) - Wednesday, 25 September 2013, 20:16 GMT
|
Details
Description:
perl-config-simple (4.59-5) sets a _builddir variable using ${srcdir}, but does so outside of a build function. Thus it is evaluated before makepkg sets srcdir, and when the package later attempts to cd to $_distdir it tries to change to an incorrect directory directly under root. Unless the behaviour of makepkg changed recently, I've no idea how this ever built. Steps to reproduce: Try to build perl-config-simple. |
This task depends upon
Closed by Florian Pritz (bluewind)
Wednesday, 25 September 2013, 20:16 GMT
Reason for closing: Fixed
Additional comments about closing: perl-config-simple 4.59-6
Wednesday, 25 September 2013, 20:16 GMT
Reason for closing: Fixed
Additional comments about closing: perl-config-simple 4.59-6