Arch Linux

Please read this before reporting a bug:

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!

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



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