[12:48] hi again jamesstansell [12:51] hi happy [12:53] jamesstansell: I think I may just remove 6.10 and put on 7.04 [12:54] that sounds like a good option [12:54] are you thinking to upgrade or install fresh? [12:54] I have to install fresh [12:54] since its USB [12:54] btw, I saw you mentioned eclipse - is that the main thing you wanted to run? [12:54] yes [12:55] which won't work without JRE [12:55] or JDK [12:56] the package in the archive should run OK with the default JDK (gcj or whatever) but since you mentioned 3.3 I guess it wouldn't have been in the archive [12:58] yes, the package ran OK [12:58] but I could not compile and it didn't recognise any syntax [12:59] :( probably closely related issues ... [01:01] I hadn't heard of livedistro.org before - thanks for the link [01:02] :) [01:03] you said it required a new install - doesn't it ever support an upgrade? [01:04] maybe, but I need a custom Feisty because the normal one has a glitch where you can't save stuff when using USB [01:07] ah - ok === doko_ [n=doko@dslb-088-073-095-215.pools.arcor-ip.net] has joined #ubuntu-java [01:11] This iso is 820mb... I wonder if I'l have to burn it to DVD: ( [01:12] too big for a CD - I assume your USB is big enough though? [01:12] yes [01:16] 4GB === ytojack [n=ytojack@59.35.246.248] has joined #ubuntu-java [01:51] be back later, jamesstansell... hopefully in feisty === AfC [n=andrew@office.syd.operationaldynamics.com] has joined #ubuntu-java === happyface_0 [n=dasuidha@d36-116-216.home1.cgocable.net] has joined #ubuntu-java === AfC [n=andrew@office.syd.operationaldynamics.com] has joined #ubuntu-java === ytojack [n=ytojack@59.35.246.248] has joined #ubuntu-java === Starting logfile irclogs/ubuntu-java.log === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-java === Topic for #ubuntu-java: Ubuntu Java packaging matters. For Java coding questions please visit ##java === Topic (#ubuntu-java): set by vil at Thu Aug 2 16:35:04 2007 === AfC [n=andrew@office.syd.operationaldynamics.com] has joined #ubuntu-java === vil [n=lada@ubuntu/member/vil] has joined #ubuntu-java === AfC [n=andrew@office.syd.operationaldynamics.com] has joined #ubuntu-java === Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-java === dharrigan [n=david@host12.williamhill.co.uk] has joined #ubuntu-java === happyface [n=Dave@d36-116-216.home1.cgocable.net] has joined #ubuntu-java === happyface [n=Dave@d36-116-216.home1.cgocable.net] has joined #ubuntu-java === Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-java === Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-java === AfC [n=andrew@office.syd.operationaldynamics.com] has joined #ubuntu-java === ytojack [n=ytojack@219.131.116.225] has joined #ubuntu-java === ytojack [n=ytojack@219.131.116.225] has joined #ubuntu-java === thepenguin37 [n=Ekolay@85.100.120.199] has joined #ubuntu-java === thepenguin37 [n=Ekolay@85.100.120.199] has left #ubuntu-java [] === ytojack [n=ytojack@59.35.111.245] has joined #ubuntu-java === mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-java === jamesstansell [n=james@wsip-24-249-157-103.tu.ok.cox.net] has joined #ubuntu-java === ytojack [n=ytojack@218.15.102.72] has joined #ubuntu-java === tmarble [i=tmarble@nat/sun/x-a6d7b50e10f76eae] has joined #ubuntu-java [05:40] doko_: have you taken packages.ubuntu.com down for maintenance? [06:09] tmarble: don't know about earlier, but packages.ubuntu.com seems to be up now [06:09] thanks, yes, it is -- several people reported unusually long response times (but whatever it was has been fixed) === vil [n=vladimir@ubuntu/member/vil] has joined #ubuntu-java [09:10] hi, jamesstansell [09:10] I'm now in 7.04, and still get the same error installing sun-java6-bin [09:10] so I'm guessing it might be a USB drive problem for some reason [09:12] maybe properties of the filesystem? [09:12] who knows [09:12] I just need it to work, though :( [09:13] what to do... what to do... [09:18] jamesstansell, can I help? [09:20] help with what? [09:23] he seems to have some sort of problem with installing sun java package [09:24] let me find that forum post [09:29] ok, I found it... vil I'm having the same problem with 6.10 and 7.04 (both run from USB drive, though) http://ubuntuforums.org/showthread.php?t=414851 [09:31] happyface, let me take a look [09:31] ok [09:31] thanks... but I'l brb in 10 mins [09:49] hi vil - I had just been trying to help happyface [09:52] here's a little more about what he wants to do: http://ubuntuforums.org/showpost.php?p=3263924&postcount=125 [09:53] except he doesn't care about the sun download if the package would install and run for him [09:53] happyface, are you running on i386 or amd64? [09:53] he's 32 bit [09:54] but running on a 4GB USB drive [09:54] also, if you need java just to run eclipse, you can stick to gcj although it is considerably slower [09:54] I don't see a problem with USB drive [09:54] hi I'm back [09:55] vil, gcj opens up eclipse, but syntax correction and compiling doesn't seem to work [09:55] unless I'm missing a gcj- dev kit thing === jamesstansell wonders if there's a separate ecj package needed? [09:56] well, it might be handy to have sun java [09:56] but the problem you are reporting is rather strange [09:56] afaik you don't need stand-alone ecj package to run eclipse [09:57] ecj-gcj --> standalone version of the Eclipse Java compiler (native version) [09:57] the problem is that when it tries to install the sun-java it also runs it for a reason, but doesn't find the needed library libjli.so [09:57] yes exactly [09:58] at my system [09:58] vladimir@sirius:/usr/lib/jvm/java-6-sun/bin$ ldd java [09:58] linux-gate.so.1 => (0xffffe000) [09:58] libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f15000) [09:58] libjli.so => /usr/lib/jvm/java-6-sun-1.6.0.02/jre/bin/../lib/i386/jli/libjli.so (0xb7f0c000) [09:58] libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f07000) [09:58] libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7dbd000) [09:58] /lib/ld-linux.so.2 (0xb7f46000) [09:58] java -version [09:58] java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory [09:58] so can you do ldd /usr/lib/jvm/java-6-sun/bin/java ? [09:59] no [09:59] I only have up to /bin [09:59] nvm hold on [09:59] linux-gate.so.1 => (0xffffe000) [09:59] libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f6b000) [09:59] libjli.so => not found [09:59] libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f66000) [09:59] libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e25000) [09:59] /lib/ld-linux.so.2 (0xb7f8f000) [10:00] my feisty install shows :/usr/lib/jvm/java-6-sun/bin$ ldd java [10:00] linux-gate.so.1 => (0xffffe000) [10:00] libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f7e000) [10:00] libjli.so => /usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/../lib/i386/jli/libjli.so (0xb7f75000) [10:00] libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f70000) [10:00] libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e2f000) [10:00] /lib/ld-linux.so.2 (0xb7fa3000) [10:00] jamesstansell, that looks good actually [10:01] happyface: do you have a /usr/bin/java today? [10:01] can you try to run /usr/lib/jvm/java-6-sun/bin/java ? [10:01] /usr/bin/java is just a symlink [10:01] I ran it with -version [10:01] and got the libjli.so thing [10:02] I mean if jamesstansell can run it with full path specified, because his ldd looks fine [10:03] mine runs fine [10:03] god damn libjli.so... it's breaking my balls [10:03] /usr/lib/jvm/java-6-sun/bin/java -version [10:03] java version "1.6.0" [10:03] Java(TM) SE Runtime Environment (build 1.6.0-b105) [10:03] Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) [10:04] happyface: what does "locate libjli.so" give you? [10:04] locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old [10:05] I'l have to update my database [10:05] locate -u? [10:06] sounds right [10:07] happyface, I would suggest to reinstall sun-java6-* [10:07] ? [10:07] it does the same error [10:08] if I reinstall [10:08] locate libjli.so [10:08] /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/jli/libjli.so [10:09] I think you might have an issue with the shared lib linker === ageorgo [n=tarvid@pha-84-242-86-50.karneval.cz] has joined #ubuntu-java [10:11] well, I expected "ldconfig -p |grep jvm" to show me something but it has no output [10:12] same [10:12] jamesstansell, the same here [10:12] :) [10:13] any other ideas guys? [10:13] somehow though it's getting /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/jli/ in the LD path for me (and the similar one for vil's version) but not getting it for you [10:14] the java command used to be a shell wrapper but I see it's an ELF file now [10:16] is your /usr partition ext3? [10:17] well, I'm using casper-rw [10:17] but bsically its ex2 [10:19] found https://bugs.launchpad.net/bugs/84591 [10:19] bug 84591 [10:19] no no [10:19] I have a patched feisty with persistence working [10:20] so this is what that patch was supposed to address? [10:20] yes [10:20] it uses some casper files from 6.10 in 7.04 [10:21] http://www.livedistro.org/release-announcements/gnu/linux-releases/ubuntu-feisty-fawn-patches-for-persistence [10:21] I'm using iso #2 [10:22] happyface, the best I can think of right now is to try [10:23] strace /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java [10:23] to see, where it fails [10:23] ugh [10:23] so much output [10:24] http://p.opsat.net/v/xi [10:27] does that help you decipher anything, vil? [10:28] happyface, can you also do [10:28] is there anything in /cow/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/../jre/lib/i386/jli ? seems like earlier locate found the libjli.so there, right? [10:28] strings /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java | grep jli [10:29] locate libjli.so [10:29] /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/jli/libjli.so [10:29] libjli.so [10:29] $ORIGIN/../lib/i386/jli:$ORIGIN/../jre/lib/i386/jli [10:29] I don't have a /cow [10:30] the /cow/... path had jre/bin/../jre which ends up being jre/jre which isn't right ? [10:31] /cow came from the strace output [10:32] I'm not sure what you mean [10:32] but there is libjli.so in /usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/../lib/i386/jli for me [10:33] and thats where this points: $ORIGIN/../lib/i386/jli [10:33] happyface, if you look at that strace output, there are lots of lines begining with /cow [10:33] I see it now earlier in the strace output [10:34] that is the problem [10:34] ah [10:34] yea, it says no file or directory [10:35] does the jvm ship with some library static linked that the persistence patch fixes for apps that use the system shared library? [10:35] ie for file lookups? [10:37] I have no idea [10:40] this seems to be where it starts going wrong [10:40] readlink("/proc/self/exe", "/cow/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java" [10:40] happyface, now I have also found that cow is something from casper [10:40] looks like #ubuntu-motu might be a better place to search for help [10:41] hmm [10:41] what's motu [10:41] "masters of the universe" [10:41] I mean... what's the channel for [10:42] motus are developers of all kinds [10:42] here people focus mainly on java [10:42] and this is more about linker and casper [10:43] ok [10:44] although it might have a great deal to do with sun-java6 packaging [10:44] anyway, if nobody answers you, feel free to come back [10:44] I have already spent enough time with it to be currious how it ends ;) [10:44] too bad icedtea isn't further along - can't really recommend that to you yet [10:45] jamesstansell, doko_ would be surely gald to hear you comments [10:46] well, honestly, it might be as good a thing to try as any ... [10:46] vil, where does your strace output point to [10:46] ? [10:50] here's my strace output - http://p.opsat.net/v/xj [10:57] ok [10:58] hey jamesstansell and vil, motu pointed me to https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/103933/comments/8 [10:59] :) [10:59] but still doesn't help me [11:01] happyface, imo that's not wrong that it uses relative path for lib look up [11:01] I still suspect that casper thing [11:03] this isn't worth it... maybe I'l try gcj more [11:04] does "LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun/jre/lib java -version" do anything different? [11:06] no :( === jamesstansell was afraid of that === happyface is afraid of everything [11:09] what does "LD_TRACE_LOADED_OBJECTS java" give you? [11:09] oops - meant "LD_TRACE_LOADED_OBJECTS=1 java" [11:10] bash: LD_TRACE_LOADED_OBJECTS: command not found [11:10] yea hah [11:10] happyface, can you also show us the output of the mount command? [11:10] LD_TRACE_LOADED_OBJECTS=1 java [11:10] oops [11:10] linux-gate.so.1 => (0xffffe000) [11:10] libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f82000) [11:10] libjli.so => not found [11:10] libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f7d000) [11:10] libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e3c000) [11:10] the bug is suggesting that remounting /proc helps [11:10] /lib/ld-linux.so.2 (0xb7fa6000) [11:11] same libjli.so not found [11:11] and the strace logs shows that it all starts at /proc [11:11] readlink("/proc/self/exe", "/cow/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java", 4096) = 49 [11:11] unionfs on / type unionfs (rw) [11:11] proc on /proc type proc (rw,noexec,nosuid,nodev) [11:11] varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755) [11:11] varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777) [11:11] procbususb on /proc/bus/usb type usbfs (rw) [11:11] udev on /dev type tmpfs (rw,mode=0755) [11:11] devshm on /dev/shm type tmpfs (rw) [11:11] devpts on /dev/pts type devpts (rw,gid=5,mode=620) [11:11] lrm on /lib/modules/2.6.17-10-generic/volatile type tmpfs (rw) [11:11] tmpfs on /tmp type tmpfs (rw,nosuid,nodev) [11:11] binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) [11:12] I guess that adding an extra mount for /usr/lib/jvm might help [11:12] "Making sure that the /proc was correctly mounted in the chroot caused the error to go away." [11:12] not sure what that means... [11:13] let me ask motu [11:13] "mount --bind olddir newdir" or maybe "mount --rbind olddir newdir" [11:13] where olddir is /usr/lib/jvm and newdir is /tmp/jvm [11:15] /tmp/jvm? [11:15] then try /tmp/jvm/java-6-sun/bin/java -version [11:15] must mkdir /tmp/jvm before the bind command [11:15] sudo mount --bind /usr/lib/jvm /tmp/jvm [11:18] same error [11:18] libjli.so [11:19] happyface, my guess is that your casper runs in a chroot located at /cow [11:20] and readlink("/proc/self/exe", "/cow/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/java", 4096) = 49 gives the java binary feeling that it the jvm is installed at /cow/... [11:21] however, I have no idea how to fix that [11:21] the problem is not in sun java itself [11:22] I think the problem was before the readlink call - whatever gave the java command the /cow/... to start with [11:22] hoped the mount --bind might get around that [11:22] I'm not sure how --rbind is different [11:23] or what a "proper way" to mount /proc in a /cow chroot would be [11:23] see you guys [11:24] bye [11:24] see you [11:25] happyface: ltrace java -version ? [11:26] I removed sun-java6 for now [11:26] all I want is eclipse working in the end... so I'm trying gcj [11:26] even though I think it uses an outdated java version [11:28] the feisty version might not have the java5 stuff enabled yet - I'm not sure === kmxdot [n=skald@208.104.151.215] has joined #ubuntu-java === happyface [n=Dave@d36-116-216.home1.cgocable.net] has joined #ubuntu-java [12:05] well [12:06] supposedly eclipse uses up too much memory anyway... I guess I'l find a liter editor