/srv/irclogs.ubuntu.com/2005/07/05/#ubuntu-java.txt

wasabijbailey, did you get ant up?02:53
wasabiI notice a reject from this mornig.02:53
jbaileywasabi: Can you forward me the reject message?  I left you as the maintainer, so I didn't see it.02:55
jbailey(or paste the relevant bits here)02:55
wasabiRejected: ant_1.6.5-0ubuntu1.dsc refers to ant_1.6.5.orig.tar.gz, but I can't find it in the queue or in the pool.03:00
wasabiI just got added to the keyring!03:00
jbaileyNice!03:00
wasabiFrom: James Troup <james@nocrew.org>03:00
wasabiDone - sorry for the delay.03:00
wasabiyay!03:00
jbaileyCool, give it a spin!03:00
wasabiDId you get ecj up?03:02
wasabiOh yeah, you did.03:02
wasabiIt just broke on amd6403:02
jbaileyIf you give me eclipse, I'll look at it on !i386 tomorrow.03:13
wasabiputting it togheter now. ;)03:13
=== _ivan_ [~ivan@61.132.89.106] has joined #ubuntu-java
wasabiHmm. It suceeded on i386 but never showed up.03:27
=== _ivan_ [~ivan@61.132.89.106] has left #ubuntu-java []
wasabiAnt appeared in the archive in 10 minutes. ecj-bootstrap still isn't there.04:14
wasabiWonder what causes that.04:14
wasabihttp://akita.larvalstage.net/~wasabi/ubuntu/eclipse04:53
dokowasabi: eclipse-3.1/debian/eclipse-rcp.postinst modifies a file from another package. bad. if we need an update mechanism, it should be in the same packages as gcj-dbtool.09:37
=== doko_ [~doko___@dsl-084-059-065-082.arcor-ip.net] has joined #ubuntu-java
=== rtcm [~jman@217.129.142.72] has joined #ubuntu-java
=== jbailey [~jbailey@CPE00501836c657-CM014260028338.cpe.net.cable.rogers.com] has joined #ubuntu-java
jbaileywasabi: g'm.  Is your uploading and such all working now?01:40
=== doko [~doko___@dsl-084-059-065-082.arcor-ip.net] has joined #ubuntu-java
wasabiyeah03:14
jbaileyNice.03:17
wasabiOh nifty. Even though ecj-bootstrap broke on amd64, it's still available on amd64.03:22
wasabiSince only the -gcj portion broke, the pure Java part is Arch: all.03:23
wasabiYay for that.03:23
wasabiAnd the -gcj part simply enhances it. Makes it faster. It's not required.03:24
jbailey=)03:24
wasabiEclipse 3.1 is going up. So you can play with it. It's still in multiverse though.03:25
wasabiBut that's fine until all the kinks are worked out.03:26
jbaileyWell, it would be nice to at least get it shifted to universe.03:27
wasabiI am quite confident about this package. I have spent hte last 3 days going over it with a fine tooth comb.03:27
wasabiA fine example of cdbs-powered art. ;)03:27
jbailey*lol*03:28
jbaileyHow much of it should eventually be rolled into a java module?03:28
wasabiwhatcha mean?03:29
wasabioh cdbs?03:29
wasabiHmm.03:29
wasabiI'm not really that sure. I think we obviously need a dh_gcj or something.03:29
jbaileyof cdbs / debhelper or whatever.03:29
wasabiI think you'll have a good idea when you read it.03:29
wasabi=)03:30
wasabiI'd like it to be as easy as firing of some dh_* to set up a native gcj version of a package.03:30
wasabiSo, it needs to scan a certain prefix for jars, and map them to a certain other prefix.03:30
wasabiFrom one package to another.03:30
jbaileyCan you write the logic out?03:31
wasabiI'll have to think about it a bit.03:31
wasabiin the meantime->shower/work/etc03:31
dokowasabi, jbailey: I disabled -gcj again, maybe a bit too early, but I needed a working package in the archives, and it didn't show up. is there a way to disable one package for an architecture in cdbs?03:39
jbaileydoko: override DEB_ARCH_PACKAGES and DEB_INDEP_PACKAGES03:40
dokodid I mention, that I love the cdbs documentation?03:41
jbaileydoko: Someone has to. =)03:41
jbaileydoko: Documentation is one of the only things holding up the cdbs2 release.03:42
jbaileyAlthough what we have already is much better than cdbs1 had.03:42
dokowasabi: I don't like the ecj-bootstrap Recommends: ecj-bootstrap-gcj. did you see my pointer, that ecj is miscompiled?03:44
wasabidoko, I know that the dbtool thing is bad.03:45
wasabiThe script included with j-g-c wasn't suitable though. I will be building a better script/tool.03:45
dokowasabi: and why does ecj-bootstrap-gcj depend on ecj-bootstrap?03:45
wasabiOne is required for the other to work.03:45
wasabi?03:45
wasabiThe idea is we are going to have the non-native version recommed the native version, so in the default cause, users are using the enhanced gcj version.03:46
wasabiDebian will knock the recommends down.03:46
wasabiAs they don't care very much about the default case. ;)03:46
wasabis/cause/case/03:46
dokowasabi: I will knock them down as well, I do not want to recommend a miscompiled ecj03:46
wasabiThat is being fixed.03:47
wasabiIt's apparently a GCC bug or something.03:47
wasabijbailey, ?03:47
dokowasabi: yes, but it's currently broken.03:47
dokowasabi: again, why does ecj-bootstrap-gcj depend on ecj-bootstrap?03:47
jbaileydoko: Is it causing your grief?  The arch indep one should just work in its place automatically.03:47
wasabiYup. That's the idea.03:48
wasabiTHe native version isn't REQUIRED, but it's a speed enhancement when it's present.03:48
dokojbailey: I don't want users to install the -gcj one now.03:48
wasabiWhy?03:48
dokobecause it's broken. recommends are installed automatically by synaptic03:48
wasabiIt's only broken on amd64 though, it works as designed on all other platforms?03:49
dokowasabi: AFAIK it's broken on all platforms03:49
jbaileydoko: The right thing is to extract the patch from gcc CVS head to fix some misdetection causing mmap grief.03:49
wasabiWell, it' sin the archive on i386, and works.03:49
wasabiAnd ppc apparently.03:50
jbaileyWhat breakage are you seeing?03:50
jbaileyI haven't tested it on ppc, but I can do so if you'd like.03:50
dokoagain: what's the reason for ecj-bootstrap-gcj Depends: ecj-bootstrap03:50
wasabiGcj native compilation isn't a replacement for the non-native version.03:50
wasabiIt is a runtime enhancement.03:50
jbaileydoko: All the -gcj versions should depend on their -non -gcj counterparts.03:50
wasabiWhen the classloader grabs a .class out of the ecj.jar, it looks that .class's hashmap up in the classmap.db03:51
wasabiAnd then loads teh cooresponding .so file if present.03:51
jbaileyThat way you always can run the Java app, even if you try with a non-gij VM.03:51
wasabivs interpreting the code.03:51
wasabiThe original ecj.jar still has to be present.03:51
wasabiNot only that, but the ecj.jar has more than code in it. Resources.03:51
dokojbailey: sure, we will have this one with the next gcj upload03:51
dokowasabi, jbailey: would you mind writing down things as a policy?03:52
jbaileyI beleive it's already in the wiki.  That's where Jerry and I did most of the brainstorming.03:52
jbaileywasabi: It does present the interesting question of what causes the -gcj version to be installed...  should the depends go the other way?03:52
jbaileyThat has the downside, though, that an arch that can't produce the -gcj for some reason would be uninstallable.03:53
wasabiWell, I was banking on synaptic automatically installing -gcj's for users. ;)03:53
dokohttp://udu.wiki.ubuntu.com/JavaRoadmap ?03:53
dokono03:53
wasabiFor buildd's, it doesn't matter as much.03:53
jbaileywasabi: Ah. =)03:53
wasabiMaybe we didn't write this down. ;)03:54
wasabiwhat happened to JavaIntegration03:55
jbaileyI thought there was more in there.03:57
dokoit would be very nice, if we had something as a proposal for a policy ...03:58
jbaileySure.  I'll try to cook something formal-looking up next week.03:59
dokoyou're at debconf?03:59
jbaileyNo.03:59
dokowould be nice to have something for a bof however ...03:59
jbaileyI'm moving this weekend, so I'm off the next 4 days, though.04:00
jbaileyI think it's unlikely that Debian and Ubuntu will converge soon. =(04:00
wasabithe Eclipse debacle sort of highlights that. ;)04:00
wasabijbailey, few shells cripts to be shized. ;004:00
wasabi/usr/share/java-common/java-common.sh04:00
jbaileyJoy. =)04:01
wasabiThat one definitly. The binary launcher for eclipse and ecj, I don't care. In fact I like them Just Working in bash. ;)04:01
wasabis/binary//04:01
jbaileywasabi: wimp. =)04:01
wasabiJust, the common component should be sh compatible.04:01
dokothere are always two sides in a desaster ...04:03
jbaileyThe side that covered their asses and the side that didn't? =)04:03
wasabiOf coruse, whichever side I'm on, is right. ;)04:04
dokowell, introducing conventions without documenting them isn't nice either. hacking all java packages like you did for ecj and eclipse may work for you, but not for Debian. There's a lot of things we can do better in Ubuntu.04:07
jbaileyRIght, but documenting conventions with no experience just means that things have to be changed afterwards.04:10
jbaileyThat's why Debian Policy reflects current best practice, not the other way around.04:11
wasabijbailey, please grab Eclipse. =)04:17
=== wasabi anxious!
wasabime->work()    bbl04:19
dokojbailey: please could you have a look chinstrap:~doko/ecj-bootstrap, despite DEB_ARCH_PACKAGES it wants to build the binary package04:22
jbaileyscp: /home/doko/ecj-bootstrap: No such file or directory04:26
=== jbailey looks
jbaileyecj-bootstrap*04:27
jbaileydoko: And the goal is that on amd64 would do not want with_native, right?04:29
dokoyep04:29
=== Bylli_79 [~bylli79@host1-107.pool81116.interbusiness.it] has joined #ubuntu-java
jbaileyhmm.  That hack ought to be working.  When I test the constructs they work... =(04:42
jbailey(GNU Make really is quite annoying)04:42
=== wasabi_ [~wasabi@207.55.180.100] has joined #ubuntu-java
=== Bylli_79 [~bylli79@host1-107.pool81116.interbusiness.it] has left #ubuntu-java []
jbaileyErp. It looks like make rules don't lazy evaluate the variables.04:45
wasabi_What's that mean?04:46
wasabi_Something to do with patsubst? :004:46
jbaileyYeah, doko's trying to override the package list from debian/control.04:47
jbaileyIt hasn't come up in any other packages, but we planned for it.04:47
jbaileyUsually make variables are lazy evaluated, so you can override them later in the game and have everything work.04:47
jbaileyBut it looks like when variables are used in rules, they're hard evaluated once immediately, not after a full pass of the Makefile has been read.04:48
jbaileycdbs2 solves this by putting all the evaluation into the shell and recursing into Make (so causing a reread each time)04:48
jbaileycdbs1 doesn't look like it'll have an adequate solution.04:49
doko!SESSION 2005-06-30 19:26:39.618 -----------------------------------------------eclipse.buildId=07:29
dokojava.version=1.4.2_0707:29
dokojava.vendor=Sun Microsystems Inc.07:29
dokoBootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US07:29
dokoCommand-line arguments:  -os linux -ws gtk -arch x8607:29
doko!ENTRY org.eclipse.update.configurator 2005-06-30 19:26:42.33707:29
doko!MESSAGE /usr/local/share/eclipse/plugins is not a valid plugins directory.07:29
doko!ENTRY org.eclipse.core.runtime 2005-06-30 19:26:43.92107:29
doko!MESSAGE Product org.eclipse.sdk.ide could not be found.07:29
doko!ENTRY org.eclipse.osgi 2005-06-30 19:26:43.93007:29
doko!MESSAGE Application error07:29
wasabi_Hmmmm.07:29
doko!STACK 107:29
dokojava.lang.RuntimeException: No application id has been found.07:29
doko        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)07:29
doko        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)07:29
doko        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)07:29
doko        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)07:29
doko        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)07:30
doko        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)07:30
doko        at java.lang.reflect.Method.invoke(Method.java:324)07:30
doko        at org.eclipse.core.launcher.Main.invokeFramework(Unknown Source)07:30
doko        at org.eclipse.core.launcher.Main.basicRun(Unknown Source)07:30
doko        at org.eclipse.core.launcher.Main.run(Unknown Source)07:30
doko        at org.eclipse.core.launcher.Main.main(Unknown Source)07:30
=== jbailey [~jbailey@CPE00501836c657-CM014260028338.cpe.net.cable.rogers.com] has joined #ubuntu-java
dokowasabi_, you don't see the stack trace?08:06
wasabi_I saw it. I am considering it.08:07
=== tashiro [~stephan@p213.54.197.246.tisdip.tiscali.de] has joined #ubuntu-java
wasabi_doko, can you mkdir /usr/local/share/eclipse and touch /usr/local/share/eclipse/.eclipseextension08:38
wasabi_and just let me know if it fixes it for you08:38
dokothey exist08:40
wasabi_Hmmm.08:41
wasabi_Well this is odd.08:41
dokoowned by root08:42
wasabi_readable though, right?08:42
doko$ eclipse08:42
dokousing specified vm: /usr/lib/j2sdk1.4-sun08:42
dokoyes08:42
dokohmm, defaults to the non-free jvm?08:43
wasabi_I have to do some thinking about that still.08:43
wasabi_If some user manages to get Sun's VM installed... do we want to go ahead and use it? Or make the user edit a config file to switch to it?08:43
wasabi_I chose the former for now.08:44
dokohmm, why not use gij as the default?08:46
wasabi_It does.08:46
wasabi_If Sun's isn't installed.08:46
wasabi_Check the file /etc/jvm.d/eclipse08:46
dokoI don't call that a default ;-)08:46
wasabi_It needs to be thought about.08:47
dokohmm, and it doesn't like the blackdown installation ...08:47
wasabi_It should only require /bin/java at the path.08:48
dokoah, my mistake. typo in the path08:49
wasabi_Ahh!08:55
wasabi_I know the problem.08:55
wasabi_Hmm. That sucks.08:56
wasabi_apt-get install eclipse-sdk08:56
wasabi_Hmmmm.08:56
wasabi_That's going to have to be thought about.08:56
jbaileywasabi_: http://kyoto.larvalstage.net/ubuntu/ seems to have been down all day...08:59
wasabi_yeah.09:00
wasabi_Luckily you don't need it anymore09:00
jbaileyYou asked me to grab eclipse earlier for ppc testing, I've been trying occasionally.09:00
wasabi_archive.ubuntu.com09:00
wasabi_doko, can you open /usr/share/eclipse/configuration/config.ini, search for the line that contains org.eclipse.sdk.ide and replace it with org.eclipse.platform.ide09:25
wasabi_save, and try to launch.09:25
dokoyes, that works09:27
wasabi_Alrighty.09:27
wasabi_Weird. For the life of me I have no idea what eclipse-sdk actually DOES. I suspect it's just a "metapackage" to upstream.09:28
dokocan you fix the dependency stuff as well?09:28
wasabi_Which stuff is that?09:28
dokojava-gcj-compat-dev in b-d09:28
wasabi_You mean add or remove it? It is in b-d09:29
dokoahh, remove java-gcj-compat09:31
doko-dev is enough09:31
wasabi_k09:31
dokodrop libgcj6-dev, ecj-bootstrap, fastjar as well, these are java-gcj-compat-dev deps09:32
dokobtw, is it still multiverse?09:32
wasabi_Yes.09:32
dokowhy?09:33
wasabi_Because I haven't verified that there are any multiverse deps left, and haven't told anybody to move it.09:33
wasabi_I suspect it's ready to move.09:33
dokosee https://wiki.ubuntu.com//UbuntuMainInclusionQueue , what's needed ...09:35
dokoI assume, you'll have to write one of these reports09:35
=== rtcm [~jman@217.129.142.72] has joined #ubuntu-java

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!