Since May 17 I have been unable to build Jenkins. However,
http://ci.jenkins-ci.org/view/Jenkins%20core/job/jenkins_main_trunk/
shows it should be possible to build, so I must be having a local
problem.

I have tried building on a Mac using:

Apache Maven 3.0.3 (r1075438; 2011-02-28 19:31:09+0200)
Maven home: /usr/share/maven
Java version: 1.6.0_33, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: fi_FI, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"

The problem is:

[INFO] --- maven-license-plugin:1.3:process (default) @ jenkins-war ---
[INFO] Generated
/Users/sami/.jenkins/jobs/Jenkins_core/workspace/war/target/classes/META-INF/licenses.xml
ERROR:  'Invalid byte 1 of 1-byte UTF-8 sequence.'
ERROR:  'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException:
Invalid byte 1 of 1-byte UTF-8 sequence.'
mojoFailed com.cloudbees:maven-license-plugin:1.3(default)
projectFailed org.jenkins-ci.main:jenkins-war:1.472-SNAPSHOT

I have also tried using:

Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-23-generic", arch: "amd64", family: "unix"

Here the problem is:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5:compile
(default-compile) on project jenkins-core: Compilation failure
[ERROR] /vagrant/core/src/main/java/hudson/DescriptorExtensionList.java:[86,35]
incompatible types; no instance(s) of type variable(s) D exist so that
hudson.DescriptorExtensionList<T,D> conforms to
hudson.DescriptorExtensionList<T,D>
[ERROR] found   : <D>hudson.DescriptorExtensionList<T,D>
[ERROR] required: hudson.DescriptorExtensionList<T,D>

I also tried with JDK 7 using:

Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_03, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-23-generic", arch: "amd64", family: "unix"

Here the problem is a test failure:

Failed tests:   testIsSymlink(hudson.UtilTest)

Tests in error:
  testSymlinkInTar(hudson.FilePathTest): Failed to readlink
/vagrant/core/target/hudson5908982466958824227tmp/in/dst/b error=2 No
such file or directory
  testSymlink(hudson.UtilTest): Failed to readlink
/vagrant/core/target/hudson8318807700174701715tmp/x error=2 No such
file or directory

https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins says JDK
1.6 and Maven 3 are required. I believe I have met the requirements
and I have been able to build Jenkins in the past. I run Jenkins on
the Mac mini at home and it builds Jenkins at least once a day. Since
May 17 the build has been failing.

Can anyone help me?

-- Sami

Reply via email to