Bug#906384: lucene-solr: FTBFS in buster/sid

Santiago Vila sanvila at debian.org
Fri Aug 17 12:20:37 BST 2018


Package: src:lucene-solr
Version: 3.6.2+dfsg-13
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with maven_repo_helper
   dh_update_autotools_config -i
   dh_autoreconf -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg'
# Link in jars from /usr/share/java rather
# than patching the build process
for pkg in `cat debian/build-jars`; \
do \
	ln -sf `echo $pkg | cut -d : -f 1` `echo $pkg | cut -d : -f 2`; \
done
ln: failed to create symbolic link './lucene/lib/ant.jar': No such file or directory
ln: failed to create symbolic link './lucene/lib/junit4.jar': No such file or directory

[... snipped ...]

prep-lucene-jars:

lucene-jars-to-solr:
     [copy] Copying 11 files to /<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/solr/build/lucene-libs

dist:
     [exec] Execute failed: java.io.IOException: Cannot run program "svnversion" (in directory "/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/solr/webapp"): error=2, No such file or directory
     [echo] Building solr...

contribs-add-to-war:
    [mkdir] Created dir: /<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/solr/build/web
     [echo] Building solr-analysis-extras...

add-to-war:
     [echo] Building solr-clustering...

add-to-war:
     [echo] Building solr-dataimporthandler-extras...

add-to-war:
     [echo] Building solr-dataimporthandler...

add-to-war:
     [copy] Copying 2 files to /<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/solr/build/web
     [echo] Building solr-cell...

add-to-war:
     [echo] Building solr-langid...

add-to-war:
     [echo] Building solr-uima...

add-to-war:
     [echo] Building solr-velocity...

add-to-war:
      [war] Building war: /<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/solr/dist/apache-solr-3.6.2.war

BUILD FAILED
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/solr/build.xml:322: The following error occurred while executing this line:
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/solr/webapp/build.xml:65: Problem creating war: /<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/solr/lib/wstx-lgpl.jar

Total time: 16 seconds
make[1]: *** [debian/rules:24: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg'
make: *** [debian/rules:8: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lucene-solr.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the pkg-java-maintainers mailing list