Console Output

Gestartet durch Benutzer sk13
[EnvInject] - Loading node environment variables.
Baue in Arbeitsbereich /var/lib/jenkins/jobs/TunDeviceLib/workspace
Cleaning local Directory .
Checking out https://anon.inf.tu-dresden.de/svn/TunDeviceLib/TunDeviceLib/trunk at revision '2018-11-20T11:03:25.855 +0100'
A         .settings
A         .settings/org.eclipse.jdt.core.prefs
A         .settings/org.eclipse.m2e.core.prefs
A         src
A         src/main
A         src/main/c
A         src/main/c/CMakeLists.txt
A         src/main/c/TunDeviceLib.c
A         src/main/c/private.h
A         src/main/c/tuntap-unix-linux.c
A         src/main/c/tuntap-unix.c
A         src/main/c/tuntap-windows.c
A         src/main/c/tuntap.c
A         src/main/c/tuntap.h
A         src/main/c/tuntap_log.c
A         src/main/java
A         src/main/java/org
A         src/main/java/org/it4y
A         src/main/java/org/it4y/jni
A         src/main/java/org/it4y/jni/JNILoader.java
A         src/main/java/org/it4y/jni/libc.java
A         src/main/java/org/it4y/jni/tuntap.java
A         src/main/java/org/it4y/net
A         src/main/java/org/it4y/net/tuntap
A         src/main/java/org/it4y/net/tuntap/TunDevice.java
A         src/main/resources
AU        src/main/resources/TunDeviceLib.dll
A         .classpath
A         .project
A         pom.xml
At revision 20
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
JAVA_HOME=/opt/java/jdk1.8

[EnvInject] - Variables injected successfully.
Parsing POMs
Established TCP socket on 37087
[workspace] $ java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-agent-1.12-alpha-1.jar:/opt/maven/boot/plexus-classworlds-2.5.2.jar:/opt/maven/conf/logging jenkins.maven3.agent.Maven33Main /opt/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-3.27.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-interceptor-1.12-alpha-1.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar 37087
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/TunDeviceLib/workspace/pom.xml -Dmaven.repo.local=/var/lib/jenkins/maven-repositories/1 deploy -Plinux-x64,linux-x86
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building TunDeviceLib 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- cmake-maven-plugin:3.7.2-b1:generate (cmake-generate-linux_64) @ TunDeviceLib ---
[INFO] Using local binaries
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found JNI: /opt/java/jdk1.8/jre/lib/amd64/libjawt.so  
-- JNI_INCLUDE_DIRS=/opt/java/jdk1.8/include;/opt/java/jdk1.8/include/linux;/opt/java/jdk1.8/include
-- JNI_LIBRARIES=/opt/java/jdk1.8/jre/lib/amd64/libjawt.so;/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so
-- Configuring done
-- Generating done
-- Build files have been written to: /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/cmake/linux-x64
[INFO] 
[INFO] --- cmake-maven-plugin:3.7.2-b1:compile (cmake-compile-linux_64) @ TunDeviceLib ---
[INFO] Configured to use native CMake
Scanning dependencies of target TunDeviceLib
[ 16%] Building C object CMakeFiles/TunDeviceLib.dir/TunDeviceLib.c.o
[ 33%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap.c.o
[ 50%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap_log.c.o
[ 66%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix.c.o
[ 83%] Building C object CMakeFiles/TunDeviceLib.dir/tuntap-unix-linux.c.o
[100%] Linking C shared module libTunDeviceLib.so
[100%] Built target TunDeviceLib
Scanning dependencies of target TunDeviceLibTarget
[100%] Built target TunDeviceLibTarget
[INFO] 
[INFO] --- cmake-maven-plugin:3.7.2-b1:generate (cmake-generate-linux_32) @ TunDeviceLib ---
[INFO] Using local binaries
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found JNI: /opt/java/jdk1.8/jre/lib/amd64/libjawt.so  
-- JNI_INCLUDE_DIRS=/opt/java/jdk1.8/include;/opt/java/jdk1.8/include/linux;/opt/java/jdk1.8/include
-- JNI_LIBRARIES=/opt/java/jdk1.8/jre/lib/amd64/libjawt.so;/opt/java/jdk1.8/jre/lib/amd64/server/libjvm.so
-- Configuring done
-- Generating done
-- Build files have been written to: /var/lib/jenkins/jobs/TunDeviceLib/workspace/target/cmake/linux-x86
[INFO] 
[INFO] --- cmake-maven-plugin:3.7.2-b1:compile (cmake-compile-linux_32) @ TunDeviceLib ---
[INFO] Configured to use native CMake
Scanning dependencies of target TunDeviceLib
[ 16%] Building C object CMakeFiles/TunDeviceLib.dir/TunDeviceLib.c.o
In file included from /usr/include/stdio.h:27:0,
                 from /opt/java/jdk1.8/include/jni.h:39,
                 from /var/lib/jenkins/jobs/TunDeviceLib/workspace/src/main/c/TunDeviceLib.c:16:
/usr/include/features.h:364:25: fatal error: sys/cdefs.h: Datei oder Verzeichnis nicht gefunden
 #  include <sys/cdefs.h>
                         ^
compilation terminated.
CMakeFiles/TunDeviceLib.dir/build.make:62: die Regel für Ziel „CMakeFiles/TunDeviceLib.dir/TunDeviceLib.c.o“ scheiterte
make[2]: *** [CMakeFiles/TunDeviceLib.dir/TunDeviceLib.c.o] Fehler 1
CMakeFiles/Makefile2:104: die Regel für Ziel „CMakeFiles/TunDeviceLib.dir/all“ scheiterte
make[1]: *** [CMakeFiles/TunDeviceLib.dir/all] Fehler 2
Makefile:83: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.538 s
[INFO] Finished at: 2018-11-20T11:03:39+01:00
[INFO] Final Memory: 12M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.googlecode.cmake-maven-project:cmake-maven-plugin:3.7.2-b1:compile (cmake-compile-linux_32) on project TunDeviceLib: Return code: 2 -> [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
[JENKINS] Archiving /var/lib/jenkins/jobs/TunDeviceLib/workspace/pom.xml to anon/TunDeviceLib/0.0.1-SNAPSHOT/TunDeviceLib-0.0.1-SNAPSHOT.pom
channel stopped
Finished: FAILURE