Source: maven-indexer
Version: 5.1.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Tags: patch

Dear Maintainer,

maven-indexer fails to build from source in unstable/amd64 due
to missing Build-Depends on libregexp-java:

  [..]

  [INFO]
  ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  [INFO]
  ------------------------------------------------------------------------
  [INFO] Failed to resolve artifact.
  
  Missing:
  ----------
  1) jakarta-regexp:jakarta-regexp:jar:debian
  
    Try downloading the file manually from the project website.
  
    Then, install it using the command: 
        mvn install:install-file -DgroupId=jakarta-regexp
        -DartifactId=jakarta-regexp -Dversion=debian -Dpackaging=jar
        -Dfile=/path/to/file
  
    Alternatively, if you host your own repository you can deploy the
    file there: 
        mvn deploy:deploy-file -DgroupId=jakarta-regexp
        -DartifactId=jakarta-regexp -Dversion=debian -Dpackaging=jar
        -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  
    Path to dependency: 
        1) org.apache.maven.indexer:indexer-core:jar:5.1.1
        2) org.apache.lucene:lucene-highlighter:jar:debian
        3) org.apache.lucene:lucene-queries:jar:debian
        4) jakarta-regexp:jakarta-regexp:jar:debian
  
  ----------
  1 required artifact is missing.
  
  for artifact: 
    org.apache.maven.indexer:indexer-core:jar:5.1.1
  
  from the specified remote repositories:
    central (https://repo1.maven.org/maven2)
  
  
  
  NOTE: Maven is executing in offline mode. Any artifacts not already in
  your local
  repository will be inaccessible.
  
  
  [INFO]
  ------------------------------------------------------------------------
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  ------------------------------------------------------------------------
  [INFO] Total time: 2 seconds
  [INFO] Finished at: Sun Aug 30 18:54:26 BST 2015
  [INFO] Final Memory: 23M/424M
  [INFO]
  ------------------------------------------------------------------------
  /usr/share/cdbs/1/class/maven.mk:93: recipe for target 'mvn-build'
  failed
  make: *** [mvn-build] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: source package maven-indexer
dpkg-buildpackage: source version 5.1.1-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andrew Ross <ubu...@rossfamily.co.uk>
 dpkg-source --before-build maven-indexer-5.1.1
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
test -x debian/rules
mkdir -p "."
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar 
-Dproperties.file.manual=/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/debian/maven.properties
 -Dclassworlds.conf=/etc/maven2/m2-debian.conf 
org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml 
-Dmaven.repo.local=/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/debian/maven-repo
  clean
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Maven :: Indexer
[INFO]   Maven :: Indexer Artifact Utils
[INFO]   Maven :: Indexer Core
[INFO]   Maven :: Indexer CLI
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven :: Indexer
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/target
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven :: Indexer Artifact Utils
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/indexer-artifact/target
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven :: Indexer Core
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/indexer-core/target
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven :: Indexer CLI
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/indexer-cli/target
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Maven :: Indexer ...................................... SUCCESS [0.242s]
[INFO] Maven :: Indexer Artifact Utils ....................... SUCCESS [0.019s]
[INFO] Maven :: Indexer Core ................................. SUCCESS [0.038s]
[INFO] Maven :: Indexer CLI .................................. SUCCESS [0.063s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Aug 30 18:54:18 BST 2015
[INFO] Final Memory: 6M/236M
[INFO] ------------------------------------------------------------------------
rm -f -r 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/debian/maven-repo
 debian/stamp-maven-build
rm -f debian/*.substvars
/usr/bin/make -f debian/rules unpatch-poms
make[1]: Entering directory 
'/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1'
mh_unpatchpoms -plibmaven-indexer-java
rm -f -f debian/stamp-poms-patched
make[1]: Leaving directory 
'/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1'
dh_clean 
mh_unpatchpoms -plibmaven-indexer-java
rm -f -f debian/stamp-poms-patched
mh_clean
 debian/rules build
test -x debian/rules
mkdir -p "."
/usr/share/maven-debian-helper/copy-repo.sh 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/debian
mh_patchpoms -plibmaven-indexer-java --debian-build --keep-pom-version 
--maven-repo=/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/debian/maven-repo
  --build-no-docs
touch debian/stamp-poms-patched
# before-build target may be used to unpatch the pom files, so we need to check 
if
# patching the pom files is needed here, normally not
if [ ! -f pom.xml.save ]; then \
        /usr/bin/make -f debian/rules patch-poms; \
fi
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar 
-Dproperties.file.manual=/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/debian/maven.properties
 -Dclassworlds.conf=/etc/maven2/m2-debian-nodocs.conf 
org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml 
-Dmaven.repo.local=/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/debian/maven-repo
  package
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Maven :: Indexer
[INFO]   Maven :: Indexer Artifact Utils
[INFO]   Maven :: Indexer Core
[INFO]   Maven :: Indexer CLI
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven :: Indexer
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [plexus-component-metadata:generate-metadata {execution: 
process-classes}]
[INFO] [plexus-component-metadata:generate-test-metadata {execution: 
process-test-classes}]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven :: Indexer Artifact Utils
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/indexer-artifact/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 9 source files to 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/indexer-artifact/target/classes
[INFO] [plexus-component-metadata:generate-metadata {execution: 
process-classes}]
[INFO] Discovered 3 component descriptors(s)
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/indexer-artifact/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [plexus-component-metadata:generate-test-metadata {execution: 
process-test-classes}]
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/indexer-artifact/target/indexer-artifact-5.1.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven :: Indexer Core
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/lamby/temp/cdt.20150830180248.vlbvx8fJ7s/maven-indexer-5.1.1/indexer-core/src/main/resources
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) jakarta-regexp:jakarta-regexp:jar:debian

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=jakarta-regexp 
-DartifactId=jakarta-regexp -Dversion=debian -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=jakarta-regexp 
-DartifactId=jakarta-regexp -Dversion=debian -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
        1) org.apache.maven.indexer:indexer-core:jar:5.1.1
        2) org.apache.lucene:lucene-highlighter:jar:debian
        3) org.apache.lucene:lucene-queries:jar:debian
        4) jakarta-regexp:jakarta-regexp:jar:debian

----------
1 required artifact is missing.

for artifact: 
  org.apache.maven.indexer:indexer-core:jar:5.1.1

from the specified remote repositories:
  central (https://repo1.maven.org/maven2)



NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sun Aug 30 18:54:26 BST 2015
[INFO] Final Memory: 23M/424M
[INFO] ------------------------------------------------------------------------
/usr/share/cdbs/1/class/maven.mk:93: recipe for target 'mvn-build' failed
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
__
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