Package: src:eclipse
Version: 3.8.1-8
User: sanv...@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_testdir -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- provision.cvs
        ant provision.cvs
Buildfile: /<<PKGBUILDDIR>>/build.xml
     [echo] Build log is available in build_20151025202140.log
     [echo] uname -m: x86_64. Build eclipse on x86_64 for x86_64.


[... snipped ...]

   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/81/data/672778795/artifacts.xml
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/81/data/672778795/content.jar
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/90/data/cache.timestamps
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/90/data/listener_1925729951/artifacts.jar
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/90/data/listener_1925729951/content.jar
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/90/data/timestamps190749078
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.update/history/1445801910000.xml
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.update/platform.xml
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/90/data/listener_1925729951
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/90/data
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/81/data/672778795
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/81/data
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/61/data
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/101/data/3818263
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/101/data/232360089
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/101/data/1185816634
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/101/data
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.update/history
   [delete] Deleting 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/eclipse/configuration/org.eclipse.update
    [apply] Applied sed to 5 files and 0 directories.
     [echo] /<<PKGBUILDDIR>>/build/eclipse-3.8.1-src/installation
    [apply] Applied gunzip to 1 file and 0 directories.
    [apply] Applied sed to 1 file and 0 directories.
    [apply] Applied gzip to 1 file and 0 directories.
    [apply] Applied sed to 3 files and 0 directories.
    [mkdir] Created dir: /<<PKGBUILDDIR>>/debian/tmp/etc
     [move] Moving 1 file to /<<PKGBUILDDIR>>/debian/tmp/etc

BUILD SUCCESSFUL
Total time: 1 minute 28 seconds
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_install-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install --indep
dh_install: eclipse-jdt missing files 
(usr/share/eclipse/dropins/jdt/plugins/org.eclipse.ant.launching_*.jar), 
aborting
debian/rules:105: recipe for target 'override_dh_install-indep' failed
make[1]: *** [override_dh_install-indep] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:6: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.

__
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