<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>66520</bug_id>
          
          <creation_ts>2004-10-06 05:39 0000</creation_ts>
          <short_desc>Semantic Error compile error occurs when compiling commons-httpclient using jikes</short_desc>
          <delta_ts>2004-12-25 04:38:16 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mwolfe@netspace.net.au</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mwolfe@netspace.net.au</who>
            <bug_when>2004-10-06 05:39:44 0000</bug_when>
            <thetext>A semantic error occurs when trying to emerge dev-java/commons-httpclient with the jikes use flag.

Reproducible: Always
Steps to Reproduce:
1.USE=&quot;jikes&quot; emerge commons-httpclient

Actual Results:  
    [javac]    728.         public ConnectionPool connectionPool;
    [javac]                        ^------------^
    [javac] *** Semantic Error: The static type
&quot;org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionSource&quot;
must use a qualified name to access the non-static member type
&quot;org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool&quot;
of the enclosing type
&quot;org.apache.commons.httpclient.MultiThreadedHttpConnectionManager&quot;.



markw@mojo dev-java $ emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl
divx4linux dvd dvdr encode esd ethereal evo expat flac foomaticdb gd gdbm gif
gnome gpm gps gstreamer gtk gtk2 imap imlib java javamail jce jikes jpeg kde
ldap libg++ libwww mad mikmod mmx mmx2 motif mozilla mpeg mysql ncurses nls
oggvorbis opengl oss pam pda pdflib perl php png python qt quicktime readline
samba sdl slang snmp spell ssl svga tcpd truetype x86 xinerama xml xml2 xmms
xprint xv xvid zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gfortune@mail.ewu.edu</who>
            <bug_when>2004-10-06 17:43:04 0000</bug_when>
            <thetext>Same problem here while trying to install the newest jmeter.

USE=&quot;-jikes&quot; emerge httpclient
allowed the install to complete successfully.

My emerge info is almost the same, but here it is anyway...

root@gfortune config # emerge info
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache distcc sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ ftp://gentoo.ccccom.com http://gentoo.llarian.net/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/&quot;
MAKEOPTS=&quot;-j6&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X Xaw3d aalib acl acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts bonobo caps cdr crypt cscope cups curl dba dga directfb doc dvd dvdr encode esd ethereal evo fastcgi fbcon fftw firebird flac flash foomaticdb freetds gb gd gdbm gif gmp gnome gphoto2 gpm gtk gtk2 gtkhtml guile icq imagemagick imap imlib innodb ipv6 jabber java jikes jpeg junit kde kerberos krb4 ldap lesstif libg++ libgda libwww mad maildir mbox mcal mikmod mmx motif mozilla mpeg mpi msn mysql nas ncurses nls objc odbc offensive oggvorbis opengl oscar oss pam pda pdflib perl plotutils png postgres ppds prelude python qt quicktime readline ruby samba sasl scanner sdl session slang slp snmp socks5 speex spell sqlite sse ssl svg svga tcltk tcpd tetex theora tiff truetype unicode usb vhosts wmf wxwindows x86 xinerama xml xml2 xmms xosd xprint xsl xv xvid yahoo zeo zlib&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>axxo@gentoo.org</who>
            <bug_when>2004-10-12 12:30:53 0000</bug_when>
            <thetext>fixed now</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>waebbl@gmx.de</who>
            <bug_when>2004-12-24 14:10:36 0000</bug_when>
            <thetext>
I have the same problem with the stable 2.0-r1 release. When I do not use the jikes USE flag, the compilation succeeds, as in the case of the other people. 

As it is the same error as initialy described by this bug, I will not repeat it here.

Please reopen this bug, as it seems not be solved.


Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r12 i686)
=================================================================
System uname: 2.6.9-gentoo-r12 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium4 -O2 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium4 -O2 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig buildpkg candy ccache collision-protect distlocks fixpackages nostrip sandbox sfperms strict userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/mnt/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/portage-de&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X aalib accessibility acl acpi aim alsa apache2 arts avi berkdb bitmap-fonts crypt cscope cups dedicated doc dvd encode esd exif fam flac foomaticdb fortran gdbm ggi gif gnome gpm gstreamer gtk2 hal icq jabber jack java joystick jpeg junit libwww mad maildir mikmod mmx mmx2 motif mpeg mpi msn ncurses nls nptl odbc offensive oggvorbis openal opengl oscar oss pam pic pie png ppds pwdb python qt quicktime readline samba sdl shared slang spell sqlite sse ssl svg svga sysvipc tcpd tetex tiff truetype unicode usb videos xml xml2 xmms xprint yahoo zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyduck@gentoo.org</who>
            <bug_when>2004-12-24 14:28:09 0000</bug_when>
            <thetext>Created an attachment (id=46808)
jikes.diff

this patch resolves the issue with jikes</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyduck@gentoo.org</who>
            <bug_when>2004-12-24 14:29:19 0000</bug_when>
            <thetext>Created an attachment (id=46809)
commons-httpclient-2.0-r1.ebuild.diff

an patch for the ebuild, adds an epatch call to it to make use of the
jikes.diff</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>waebbl@gmx.de</who>
            <bug_when>2004-12-25 04:38:16 0000</bug_when>
            <thetext>
Hi thanks very much. This patch helped. I even noticed that the jikes.diff file is now in portage and will be used automatically.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>46808</attachid>
            <date>2004-12-24 14:28 0000</date>
            <desc>jikes.diff</desc>
            <filename>jikes.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXByTiBjb21t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m5lY3Rpb25Qb29sIGNvbm5lY3Rpb25Qb29sOwogCiAgICAg
ICAgIC8qKiBUaGUgY29ubmVjdGlvbidzIGhvc3QgY29uZmlndXJhdGlvbiAqLwogICAgICAgICBw
dWJsaWMgSG9zdENvbmZpZ3VyYXRpb24gaG9zdENvbmZpZ3VyYXRpb247Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>46809</attachid>
            <date>2004-12-24 14:29 0000</date>
            <desc>commons-httpclient-2.0-r1.ebuild.diff</desc>
            <filename>commons-httpclient-2.0-r1.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9kZXYtamF2YS9jb21tb25zLWh0dHBjbGllbnQvY29tbW9ucy1odHRw
Y2xpZW50LTIuMC1yMS5lYnVpbGQJMjAwNC0xMi0yNCAyMzoxODowMi4xNDU5NTk1MjAgKzAxMDAK
KysrIC91c3IvbG9jYWwvcG9ydGFnZS9kZXYtamF2YS9jb21tb25zLWh0dHBjbGllbnQvY29tbW9u
cy1odHRwY2xpZW50LTIuMC1yMS5lYnVpbGQJMjAwNC0xMi0yNCAyMzoyNTozMS41OTI2MzMyNDAg
KzAxMDAKQEAgLTIzLDYgKzIzLDcgQEAKIAl1bnBhY2sgJHtBfQogCWNkICR7U30KIAllcGF0Y2gg
JHtGSUxFU0RJUn0vZ2VudG9vLmRpZmYgfHwgZGllICJwYXRjaGluZyBmYWlsZWQiCisJZXBhdGNo
ICR7RklMRVNESVJ9L2ppa2VzLmRpZmYKIAllY2hvICJjb21tb25zLWxvZ2dpbmcuamFyPS91c3Iv
c2hhcmUvY29tbW9ucy1sb2dnaW5nL2xpYi9jb21tb25zLWxvZ2dpbmcuamFyIiA+PiBidWlsZC5w
cm9wZXJ0aWVzCiB9CiAK
</data>        

          </attachment>
    </bug>

</bugzilla>