Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 435994

Summary: app-emulation/virtualbox-4.1.22: build fails with dev-libs/libxslt-1.1.27: xsl:attribute: The attribute name 'xmlns' is not allowed
Product: Gentoo Linux Reporter: Denis M. (Phr33d0m) <god>
Component: New packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED DUPLICATE    
Severity: normal CC: balint, patrick, swapon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
app-emulation:virtualbox-4.1.22:20121001-125731.log

Description Denis M. (Phr33d0m) 2012-09-23 14:26:53 UTC
Hi, here's the breakage point:

  lrelease VirtualBox - {C}/src/VBox/Frontends/VirtualBox/nls/qt_sk.ts
  lrelease VirtualBox - {C}/src/VBox/Frontends/VirtualBox/nls/qt_sr.ts
  lrelease VirtualBox - {C}/src/VBox/Frontends/VirtualBox/nls/qt_sv.ts
  lrelease VirtualBox - {C}/src/VBox/Frontends/VirtualBox/nls/qt_tr.ts
  lrelease VirtualBox - {C}/src/VBox/Frontends/VirtualBox/nls/qt_uk.ts
  lrelease VirtualBox - {C}/src/VBox/Frontends/VirtualBox/nls/qt_zh_CN.ts
  lrelease VirtualBox - {C}/src/VBox/Frontends/VirtualBox/nls/qt_zh_TW.ts
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
  LD      bin2c
  LD      biossums
  LD      filesplitter
  LD      split-soapC
  CXX     RuntimeBldProg - {C}/src/VBox/Runtime/common/err/errmsg.cpp
  CXX     RuntimeBldProg - {C}/src/VBox/Runtime/common/err/errmsgxpcom.cpp
  LD      uniread
  LD      vbetables-gen
  LD      xpidl
  LD      xpt_link
  GEN     {C}/out/linux.amd64/release/bin/sdk/bindings/webservice/vboxweb.wsdl
  GEN     {T}/webservice/typemap.dat
compilation error: file /var/tmp/portage/app-emulation/virtualbox-4.1.22/work/VirtualBox-4.1.22/src/VBox/Main/webservice/websrv-wsdl.xsl line 962 element attribute
xsl:attribute: The attribute name 'xmlns' is not allowed.
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.1.22/work/VirtualBox-4.1.22/out/linux.amd64/release/bin/sdk/bindings/webservice/vboxweb.wsdl] Error 5
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2


Reproducible: Always
Comment 1 Denis M. (Phr33d0m) 2012-09-23 14:27:35 UTC
Created attachment 324708 [details]
build.log

virtualbox full build log
Comment 2 Balint SZENTE 2012-09-28 16:23:08 UTC
I have the same problem. The solution is to mask >=dev-libs/libxslt-1.1.27

Upstream bug report:
<https://www.virtualbox.org/ticket/10940>

This is the same problem as in bug 436246
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-10-01 09:24:02 UTC
+  01 Oct 2012; Lars Wendler <polynomial-c@gentoo.org>
+  -files/virtualbox-ose-3.2.8-mesa-check.patch,
+  -files/virtualbox-4.0.2-restore_old_machines_dir.patch,
+  -files/virtualbox-4.1.2-vboxpci-build.patch,
+  -files/virtualbox-4.1.4-asneeded.patch,
+  -files/virtualbox-4.1.6-yasm120-fix.patch,
+  -files/virtualbox-4.1.8-nopie.patch,
+  -files/virtualbox-4.1.10-libgsoapssl.patch,
+  -files/virtualbox-4.1.20-nopie.patch, virtualbox-4.1.22.ebuild,
+  virtualbox-4.2.0-r1.ebuild, -files/virtualbox-4.2.0-nopie.patch,
+  -files/virtualbox-4-asneeded.patch, -files/virtualbox-4-makeself-check.patch,
+  -files/virtualbox-4-mkisofs-check.patch:
+  Moved all patches into separate tar archives. Added a patch to fix
+  compilation with =dev-libs/libxslt-1.1.27 (bug #435994 and bug #436246).
+  Thanks to Jouni Kosonen for providing a patch.
+
Can you please sync and try again?
Comment 4 Balint SZENTE 2012-10-01 13:03:40 UTC
Created attachment 325460 [details]
app-emulation:virtualbox-4.1.22:20121001-125731.log

For me it does not build at all now. libxslt version does not matter, I tried with both 1.1.26 and 1.1.27

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.35"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""

Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Mon, 01 Oct 2012 12:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo/ http://ftp.roedu.net/mirrors/gentoo.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx gdbm gpm iconv mmx modules mudflap multilib ncurses nls nptl offensive openmp pam pcre pppd readline session slang smp sse sse2 ssl syslog tcpd threads unicode usb zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-4" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Balint SZENTE 2012-10-01 16:58:51 UTC
I investigated further, and the previous virtualbox-4.1.22.ebuild (revision 1.4) compiles correctly, but revision 1.5 fails.

Can somebody confirm this bug?
Comment 6 Balint SZENTE 2012-10-01 17:24:19 UTC
Ok, I found it: "006_virtualbox-4.2.0-libxslt-xmlns.patch" is the culprit. This patch breaks the compilation (at least for virtualbox-4.1.22).

If I exclude this patch, virtualbox-4.1.22.ebuild (Revision 1.5) compiles well with libxslt-1.1.16.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2012-11-04 18:38:34 UTC

*** This bug has been marked as a duplicate of bug 436246 ***