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

Bug 237391

Summary: ERROR: dev-java/jax-ws-2.0.1 failed.
Product: Gentoo Linux Reporter: Alan <alan.larkin>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Full output of "emerge -v jax-ws"

Description Alan 2008-09-11 10:30:35 UTC
Cannot emerge dev-java/jax-ws-2.0.1. Javac build fails ("The method openConnection() in the type URL is not applicable for the arguments (Proxy)")

Reproducible: Always

Steps to Reproduce:
1. emerge -v jax-ws
Actual Results:  
BUILD FAILED

<snip>
[javac] 1. ERROR in /var/tmp/portage/dev-java/jax-ws-2.0.1/work/jaxws-si/src/rt/src/com/sun/xml/ws/api/EndpointAddress.java (at line 194)
[javac]     return url.openConnection(proxy);
[javac]                ^^^^^^^^^^^^^^
[javac] The method openConnection() in the type URL is not applicable for the arguments (Proxy)
<snip>

Expected Results:  
jax-ws successfully emerged.

emerge --info

Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-glibc2.2.5
Timestamp of tree: Wed, 10 Sep 2008 11:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
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.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 apm bashcdr berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus directfb dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gimp gpm gstreamer gtk hal hddtemp iconv ieee1394 innodb ipod ipv6 isdnlog java javascript jpeg jpeg2k kde kerberos lame laptop latex ldap libnotify lm_sensors mad midi mikmod mmx mozilla mp3 mpeg mudflap multilib mysql mysqli ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcmcia pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby sdl session spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcpd tetex tidy tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis wavpack wifi xine xml xmlrpc xorg xosd xpm xscreensaver xsl xulrunner xv zlib" ALSA_CARDS="via82xx" 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alan 2008-09-11 10:32:39 UTC
Created attachment 165195 [details]
Full output of "emerge -v jax-ws"
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2008-09-11 10:57:46 UTC
Does this happen if you try to merge with sun-jdk?
Comment 3 Alan 2008-09-11 11:48:16 UTC
(In reply to comment #2)
> Does this happen if you try to merge with sun-jdk?
> 

Yes. Have tried with "Sun JDK 1.6.0.07 [sun-jdk-1.6]" and "Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]" selected as system JVM.

Bug 207633 is similar and states "Builds fine with 1.5" ... I took that to mean v 1.5 of jax-ws (which was not in portage) but I understand now it probably means Java 1.5. Will try that.
Comment 4 Alan 2008-09-11 11:59:52 UTC
Yes, emerges fine when using sun-jdk 1.5. Marking it as duplicate of 207633.

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