Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

FS#22289 - [gobject-introspection] needs to know about python2 to compile properly

Attached to Project: Arch Linux
Opened by Emil Renner Berthing (Esmil) - Monday, 03 January 2011, 14:46 GMT
Last edited by Ionut Biru (wonder) - Monday, 03 January 2011, 15:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Following the python 2 to 3 transition this package needs to be told to use
/usr/bin/python2 in order to compile properly:

diff --git a/PKGBUILD b/PKGBUILD
index cc9f8e3..306f985 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ sha256sums=('9c0060d66d14a060057a1fc005be73675a1b8a00d4968ce8e78ff2d6b9f84e81')

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-static
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static
make
}


Additional info:
I looked at the 0.9.12-1 version of the PKGBUILD.

Steps to reproduce:
Install the new python package and compile gobject-introspection.
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 03 January 2011, 15:47 GMT
Reason for closing:  Fixed

Loading...