zhicwu / docker-biserver-ce

Docker image for Pentaho BI server(community edition). https://hub.docker.com/r/zhicwu/biserver-ce/
38 stars 27 forks source link

Error while building 8.3 version #50

Closed victorsosa closed 5 years ago

victorsosa commented 5 years ago

I was trying to update the base branch to 8.3 and then got this error

[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /org.eclipse.swt.gtk.linux.x86_64-4.6.1.jar to /root/.m2/repository/org/eclipse/swt/org.eclipse.swt.gtk.linux.x86_64/4.6.1/org.eclipse.swt.gtk.linux.x86_64-4.6.1.jar
[INFO] Installing /tmp/mvninstall3451859682394367020.pom to /root/.m2/repository/org/eclipse/swt/org.eclipse.swt.gtk.linux.x86_64/4.6.1/org.eclipse.swt.gtk.linux.x86_64-4.6.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.580 s
[INFO] Finished at: 2019-07-22T22:11:20Z
[INFO] Final Memory: 9M/303M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /syslog4j-0.9.46.jar to /root/.m2/repository/org/syslog4j/syslog4j/0.9.46/syslog4j-0.9.46.jar
[INFO] Installing /tmp/mvninstall6734464320327871163.pom to /root/.m2/repository/org/syslog4j/syslog4j/0.9.46/syslog4j-0.9.46.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.561 s
[INFO] Finished at: 2019-07-22T22:11:22Z
[INFO] Final Memory: 9M/303M
[INFO] ------------------------------------------------------------------------
**[ERROR] Jul 22, 2019 10:29:11 PM java.util.prefs.FileSystemPreferences$1 run
[ERROR] INFO: Created user preferences directory.**

No idea which library could be

victorsosa commented 5 years ago

@zhicwu any ideas?? it will be good to update to last version

victorsosa commented 5 years ago

This is the second try; I got a better log message here:

[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /syslog4j-0.9.46.jar to /root/.m2/repository/org/syslog4j/syslog4j/0.9.46/syslog4j-0.9.46.jar
[INFO] Installing /tmp/mvninstall6036929932908007254.pom to /root/.m2/repository/org/syslog4j/syslog4j/0.9.46/syslog4j-0.9.46.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.551 s
[INFO] Finished at: 2019-07-24T13:34:40Z
[INFO] Final Memory: 8M/240M
[INFO] ------------------------------------------------------------------------
[ERROR] Jul 24, 2019 1:55:28 PM java.util.prefs.FileSystemPreferences$1 run
[ERROR] INFO: Created user preferences directory.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.0:unpack (unpack-plugins) on project pentaho-solutions: Unable to find/resolve artifact.: Could not find artifact org.pentaho.di.plugins:google-bigquery-plugin:zip:8.2.0.0-342 in pentaho-public (http://nexus.pentaho.org/content/groups/omni) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :pentaho-solutions
The command '/bin/sh -c apt-get update  && apt-get install -y libapr1 libaprutil1 libapr1-dev libssl-dev gcc make   && mkdir -p ~/.m2   && wget --progress=dot:giga -P /root/.m2/ https://raw.githubusercontent.com/pentaho/maven-parent-poms/master/maven-support-files/settings.xml   && wget --progress=dot:giga https://github.com/pentaho/pentaho-platform/archive/$BISERVER_RELEASE-R.tar.gz      https://github.com/maven-eclipse/maven-eclipse.github.io/raw/master/maven/org/eclipse/swt/org.eclipse.swt.gtk.linux.x86_64/$ECLIPSE_SWT_VERSION/org.eclipse.swt.gtk.linux.x86_64-$ECLIPSE_SWT_VERSION.jar       http://clojars.org/repo/org/syslog4j/syslog4j/$SYSLOG4J_VERSION/syslog4j-$SYSLOG4J_VERSION.jar  && wget --timeout=5 --waitretry=2 --tries=50 --retry-connrefused --progress=dot:giga https://public.nexus.pentaho.org/content/groups/omni/pentaho/pentaho-karaf-assembly/$BISERVER_VERSION/pentaho-karaf-assembly-$BISERVER_VERSION-client.zip      https://public.nexus.pentaho.org/content/groups/omni/pentaho/pentaho-big-data-plugin/$BISERVER_VERSION/pentaho-big-data-plugin-$BISERVER_VERSION.zip    && mvn install:install-file -Dfile=pentaho-big-data-plugin-$BISERVER_VERSION.zip -DgroupId=pentaho -DartifactId=pentaho-big-data-plugin -Dversion=$BISERVER_VERSION -Dpackaging=zip     && mvn install:install-file -Dfile=pentaho-karaf-assembly-$BISERVER_VERSION-client.zip -DgroupId=pentaho -DartifactId=pentaho-karaf-assembly -Dversion=$BISERVER_VERSION -Dpackaging=zip    && mvn install:install-file -Dfile=org.eclipse.swt.gtk.linux.x86_64-$ECLIPSE_SWT_VERSION.jar -DgroupId=org.eclipse.swt -DartifactId=org.eclipse.swt.gtk.linux.x86_64 -Dversion=$ECLIPSE_SWT_VERSION -Dpackaging=jar     && mvn install:install-file -Dfile=syslog4j-$SYSLOG4J_VERSION.jar -DgroupId=org.syslog4j -DartifactId=syslog4j -Dversion=$SYSLOG4J_VERSION -Dpackaging=jar  && sed -i -e 's|\(/packaging>\)|\1\n  <classifier>client</classifier>|' /root/.m2/repository/pentaho/pentaho-karaf-assembly/$BISERVER_VERSION/pentaho-karaf-assembly-$BISERVER_VERSION.pom  && tar zxf $BISERVER_RELEASE-R.tar.gz   && cd pentaho-platform-$BISERVER_RELEASE-R  && sed -i -e 's|<artifactId>tomcat-windows-x64</artifactId>|<artifactId>tomcat</artifactId>|' assemblies/pentaho-server/pom.xml     && mvn --quiet -DskipTests install  && cd -     && unzip pentaho-platform-$BISERVER_RELEASE-R/assemblies/pentaho-server/target/pentaho-server-ce-$BISERVER_RELEASE*.zip     && rm -rf pentaho-platform-$BISERVER_RELEASE-R  && find $BISERVER_HOME -name "*.bat" -delete    && find $BISERVER_HOME -name "*.exe" -delete    && rm -f $BISERVER_HOME/promptuser.*    && chmod +x $BISERVER_HOME/*.sh     && sed -i -e 's|-XX:MaxPermSize=256m|-XX:MaxMetaspaceSize=256m -Djava.security.egd=file:/dev/./urandom|' $BISERVER_HOME/start-pentaho.sh    && sed -i -e 's|\(<Engine name="Catalina" defaultHost="localhost">\)|\1\n      <Valve className="org.apache.catalina.valves.RemoteIpValve" internalProxies=".*" remoteIpHeader="x-forwarded-for" proxiesHeader="x-forwarded-by" protocolHeader="x-forwarded-proto" />|' $BISERVER_HOME/tomcat/conf/server.xml   && sed -i -e 's|\(exec ".*"\) start|export LD_LIBRARY_PATH=$BISERVER_HOME/tomcat/lib:$LD_LIBRARY_PATH\n\n\1 run|' $BISERVER_HOME/tomcat/bin/startup.sh  && mkdir -p /tmp/build  && cd /tmp/build    && tar zxf $BISERVER_HOME/tomcat/bin/tomcat-native.tar.gz   && cd tomcat-native*/native     && ./configure --prefix=$BISERVER_HOME/tomcat   && make     && make install     && rm -f $BISERVER_HOME/tomcat/bin/tomcat-native.tar.gz     && cd /tmp/build    && wget https://www.openssl.org/source/openssl-1.1.0f.tar.gz    && tar zxf openssl-1.1*.tar.gz  && cd openssl-1.1*  && ./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'     && make     && mv lib*.so.1.1 $BISERVER_HOME/tomcat/lib/.' returned a non-zero code: 1

This is the main error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.0:unpack (unpack-plugins) on project pentaho-solutions: Unable to find/resolve artifact.: Could not find artifact org.pentaho.di.plugins:google-bigquery-plugin:zip:8.2.0.0-342 in pentaho-public (http://nexus.pentaho.org/content/groups/omni) -> [Help 1]

victorsosa commented 5 years ago

never mind, Third try it was a success... I got 8.3-base build

victorsosa commented 5 years ago

@zhicwu I successfully updated to version 8.3, do you want me to create a PR to this project?