Re: hc2vpp compile error


Michal Cmarada
 

No worries, I am glad it helped.

 

Regards,

 

Michal

 

Michal Cmarada

Engineer - Software

mcmarada@...

Tel:

 

 

 

 

Cisco Systems, Inc.

 

 

 

Slovakia

cisco.com

Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

Please click here for Company Registration Information.

 

 

From: hc2vpp@... <hc2vpp@...> On Behalf Of tianye
Sent: Thursday, October 25, 2018 2:25 AM
To: hc2vpp@...
Subject: Re: [hc2vpp] hc2vpp compile error

 

After downgrade my JAVA to version 8, the build finished successfully.

Sorry for disturbing.

 

nick@nick-VirtualBox:~/segw/hc2vpp$ dpkg -l|grep jdk

rc  openjdk-11-jre-headless:amd64              10.0.2+13-1ubuntu0.18.04.2          amd64        OpenJDK Java runtime, using Hotspot JIT (headless)

ii  openjdk-8-jdk-headless:amd64               8u181-b13-0ubuntu0.18.04.1          amd64        OpenJDK Development Kit (JDK) (headless)

ii  openjdk-8-jre-headless:amd64               8u181-b13-0ubuntu0.18.04.1          amd64        OpenJDK Java runtime, using Hotspot JIT (headless)

 

From: tianye [mailto:tianye2@...]
Sent: Wednesday, October 24, 2018 2:14 PM
To: 'hc2vpp@...'
Subject: hc2vpp compile error

 

Hello Everyone:

 

I used my Ubuntu 18.04 VM to compile the hc2vpp 1.18.07, the command I ran just like following web page(Manual build):

https://docs.fd.io/hc2vpp/1.18.07/hc2vpp-parent/release-notes-aggregator/install_manual_build.html

 

git clone https://gerrit.fd.io/r/hc2vpp

git checkout stable/1807

add a ~/.m2/settings.xml file like the “manual build” web page said

./hc2vpp/jvpp/install_from_package.sh   à OK, SUCCESS

cd hc2vpp/

mvn clean install -DskipTests -Dcheckstyle.skip -Dmaven.javadoc.skip=true -Djacoco.skip à Failed

 

Issue1: Many download failed from http://nexus.codehaus.org, but it’s look like a none-blocking issue since I found the same issue at your Jenkins build log.

downloading from codehaus-snapshots: http://nexus.codehaus.org/snapshots/io/fd/honeycomb/common/common-scripts/1.19.01-SNAPSHOT/maven-metadata.xml

[[1;33mWARNING[m] Could not transfer metadata io.fd.honeycomb.common:common-scripts:1.19.01-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (http://nexus.codehaus.org/snapshots/): nexus.codehaus.org: Name or service not known

 

Issue2:

…several success project…

[[1;34mINFO[m] hc2vpp-common-aggregator ........................... [1;32mSUCCESS[m [  0.279 s]

[[1;34mINFO[m] naming-context-api ................................. [1;31mFAILURE[m [  5.423 s]

[[1;34mINFO[m] vpp-impl-parent .................................... [1;33mSKIPPED[m

…all of the following project has been skipped…

[[1;31mERROR[m] Failed to execute goal

[32morg.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile[m [1m(default-compile)[m on project [36mnaming-context-api[m:

[1;31mFatal error compiling[m: CompilerException: InvocationTargetException: java.nio.file.NotDirectoryException: /usr/lib/jvm/java-11-openjdk-amd64/lib/modules -> [1m[Help 1][m

 

Is there anyone met this kind of issue and can you tell me how to fix it?

电子邮件(包括任何的附件)为本公司保密文件。本文件仅仅可为以上指定的收件人或公司使用,如果阁下非电子邮件所指定之收件人,那么阁下对该邮件部分或全部的泄漏、阅览、复印、变更、散布或对邮件内容的使用都是被严格禁止的。如果阁下接收了该错误传送的电子邮件,敬请阁下通过回复该邮件的方式立即通知寄件人,同时删除你所接收到的文本。 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Join hc2vpp@lists.fd.io to automatically receive all group messages.