Hi Tony, all,

[...]
> Due to the size, I'm not going to send the build log to the BTS, but
> will send it directly to you.  It's the output of git-buildpackage on
> top of a sid cowbuilder.  (Just wondering aloud if the build failure is
> somehow related to the large amount of memory in your build environment
> - a la the problem you uncovered in #748567...)
> 

So I don't think this one is about memory, but it might be about the directory
hierarchy. Here's a snippet from

build/eclipse-3.8.1-src/plugins/org.eclipse.osgi.services/build.xml

which seems to be shipped in debian/eclipse-build-generatedScripts.tar.bz2:

                <path id="@dot.classpath">
                        <pathelement path="../org.eclipse.osgi/bin/"/>
                        <pathelement path="../org.eclipse.osgi/@dot"/>
                        <pathelement 
path="../org.eclipse.equinox.transforms.hook/bin/"/>
                        <pathelement 
path="../org.eclipse.equinox.transforms.hook/@dot"/>
                        <pathelement 
path="../org.eclipse.equinox.servletbridge.extensionbundle/@dot"/>
                        <pathelement 
path="../org.eclipse.equinox.weaving.hook/bin/"/>
                        <pathelement 
path="../org.eclipse.equinox.weaving.hook/@dot"/>
                        <pathelement 
path="../../../../../../../../usr/share/java/servlet-api-3.0.jar"/>
                </path>

Now I'm wondering which directory all these paths are supposed to be relative
to. From the first few ones it could either be

eclipse/plugins/org.eclipse.osgi.services/

or

build/eclipse-3.8.1-src/plugins/org.eclipse.osgi.services/

where the former is the source directory and the latter would be the build
directory. Given that, if I understand all this correctly, the number of "../"
is fixed irrespective of the actual environment, I'm wondering whether this is
just an attempt to have "sufficiently many ../" in there? Yet I'll have to
disappoint you:

~/eclipse-3.8.1# cd eclipse/plugins/org.eclipse.osgi.services/
~/eclipse-3.8.1/eclipse/plugins/org.eclipse.osgi.services# ls -la 
../../../../../../../../usr/share/java/servlet-api-3.0.jar
-rw-r--r-- 1 root root 197117 May 24 05:26 
../../../../../../../../usr/share/java/servlet-api-3.0.jar

but

~/eclipse-3.8.1# cd build/eclipse-3.8.1-src/plugins/org.eclipse.osgi.services/
~/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi.services# ls 
-la ../../../../../../../../usr/share/java/servlet-api-3.0.jar
ls: cannot access ../../../../../../../../usr/share/java/servlet-api-3.0.jar: 
No such file or directory

Wouldn't absolute paths be slightly more stable?!

Best,
Michael

Attachment: pgp6jM1YWs8mV.pgp
Description: PGP signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to