Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56341 - Problem with the jdbc-mysql file:/usr/share/jdbc-mysql/lib/mysql-con nector-java-3.0.11-stable-bin.jar
Summary: Problem with the jdbc-mysql file:/usr/share/jdbc-mysql/lib/mysql-con nector-j...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-07 09:42 UTC by Mark
Modified: 2004-10-20 06:09 UTC (History)
0 users

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 Mark 2004-07-07 09:42:26 UTC
When trying to do a java-config -B jdbc-mysql followed by 
/usr/sbin/env-update && source /etc/profile
I get error 1 below

If I try and re-emerge java-config I get error 2

 

Reproducible: Always
Steps to Reproduce:
1.java-config -B jdbc-mysql
2.
3.

Actual Results:  
===================== ERROR 1 =================================
!!! Unexpected end of config file: variable
:/usr/share/jdbc-mysql/lib/mysql-connector-java-3.0.11-stable-bin.jar
Traceback (most recent call last):
  File "/usr/sbin/env-update", line 11, in ?
    portage.env_update()
  File "/usr/lib/portage/pym/portage.py", line 630, in env_update
    myconfig=getconfig(root+"etc/env.d/"+x)
  File "/usr/lib/portage/pym/portage.py", line 935, in getconfig
    raise Exception("ParseError: Unexpected EOF: "+str(mycfg)+": on/before line
"+str(lex.lineno))
Exception: ParseError: Unexpected EOF: /etc/env.d/21java-classpath: on/before line 3


=====================+Error 2 ========================

 * Performing Python Module Cleanup .....
 * Cleaning orphaned Python bytecode from /usr/lib/python2.3/site-packag  [ ok ]
>>> original instance of package unmerged safely.
!!! Unexpected end of config file: variable :/usr/share/jdbc-mysql/lib/mysql-con
nector-java-3.0.11-stable-bin.jar
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2599, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1555, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug)
  File "/usr/lib/portage/pym/portage.py", line 2367, in doebuild
    return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysetti
ngs["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"])
  File "/usr/lib/portage/pym/portage.py", line 2489, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/portage/pym/portage.py", line 5928, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 5648, in treewalk
    env_update(makelinks=0)
  File "/usr/lib/portage/pym/portage.py", line 630, in env_update
    myconfig=getconfig(root+"etc/env.d/"+x)
  File "/usr/lib/portage/pym/portage.py", line 935, in getconfig
    raise Exception("ParseError: Unexpected EOF: "+str(mycfg)+": on/before line
"+str(lex.lineno))
Exception: ParseError: Unexpected EOF: /etc/env.d/21java-classpath: on/before li
ne 3


Expected Results:  
Should add jdbc-mysql to java classpath

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi aim alsa apache2 apm arts audiofile avi berkdb bonobo cdr
crypt cups curl dga directfb doc dvd encode esd ethereal evo fam fbcon fdftk
flash foomaticdb freetds gb gd gdbm gif ginac gnome gphoto2 gpm gstreamer gtk
gtk2 gtkhtml icq imagemagick imap imlib innodb jabber java jikes jpeg junit lcms
libg++ libgda libwww mad mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi
msn mssql mysql ncurses nls oci8 odbc oggvorbis opengl oscar oss pam pcmcia pcre
pda pdflib perl plotutils png pnp postgres ppds prelude python quicktime
readline samba scanner sdl slang slp spell sse ssl svg svga szip tcpd tiff
truetype trusted unicode usb vhosts wmf wxwindows x86 xinerama xml xml2 xmms
xosd xv xvid yahoo zeo zlib"
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-08-03 10:15:50 UTC
What does /etc/env.d/21java-classpath look like?
Comment 2 Mark 2004-08-03 12:26:41 UTC
I cant find any file like that. Probably the problem?
Comment 3 Dylan Carlson (RETIRED) gentoo-dev 2004-10-20 06:09:19 UTC
Mark -- sorry we didnt' get back to you.   Since this bug idled for two months, I'm assuming you either gave up or found a solution.  In any case, I can't reproduce this.  So I'm going to close the bug out.  If you are still experiencing this issue, please re-open it.  Thanks