Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218643 - dev-libs/libxslt-1.1.23 fails multilib-strict check
Summary: dev-libs/libxslt-1.1.23 fails multilib-strict check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2008-1767
  Show dependency tree
 
Reported: 2008-04-20 20:01 UTC by Paul Goldbaum (AMD64 Arch Tester)
Modified: 2008-05-22 22:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,168.16 KB, text/plain)
2008-04-20 20:03 UTC, Paul Goldbaum (AMD64 Arch Tester)
Details
libxslt-1.1.23-python24.patch (libxslt-1.1.23-python24.patch,289 bytes, patch)
2008-05-08 11:57 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff
libxslt-1.1.24.ebuild.diff (libxslt-1.1.24.ebuild.diff,797 bytes, patch)
2008-05-22 21:08 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff
libxslt-1.1.24.ebuild.diff (libxslt-1.1.24.diff,605 bytes, patch)
2008-05-22 21:42 UTC, Markus Meier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Goldbaum (AMD64 Arch Tester) 2008-04-20 20:01:43 UTC
Fails for me with the following message:

Files matching a file type that is not allowed:
   usr/lib/python2.4/site-packages/libxsltmod.so
 * 
 * ERROR: dev-libs/libxslt-1.1.23 failed.
 * Call stack:
 *       misc-functions.sh, line 609:  Called install_qa_check
 *       misc-functions.sh, line 360:  Called die
 * The specific snippet of code:
 *              [[ ${abort} == yes ]] && die "multilib-strict check failed!"
 *  The die message:
 *   multilib-strict check failed!
 * 


Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24.3 x86_64)
=================================================================
System uname: 2.6.24.3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Sun, 20 Apr 2008 19:15:02 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -m3dnow -mmmx -msse -msse2 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -m3dnow -mmmx -msse -msse2 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo "
LINGUAS="es_ES es en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr apache2 bash-completition berkdb cairo cdr cli cracklib crypt css cups dbus dri dv dvd dvdr dvdread eds emboss encode esd evo extrafilters fam fame ffmpeg firefox flac gif glitz gpm gstreamer gtk hal iconv imagemagick ipv6 isdnlog jack jingle jpeg jpeg2k kde kerberos ldap lzo mad midi mikmod mjpeg mmx mmxext mp3 mp3rtp mp4 mpeg mudflap ncurses network nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session speex spell spl sse sse2 sse3 ssl svg tcpd theora threads tiff truetype unicode userlocales utempter v4l v4l2 vcd vorbis vorbis-psy wifi xcomposite xinerama xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Paul Goldbaum (AMD64 Arch Tester) 2008-04-20 20:03:05 UTC
Created attachment 150456 [details]
Build log
Comment 2 Paul Goldbaum (AMD64 Arch Tester) 2008-04-20 20:07:43 UTC
Reassigning bug to amd64, my fault :P
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-20 20:19:03 UTC
hum, I can't reproduce it. Maybe it's another python2.4 vs. python2.5 problem ?
Comment 4 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-04-20 21:01:00 UTC
I can reproduce it with python-2.4. Gilles, are you using 2.5 maybe?

It sure looks like that bug with python.m4
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-20 21:18:47 UTC
yep, I'm using 2.5, it's a ~ package after all :)
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-08 11:57:53 UTC
Created attachment 152467 [details, diff]
libxslt-1.1.23-python24.patch

does this patch help ?
Comment 7 Paul Goldbaum (AMD64 Arch Tester) 2008-05-08 13:34:33 UTC
No it doesn't, same error.
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-22 18:41:31 UTC
wrt to bug #222499, I don't have to stable box so if somebody would be kind enough to try to fix it, I'd be happy to commit the patch.
Comment 9 Markus Meier gentoo-dev 2008-05-22 19:37:31 UTC
problem seems to be in configure.in
229                     PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`

returns the false path
$ python -c "from distutils import sysconfig; print sysconfig.get_python_lib()"
/usr/lib/python2.4/site-packages
Comment 10 Markus Meier gentoo-dev 2008-05-22 19:49:15 UTC
--- libxslt-1.1.22.ebuild	2008-03-26 05:05:34.000000000 +0100
+++ libxslt-1.1.24.ebuild	2008-05-21 08:35:29.000000000 +0200
@@ -1,15 +1,15 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.22.ebuild,v 1.12 2008/03/26 03:41:42 ricmm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.24.ebuild,v 1.7 2008/05/21 06:06:21 corsair Exp $
 
-inherit libtool eutils python
+inherit libtool eutils python autotools
 
 DESCRIPTION="XSLT libraries and tools"
 HOMEPAGE="http://www.xmlsoft.org/"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
 IUSE="crypt debug examples python"
 
 DEPEND=">=dev-libs/libxml2-2.6.27
@@ -24,14 +24,15 @@
 
 	# we still require the 1.1.8 patch for the .m4 file, to add
 	# the CXXFLAGS defines <obz@gentoo.org>
-	epatch "${FILESDIR}"/libxslt.m4-${PN}-1.1.8.patch
+	epatch "${FILESDIR}/libxslt.m4-${PN}-1.1.8.patch"
 
-	# Using the python bindings causes a core; bug #190388
-	epatch "${FILESDIR}"/${PN}-1.1.20-amd64.patch
+	# fix parallel install, bug #212784.
+	epatch "${FILESDIR}/${PN}-1.1.23-parallel-install.patch"
 
 	# Patch Makefile to fix bug #99382 so that html gets installed in ${PF}
-	sed -i -e 's:libxslt-$(VERSION):${PF}:' doc/Makefile.in
+	sed -i -e "s:libxslt-\$(VERSION):${PF}:" doc/Makefile.am
 
+	eautomake
 	epunt_cxx
 	elibtoolize
 }
@@ -47,16 +48,6 @@
 
 	econf ${myconf} || die "configure failed"
 
-	# Patching the Makefiles to respect get_libdir
-	# Fixes BUG #86756, please keep this.
-	# Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
-	for x in $(find "${S}" -name "Makefile") ; do
-		sed \
-			-e "s|^\(PYTHON_SITE_PACKAGES\ =\ \/usr\/\).*\(\/python.*\)|\1$(get_libdir)\2|g" \
-			-i ${x} \
-			|| die "sed failed"
-	done
-
 	emake || die "Compilation failed"
 }

well this has been fixed once, readding the last chunk fixes the problem.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-22 20:31:02 UTC
ah, you're right, I thought the part was useless by now but it seems I was wrong, will get to it asap.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-22 21:08:53 UTC
Created attachment 153987 [details, diff]
libxslt-1.1.24.ebuild.diff

would the attached patch make it work ?
Comment 13 Markus Meier gentoo-dev 2008-05-22 21:42:48 UTC
Created attachment 153993 [details, diff]
libxslt-1.1.24.ebuild.diff

No, but this one does.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-22 22:50:09 UTC
indeed, thanks for catching it. This is now in tree.