FS#35677 - [boost] 1.53.0-2 PKGBUILD error (improper use of srcdir)

Attached to Project: Arch Linux
Opened by Garry Roseman (sitquietly) - Thursday, 06 June 2013, 16:18 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 06 July 2013, 19:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Stéphane Gaudreault (stephane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The PKGBUILD for boost-1.53.0 has an assignment using srcdir outside of
any function in which it is defined, placing the _stagdir in /

Of course boost can not be compiled by a normal user from abs because
he can not write to /

The assignment:

must be moved inside of
build() { ... }
package_boost() { ... }
package_boost-libs() { ... }

Additional info:
* package version(s)
* config and/or log files etc.

Steps to reproduce:
cp -a abs/extra/boost/ .
cd boost && makepkg
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Saturday, 06 July 2013, 19:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  boost 1.54.0-1