FS#30666 - mesa - can't build pkgbase mesa using makepkg due to error in PKGBUILD

Attached to Project: Arch Linux
Opened by David P. Kaylor (dkaylor) - Friday, 13 July 2012, 12:24 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 13 July 2012, 20:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: mesa pkgbase build won't start due to errors in PKGBUILD


Additional info:
* 8.0.4
* makepkg returns: <OMITTED>/pkgbuilds/mesa/PKGBUILD: line 41: cd: <OMITTED>/pkgbuilds/mesa/src/mesa-8.0.3-llvm-3.1-fixes.patch: Not a directory


Steps to reproduce:
Run makepkg on current mesa 8.0.4 PKGBUILD
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 13 July 2012, 20:16 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Friday, 13 July 2012, 12:39 GMT
please paste the entire log, since you run makepkg until the end.
Comment by David P. Kaylor (dkaylor) - Friday, 13 July 2012, 13:04 GMT
That's all I get.
Comment by David P. Kaylor (dkaylor) - Friday, 13 July 2012, 13:22 GMT
For some reason, changing all references to "cd ${srcdir}/?esa-*" in the build functions to "cd ${srcdir}/Mesa-*" or "cd ${srcdir}/Mesa-${pkgver}"seemed to work for me and the makepkg completed.
Comment by David P. Kaylor (dkaylor) - Friday, 13 July 2012, 13:34 GMT
Maintainer may disagree or have a different intent, but ${srcdir}/Mesa-${pkgver} or even better ${srcdir}/?esa-${pkgver} seems like a better option. cd'ing from mesa to src/?esa-* chokes on the presence of both Mesa-8.0.4 and mesa-8.0.3-llvm-3.1-fixes.patch
Comment by Andreas Radke (AndyRTR) - Friday, 13 July 2012, 16:21 GMT
The pkg builds fine a clean chroot and the ? substitution is required when we switch between git and stable releases.

Probably LC_COLLATE is not set to "C" and maybe more of your locale settings break it.
Comment by David P. Kaylor (dkaylor) - Friday, 13 July 2012, 17:13 GMT
Yea, setting the collate order with LC_COLLATE="C" works. But depending on that to be set in /etc/locale.gen is not at all for certain, that change was just made, and many no doubt didn't use the new /etc/locale.gen. My current locales are:

C
POSIX
en_US
en_US.iso88591
en_US.utf8

Not really unusual.

Loading...