Bug#842190: eclipse-platform: /usr/bin/eclipse ignores -configuration before initialisation

Ximin Luo infinity0 at debian.org
Wed Oct 26 19:00:17 UTC 2016

Package: eclipse-platform
Version: 3.8.1-10
Severity: important

Dear Maintainer,

I need to run eclipse in order to build a package. To "be safe" I am setting
-configuration, -user and -data to a temporary build directory. However, this
breaks in pbuilder because /usr/bin/eclipse contains a greedy check to see if
~/.eclipse exists, and if not it calls `$ECLIPSE -clean -initialize`.

This breaks in pbuilder because ~/.eclipse is not writable. However, that is
precisely why I gave it a -configuration option in the first place, which
/usr/bin/eclipse ignores in this particular case.

Setting PATH=/usr/lib/eclipse:$PATH works around the problem.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable'), (300, 'unstable'), (200, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages eclipse-platform depends on:
ii  ant                            1.9.7-3
ii  ant-optional                   1.9.7-3
ii  default-jre [java6-runtime]    2:1.8-57
ii  eclipse-platform-data          3.8.1-10
ii  eclipse-rcp                    3.8.1-10
ii  gconf-service                  3.2.6-3
ii  java-common                    0.57
ii  libc6                          2.23-5
ii  libcommons-codec-java          1.10-1
ii  libcommons-httpclient-java     3.1-12
ii  libcommons-logging-java        1.2-1
ii  libgconf-2-4                   3.2.6-3
ii  libglib2.0-0                   2.49.6-1
ii  libjetty9-java                 9.2.19-2
ii  libjsch-java                   0.1.54-1
ii  liblucene2-java                2.9.4+ds1-6
ii  libservlet3.1-java             8.0.36-2
ii  openjdk-6-jre [java6-runtime]  6b39-1.13.11-1
ii  openjdk-7-jre [java6-runtime]  7u111-2.6.7-1~deb8u1
ii  openjdk-8-jre [java6-runtime]  8u102-b14.1-2
ii  sat4j                          2.3.3-1

Versions of packages eclipse-platform recommends:
ii  eclipse-pde  3.8.1-8

Versions of packages eclipse-platform suggests:
ii  eclipse-jdt  3.8.1-8

Versions of packages eclipse-platform is related to:
ii  eclipse-jdt  3.8.1-8
ii  eclipse-pde  3.8.1-8

-- no debconf information

More information about the pkg-java-maintainers mailing list