[ImageJ-builds] Build failed in Jenkins: ImageJ-launcher » MacOSX #1068

jenkins at imagej.net jenkins at imagej.net
Wed Dec 4 16:59:31 CST 2013


See <http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/1068/changes>

Changes:

[Johannes Schindelin] Specify the groupId and version when configuring the nar-maven-plugin

------------------------------------------
[...truncated 2645 lines...]
[DEBUG]   (f) type = executable
[DEBUG]   (f) subSystem = gui
[DEBUG]   (f) libraries = [Library: type: executable]
[DEBUG]   (f) libtool = false
[DEBUG]   (f) name = gcc
[DEBUG]   (f) options = [null, null]
[DEBUG]   (f) name = dl
[DEBUG]   (f) sysLibs = [com.github.maven_nar.SysLib at 5673cc11]
[DEBUG]   (f) linker = com.github.maven_nar.Linker at 4c5a9c6e
[DEBUG]   (f) localRepository =        id: local
      url: file:///Users/jenkins/.m2/repository/
   layout: none

[DEBUG]   (f) mavenProject = MavenProject: net.imagej:ij-launcher:2.0.3-SNAPSHOT @ /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/pom.xml>
[DEBUG]   (f) onlySpecifiedCompilers = false
[DEBUG]   (f) os = MacOSX
[DEBUG]   (f) outputDirectory = /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/target>
[DEBUG]   (f) remoteArtifactRepositories = [       id: imagej.releases
      url: http://maven.imagej.net/content/repositories/releases
   layout: default
snapshots: [enabled => true, update => daily]
 releases: [enabled => true, update => daily]
,        id: imagej.snapshots
      url: http://maven.imagej.net/content/repositories/snapshots
   layout: default
snapshots: [enabled => true, update => daily]
 releases: [enabled => true, update => daily]
,        id: imagej.thirdparty
      url: http://maven.imagej.net/content/repositories/thirdparty
   layout: default
snapshots: [enabled => true, update => daily]
 releases: [enabled => true, update => daily]
,        id: central
      url: http://repo1.maven.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
]
[DEBUG]   (f) runtime = dynamic
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession at 7cfae78f
[DEBUG]   (f) skip = false
[DEBUG] -- end configuration --
[INFO] Preparing Nar dependencies
[DEBUG] Dependencies contained 0 NAR artifacts.
[DEBUG] Download for NarDependencies {
[DEBUG] }
[INFO] Unpacking 0 dependencies to /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/1068/artifact/target/nar>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/java>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/java>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/java>
[INFO] Compiling 1 native files
[DEBUG] Creating Library Library: type: executable
[DEBUG] getProperty(i386-MacOSX-gcc, maxCores, 0) = 0
[DEBUG] Using com.github.maven_nar.NarLayout21
[DEBUG] getProperty(i386-MacOSX-gcc, output, ij-launcher) = ij-launcher
[DEBUG] NAR - output: '/private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/1068/artifact/target/nar/ij-launcher-2.0.3-SNAPSHOT-i386-MacOSX-gcc-executable/bin/i386-MacOSX-gcc/ij-launcher'>
[DEBUG] getProperty(i386-MacOSX-gcc, failOnError, true) = true
[DEBUG] getProperty(i386-MacOSX-gcc, libtool, false) = false
[DEBUG] getProperty(i386-MacOSX-gcc, runtime, dynamic) = dynamic
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/java>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main>
[DEBUG] Added to sourceDirectory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/java>
[DEBUG] Checking for existence of c source directory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main>
[DEBUG] Checking for existence of c source directory: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/java>
[DEBUG] Dependencies contained 0 NAR artifacts.
[DEBUG] getProperty(i386-MacOSX-gcc, javaHome, /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home) = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
[DEBUG] Adding reference: ant.ComponentHelper
[DEBUG] FileSet: Setup scanner in dir /usr/lib with patternSet{ includes: [libdl.so] excludes: [] }
[DEBUG] Project base dir set to: /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/>
[DEBUG] ConditionalFileSet: Setup scanner in dir /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main> with patternSet{ includes: [**/*.c] excludes: [] }
[DEBUG] ConditionalFileSet: Setup scanner in dir /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/java> with patternSet{ includes: [**/*.c] excludes: [] }
[INFO] 1 total files to be compiled.
[INFO] 1 total files to be compiled.
[INFO] Found 1 processors available
[INFO] Found 1 processors available
[INFO] 
Starting Core 0 with 1 source files...
[INFO] 
Starting Core 0 with 1 source files...
[DEBUG] gcc -I/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/include -c /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/c/ImageJ.c>
[DEBUG] Execute:Java13CommandLauncher: Executing 'gcc' with arguments:
'-I/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/include'
'-c'
'/private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/ws/src/main/c/ImageJ.c'>

The ' characters around the executable and arguments are
not part of the command.
[INFO] Linking...
[INFO] Linking...
[INFO] Starting link {4.2.1 -ldl}
[INFO] Starting link {4.2.1 -ldl}
[DEBUG] gcc -o ij-launcher /private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/1068/artifact/target/nar/obj/i386-MacOSX-gcc/ImageJ.o> -ldl
[DEBUG] Execute:Java13CommandLauncher: Executing 'gcc' with arguments:
'-o'
'ij-launcher'
'/private<http://jenkins.imagej.net/job/ImageJ-launcher/./label=MacOSX/1068/artifact/target/nar/obj/i386-MacOSX-gcc/ImageJ.o'>
'-ldl'

The ' characters around the executable and arguments are
not part of the command.
[ERROR] Undefined symbols:
[ERROR]   "_CFDictionaryGetValue", referenced from:
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _get_fiji_bundle_variable in ImageJ.o
[ERROR]       _get_fiji_bundle_variable in ImageJ.o
[ERROR]   "_CFPropertyListCreateFromXMLData", referenced from:
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]   "_FSResolveAlias", referenced from:
[ERROR]       _resolve_alias in ImageJ.o
[ERROR]   "_CFArrayGetCount", referenced from:
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]   "_CFRunLoopGetCurrent", referenced from:
[ERROR]       _start_ij_macosx in ImageJ.o
[ERROR]   "_FSCopyAliasInfo", referenced from:
[ERROR]       _resolve_alias in ImageJ.o
[ERROR]   "_CFRelease", referenced from:
[ERROR]       _resolve_alias in ImageJ.o
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]       _get_fiji_bundle_variable in ImageJ.o
[ERROR]   "_CFBundleGetMainBundle", referenced from:
[ERROR]       _get_fiji_bundle_variable in ImageJ.o
[ERROR]   "_JNI_CreateJavaVM", referenced from:
[ERROR]       _create_java_vm in ImageJ.o
[ERROR]   "_FSRefMakePath", referenced from:
[ERROR]       _resolve_alias in ImageJ.o
[ERROR]   "_CFRunLoopSourceCreate", referenced from:
[ERROR]       _start_ij_macosx in ImageJ.o
[ERROR]   "_CFURLGetFileSystemRepresentation", referenced from:
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]   "_kCFRunLoopCommonModes", referenced from:
[ERROR]       _start_ij_macosx in ImageJ.o
[ERROR]   "_CFDataGetBytes", referenced from:
[ERROR]       _resolve_alias in ImageJ.o
[ERROR]   "_CFArrayGetValueAtIndex", referenced from:
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]   "_CFStringGetCStringPtr", referenced from:
[ERROR]       _get_fiji_bundle_variable in ImageJ.o
[ERROR]   "_CFStringCreateWithCString", referenced from:
[ERROR]       _get_fiji_bundle_variable in ImageJ.o
[ERROR]   "_CFRunLoopAddSource", referenced from:
[ERROR]       _start_ij_macosx in ImageJ.o
[ERROR]   "_CFStringGetCString", referenced from:
[ERROR]       _convert_cfstring in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]   "___CFConstantStringClassReference", referenced from:
[ERROR]       cfstring=LSArchitecturesForX86_64 in ImageJ.o
[ERROR]       cfstring=org.fiji in ImageJ.o
[ERROR]       cfstring=net.imagej.ImageJ in ImageJ.o
[ERROR]       cfstring=com.apple.JavaVM in ImageJ.o
[ERROR]       cfstring=Versions in ImageJ.o
[ERROR]       cfstring=1.6 in ImageJ.o
[ERROR]       cfstring=1.5 in ImageJ.o
[ERROR]       cfstring=fiji in ImageJ.o
[ERROR]   "_NewHandle", referenced from:
[ERROR]       _resolve_alias in ImageJ.o
[ERROR]   "_DisposeHandle", referenced from:
[ERROR]       _resolve_alias in ImageJ.o
[ERROR]   "_CFRunLoopRun", referenced from:
[ERROR]       _start_ij_macosx in ImageJ.o
[ERROR]   "_CFURLCreateCopyAppendingPathComponent", referenced from:
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]   "_CFStringGetLength", referenced from:
[ERROR]       _convert_cfstring in ImageJ.o
[ERROR]   "_CFBundleGetInfoDictionary", referenced from:
[ERROR]       _get_fiji_bundle_variable in ImageJ.o
[ERROR]   "_CFBundleCopyBundleURL", referenced from:
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]   "_CFDataGetLength", referenced from:
[ERROR]       _resolve_alias in ImageJ.o
[ERROR]   "_CGSessionCopyCurrentDictionary", referenced from:
[ERROR]       _parse_command_line in ImageJ.o
[ERROR]   "_kCFAllocatorDefault", referenced from:
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]   "_CFURLCreateDataAndPropertiesFromResource", referenced from:
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR]   "_CFBundleGetBundleWithIdentifier", referenced from:
[ERROR]       _set_path_to_JVM in ImageJ.o
[ERROR]   "_CFURLCreateFromFileSystemRepresentation", referenced from:
[ERROR]       _force_32_bit_mode in ImageJ.o
[ERROR] ld: symbol(s) not found
[ERROR] collect2: ld returned 1 exit status
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.390s
[INFO] Finished at: Wed Dec 04 16:59:31 CST 2013
[INFO] Final Memory: 16M/39M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.0.0-rc-2:nar-compile (default-nar-compile) on project ij-launcher: NAR: Compile failed: gcc failed with return code 1 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.0.0-rc-2:nar-compile (default-nar-compile) on project ij-launcher: NAR: Compile failed
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: NAR: Compile failed
	at com.github.maven_nar.NarCompileMojo.createLibrary(NarCompileMojo.java:435)
	at com.github.maven_nar.NarCompileMojo.narExecute(NarCompileMojo.java:107)
	at com.github.maven_nar.AbstractNarMojo.execute(AbstractNarMojo.java:322)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: gcc failed with return code 1
	at com.github.maven_nar.cpptasks.compiler.CommandLineLinker.link(CommandLineLinker.java:318)
	at com.github.maven_nar.cpptasks.compiler.CommandLineLinkerConfiguration.link(CommandLineLinkerConfiguration.java:129)
	at com.github.maven_nar.cpptasks.CCTask.execute(CCTask.java:952)
	at com.github.maven_nar.NarCompileMojo.createLibrary(NarCompileMojo.java:431)
	... 23 more
[ERROR] 
[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
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ImageJ-builds mailing list