FS#25113 - [empathy] add PYTHON env variable in the PKGBUILD (because empathy doesn't build with python 3)

Attached to Project: Arch Linux
Opened by Maxime de Roucy (akira86) - Tuesday, 12 July 2011, 11:52 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 12 July 2011, 13:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
empathy 3.0.2-1 PKGBUILD fail to build ... I had to specify :
PYTHON="/usr/bin/python2.7"
before the ./configure to make it build correctly :

PYTHON="/usr/bin/python2.7" ./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/empathy \
--disable-static \
--disable-scrollkeeper \
--disable-schemas-compile
MAKEFLAGS="" make

I also add MAKEFLAGS="" because of :
http://live.gnome.org/Empathy/FAQ#I_cannot_compile_empathy_master.2C_I_get_an_error_in_xml2po

Additional info:
* 3.0.2-1
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 12 July 2011, 13:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  http://mailman.archlinux.org/pipermail/a rch-commits/2011-July/140652.html
Comment by Ionut Biru (wonder) - Tuesday, 12 July 2011, 12:12 GMT
i can argue that PYTHON is not needed because we build our packages in clean chroots and python is not installed in that environment but we started to do it for other packages and i'm fine with it.

but i'm against MAKEFLAGS="". it works for us but if you needed, you should add options=(!makeflags)
Comment by Maxime de Roucy (akira86) - Tuesday, 12 July 2011, 13:13 GMT
ok ... so this bug can be closed I think.

I think PYTHON="/usr/bin/python2.7" should be include in the next PKGBUILD revision even if it's not necessary in a clean chroot.
You decide ;-)

Loading...