daisy/pipeline

Cannot build fresh checkout

egli opened this issue · 5 comments

egli commented

Expected Behavior

I'm trying to build a fresh checkout. Ultimately I want to create a deb with a newer version of liblouis. But for now I just want to checkout the repo and buid a deb.

Actual Behavior

$ cd tmp
$ git clone git@github.com:daisy/pipeline.git pipeline-upstream
$ cd pipeline-upstream/
$ make dist-deb 
-------------- Build order: -------------
./assembly-make.sh deb
test -e /home/eglic/src/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb
touch /home/eglic/src/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb
cp \
   /home/eglic/src/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb \
   pipeline2-1.14.6-SNAPSHOT_debian.deb
-------------- Environment: -------------
export GRADLE="M2_HOME=/home/eglic/src/pipeline-upstream/.make/target/.gradle-settings /home/eglic/src/pipeline-upstream/.make/gradle.sh -Dorg.ops4j.pax.url.mvn.localRepository="'"'"/home/eglic/src/pipeline-upstream/.maven-workspace"'"'" -Dorg.ops4j.pax.url.mvn.settings="'"'"/home/eglic/src/pipeline-upstream/settings.xml"'"'""
export HOST_PLATFORM=""
export MAKE="make"
export MAKECMDGOALS="dist-deb"
export MAKEFLAGS=""
export MAKELEVEL="1"
export MAKE_TERMERR="/dev/pts/0"
export MAKE_TERMOUT="/dev/pts/0"
export MFLAGS=""
export MVN="/home/eglic/src/pipeline-upstream/.make/mvn"
export MVN_LOCAL_REPOSITORY="/home/eglic/src/pipeline-upstream/.maven-workspace"
export MVN_LOG="cat>>/home/eglic/src/pipeline-upstream/maven.log"
export MVN_PROPERTIES="-Dorg.ops4j.pax.url.mvn.localRepository="'"'"/home/eglic/src/pipeline-upstream/.maven-workspace"'"'" -Dorg.ops4j.pax.url.mvn.settings="'"'"/home/eglic/src/pipeline-upstream/settings.xml"'"'""
export MVN_RELEASE_CACHE_REPO=".maven-cache"
export MVN_SETTINGS="settings.xml"
export MY_DIR=".make"
export PIPELINE_CLIENTLIB_PATH="/home/eglic/src/pipeline-upstream/clientlib/go"
export ROOT_DIR="/home/eglic/src/pipeline-upstream"
export SAXON="/home/eglic/src/pipeline-upstream/.maven-workspace/net/sf/saxon/Saxon-HE/9.4/Saxon-HE-9.4.jar"
export SHELL="/bin/bash"
export TARGET_DIR=".make/target"
-----------------------------------------
--> ./assembly-make.sh deb
make[1]: Entering directory '/home/eglic/src/pipeline-upstream/assembly'
set -o pipefail; \
/home/eglic/src/pipeline-upstream/.make/mvn clean install -Pcopy-artifacts -Pgenerate-release-descriptor -Punpack-updater-linux -Ppackage-deb
Maven exited with value 1. See maven.log for more info.
make[1]: *** [Makefile:303: mvn] Error 1
make[1]: Leaving directory '/home/eglic/src/pipeline-upstream/assembly'

command exited with value 2
make: *** [.make/main.mk:274: .group-eval] Error 2

Steps to Reproduce

See above

Environment

  • Operating system: Ubuntu 21.10
  • Java version:
    openjdk version "1.8.0_312"
    OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~21.10-b07)
    OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)

Ultimately I want to create a deb with a newer version of liblouis.

Wait with that, I'm working on it already. The update is not trivial because there were some changes to how table selection based on metadata works.

It helps if you would add maven.log so that I could maybe see what the problem is without having to run the command.

Wait with that, I'm working on it already.

It's now available on the develop branch.

I could not reproduce.

egli commented

OK, I can also no longer reproduce the problem

$ cd ~/tmp/
$ git clone git@github.com:daisy/pipeline.git pipeline-upstream
Cloning into 'pipeline-upstream'...
remote: Enumerating objects: 118985, done.
remote: Counting objects: 100% (31129/31129), done.
remote: Compressing objects: 100% (7963/7963), done.
remote: Total 118985 (delta 16325), reused 30260 (delta 15803), pack-reused 87856
Receiving objects: 100% (118985/118985), 265.74 MiB | 8.24 MiB/s, done.
Resolving deltas: 100% (58237/58237), done.
Updating files: 100% (16001/16001), done.
$ cd pipeline-upstream/
$ make dist-deb
-------------- Build order: -------------
./assembly-make.sh deb
test -e /home/eglic/tmp/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb
touch /home/eglic/tmp/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb
cp \
   /home/eglic/tmp/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb \
   pipeline2-1.14.6-SNAPSHOT_debian.deb
-------------- Environment: -------------
export GRADLE="M2_HOME=/home/eglic/tmp/pipeline-upstream/.make/target/.gradle-settings /home/eglic/tmp/pipeline-upstream/.make/gradle.sh -Dorg.ops4j.pax.url.mvn.localRepository="'"'"/home/eglic/tmp/pipeline-upstream/.maven-workspace"'"'" -Dorg.ops4j.pax.url.mvn.settings="'"'"/home/eglic/tmp/pipeline-upstream/settings.xml"'"'""
export HOST_PLATFORM=""
export MAKE="make"
export MAKECMDGOALS="dist-deb"
export MAKEFLAGS=""
export MAKELEVEL="1"
export MAKE_TERMERR="/dev/pts/1"
export MAKE_TERMOUT="/dev/pts/1"
export MFLAGS=""
export MVN="/home/eglic/tmp/pipeline-upstream/.make/mvn"
export MVN_LOCAL_REPOSITORY="/home/eglic/tmp/pipeline-upstream/.maven-workspace"
export MVN_LOG="cat>>/home/eglic/tmp/pipeline-upstream/maven.log"
export MVN_PROPERTIES="-Dorg.ops4j.pax.url.mvn.localRepository="'"'"/home/eglic/tmp/pipeline-upstream/.maven-workspace"'"'" -Dorg.ops4j.pax.url.mvn.settings="'"'"/home/eglic/tmp/pipeline-upstream/settings.xml"'"'""
export MVN_RELEASE_CACHE_REPO=".maven-cache"
export MVN_SETTINGS="settings.xml"
export MY_DIR=".make"
export PIPELINE_CLIENTLIB_PATH="/home/eglic/tmp/pipeline-upstream/clientlib/go"
export ROOT_DIR="/home/eglic/tmp/pipeline-upstream"
export SAXON="/home/eglic/tmp/pipeline-upstream/.maven-workspace/net/sf/saxon/Saxon-HE/9.4/Saxon-HE-9.4.jar"
export SHELL="/bin/bash"
export TARGET_DIR=".make/target"
-----------------------------------------
--> ./assembly-make.sh deb
make[1]: Entering directory '/home/eglic/tmp/pipeline-upstream/assembly'
set -o pipefail; \
/home/eglic/tmp/pipeline-upstream/.make/mvn clean install -Pcopy-artifacts -Pgenerate-release-descriptor -Punpack-updater-linux -Ppackage-deb
Mar 31, 2022 1:57:19 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
Mar 31, 2022 1:57:19 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: Retrying request
Mar 31, 2022 1:57:28 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
Mar 31, 2022 1:57:28 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: Retrying request
test -e /home/eglic/tmp/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb
make[1]: Leaving directory '/home/eglic/tmp/pipeline-upstream/assembly'
--> test -e /home/eglic/tmp/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb
--> touch /home/eglic/tmp/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb
--> cp \
   /home/eglic/tmp/pipeline-upstream/.maven-workspace/org/daisy/pipeline/assembly/1.14.6-SNAPSHOT/assembly-1.14.6-SNAPSHOT.deb \
   pipeline2-1.14.6-SNAPSHOT_debian.deb