FS#16658 - [glib] 1.2.10-8 for x86_64 causes Typelib error for other packages i.e. gobject-introspection.
Attached to Project:
Arch Linux
Opened by Jeff Meldrum (jspaces) - Thursday, 15 October 2009, 01:55 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 15 October 2009, 04:14 GMT
Opened by Jeff Meldrum (jspaces) - Thursday, 15 October 2009, 01:55 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 15 October 2009, 04:14 GMT
|
Details
Description: The glib PKGBUILD for x86_64 has configuration
error that causes errors for other packages that require
Typelib.
* package version(s) 1.2.10-8 * config and/or log files etc. glib-1.2.10-8 PKGBUILD ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ --host=i686-pc-linux-gnu || return 1 * Steps to reproduce: This causes the following error when compiling gobject-introspection-0.6.5-1. failed to load typelib: Typelib file for namespace 'utility', version '1.0' not found make[3]: *** [drawable-1.0.tgir] Error 1 ************************************************************************************* I was able to resolve the error by recompiling the glib package with the following configure options. ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu || return 1 If the only the --host=i686-pc-linux-gnu is changed to --host=x86_64-unknown-linux-gnu, the compile fails with: loading cache ./config.cache within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed make: *** No targets specified and no makefile found. Stop. **************************************************************** By adding as well --target=x86_64-unknown-linux-gnu, the glib package compiles and fixes compiling of the gobject-introspection-0.6.5-1 on x86_64. Please update PKGBUILD to test for x86_64 and use the correct switches on configure and recompile the binary in the repository. if [ "${CARCH}" = "x86_64" ]; then ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu || return 1 else ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu || return 1 fi |
This task depends upon