FS#34100 - [lib32-ncurses] Missing dependency for lib32-gpm
Attached to Project:
Community Packages
Opened by Chris Woodruff (cswoodruff) - Saturday, 02 March 2013, 02:54 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 05 March 2013, 09:22 GMT
Opened by Chris Woodruff (cswoodruff) - Saturday, 02 March 2013, 02:54 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 05 March 2013, 09:22 GMT
|
Details
Description: PKGBUILD is missing dependency for lib32-gpm.
It will fail when it can't find the 32-bit libgpm. I
compiled this with ABS by adding the --without-gpm option to
the configure.
Here is an edited build portion of the PKGBUILD: build() { export CC="gcc -m32" export CXX="g++ -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" cd ${srcdir}/ mkdir ncurses{,w}-build cd ${srcdir}/ncursesw-build ../${_pkgbasename}-${pkgver}/configure --prefix=/usr --mandir=/usr/share/man \ --with-shared --with-normal --without-debug --without-ada \ --with-install-prefix=${pkgdir} --enable-widec --libdir=/usr/lib32 \ --without-gpm make # libncurses.so.5 for external binary support cd ${srcdir}/ncurses-build # [ $CARCH = "x86_64" ] && CONFIGFLAG="--with-chtype=long" ../${_pkgbasename}-${pkgver}/configure --prefix=/usr \ --with-shared --with-normal --without-debug --without-ada \ --with-install-prefix=${pkgdir} $CONFIGFLAG --libdir=/usr/lib32 \ --without-gpm make } Additional info: * package version(s) lib32-ncurses 5.9 * config and/or log files etc. Steps to reproduce: Copy lib32-ncurses from ABS. Run makepkg. |
This task depends upon
checking if you want to link with the GPM mouse library... maybe
checking for gpm.h... no
and continues to build.
If you aren't using clean chroots for building you will get different results for a lot of packages just because you have things installed that aren't in $depends. Yes, in that case it will fail if you have gpm installed because configure can find gpm.h, but I don't consider this a bug worth fixing.
Please use multilib-build/extra-x86_64-build from devtools to build packages.