Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366215 - app-emulation/virtualbox-4.1.22 USE=java - Encountered error in wsdl. Check namespace of element <message>
Summary: app-emulation/virtualbox-4.1.22 USE=java - Encountered error in wsdl. Check n...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 10:43 UTC by Mike Limansky
Modified: 2014-08-08 02:46 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Limansky 2011-05-06 10:43:36 UTC
This was tested with virtualbox-4.0.6. emerge -pv virtualbox:

[ebuild   R   ] app-emulation/virtualbox-4.0.6  USE="additions headless opengl qt4 vboxwebsrv vnc -alsa -doc -extensions -java -pulseaudio -python -sdk" 0 kB

During the installation I found following issues:
1. lpng wasn't found. Looks like this because DEPEND has libpng, but it should be >=libpng-1.4, because ~libpng-1.2 doesn't provide development files (headers, pc, so). Since libpng-1.2 was installed by other package the build was failed.
2. Looks like there should be dependency on java SDK, because wsimport is used. I suppose it required to build vboxwebsrv.

Reproducible: Always
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-12-12 14:27:20 UTC
virtualbox-4.0.6 is no longer even in the tree
Comment 2 Neil Stone 2013-01-01 08:49:07 UTC
compile of virtualbox-4.1.22 fails also.


kmk_builtin_rm -f  
filesplitter: Created 165 files.
  GEN     {T}/vboxjws-gen/jwsgen/jwsglue.list
/opt/oracle-jre-bin-1.7.0.9/bin/wsimport -Xnocompile -p org.virtualbox_4_1.jaxws -d /var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/java /var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22/out/linux.amd64/release/bin/sdk/bindings/webservice/vboxwebService.wsdl
kmk: /opt/oracle-jre-bin-1.7.0.9/bin/wsimport: Command not found
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/jwsglue.list] Error 127
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
 * ERROR: app-emulation/virtualbox-4.1.22-r1 failed (compile phase):
 *   emake failed

wsimport is not part of jre but is in jdk, perhaps this has caused some confusion ?

Neil-Laptop ~ # emerge --info
Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.6.11-gentoo x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-AMD_Athlon-tm-_II_P360_Dual-Core_Processor-with-gentoo-2.1
Timestamp of tree: Sun, 30 Dec 2012 13:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
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/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
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-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo voip printer-drivers kde activehome
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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/lib/layman/voip /var/lib/layman/printer-drivers /var/lib/layman/kde /var/lib/layman/activehome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl alsa amd64 apng avahi bash-completion bazaar berkdb bluetooth bzip2 cdda cddb cli conntrack consolekit cpudetection cracklib crypt cups cvs cxx darcs dbus declarative dri dvd emovix encode fax ffmpeg flac fortran gadu gdbm geoip gimp git gnutls google-gadgets gpg gpm gps groupwise gtk gudev hddtemp hpijs http httpd hwdb iconv idn ipv6 java jingle jpeg jpeg2k jpg kde latex ldap libkms lm_sensors lua lzo mad mdnsresponder-compat meanwhile melt mercurial minizip mmx mng modules mp3 mpeg msn mudflap multilib musepack ncat ncurses ndiff nls nmap-update nping nptl nsplugin ogg opengl openmp openssl oscar otr pam pcre pdfimport png policykit pppd qq qt3support qt4 rdesktop readline samba sane scanner script sdl semantic-desktop sensord session skype sms sndfile snmp socks5 sox spell sql sse sse2 ssl subversion svg taglib tcpd tftp threads tiff truetype ttf udev unicode upnp usb v4l vboxwebsrv vcd video vnc vorbis webkit webpresence wifi winpopup xa yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authn_core authz_core socache_shmcb unixd 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="en_GB" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Neil Stone 2013-01-01 09:09:07 UTC
After poking a little i realized i had not set the java_vm correctly with eselect, did that (to the jdk) and i now get different fail:


kmk_builtin_rm -f  
filesplitter: Created 165 files.
  GEN     {T}/vboxjws-gen/jwsgen/jwsglue.list
/opt/oracle-jdk-bin-1.7.0.10/bin/wsimport -Xnocompile -p org.virtualbox_4_1.jaxws -d /var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/java /var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22/out/linux.amd64/release/bin/sdk/bindings/webservice/vboxwebService.wsdl
parsing WSDL...


Exception in thread "main" com.sun.tools.internal.ws.util.WSDLParseException: Encountered error in wsdl. Check namespace of element <message>
        at com.sun.tools.internal.ws.util.xml.XmlUtil.matchesTagNS(XmlUtil.java:58)
        at com.sun.tools.internal.ws.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLParser.java:299)
        at com.sun.tools.internal.ws.wsdl.parser.WSDLParser.processImports(WSDLParser.java:244)
        at com.sun.tools.internal.ws.wsdl.parser.WSDLParser.parseDefinitions(WSDLParser.java:219)
        at com.sun.tools.internal.ws.wsdl.parser.WSDLParser.buildWSDLDocument(WSDLParser.java:195)
        at com.sun.tools.internal.ws.wsdl.parser.WSDLParser.parse(WSDLParser.java:162)
        at com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:116)
        at com.sun.tools.internal.ws.wscompile.WsimportTool.run(WsimportTool.java:178)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.sun.tools.internal.ws.Invoker.invoke(Invoker.java:120)
        at com.sun.tools.internal.ws.WsImport.main(WsImport.java:42)
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/jwsglue.list] Error 1
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
 * ERROR: app-emulation/virtualbox-4.1.22-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-4.1.22-r1'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-4.1.22-r1'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22'
 * S: '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22'
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.7  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.10"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge app-emulation/virtualbox-4.1.22-r1, Log file:

>>>  '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/temp/build.log'

 * Messages for package app-emulation/virtualbox-4.1.22-r1:

 * ERROR: app-emulation/virtualbox-4.1.22-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-4.1.22-r1'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-4.1.22-r1'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22'
 * S: '/var/tmp/portage/app-emulation/virtualbox-4.1.22-r1/work/VirtualBox-4.1.22'

emerge --info output is above...
Comment 4 Sergey Popov gentoo-dev 2013-01-01 09:29:16 UTC
Do not CC arch teams yourself, please
Comment 5 Ben Kohler gentoo-dev 2013-10-03 19:17:13 UTC
(In reply to Neil Stone from comment #3)
> After poking a little i realized i had not set the java_vm correctly with
> eselect, did that (to the jdk) and i now get different fail:

If this is still occurring with current versions in portage, can you please attach the full build.log?