Changeset 100530 for trunk/dports/java


Ignore:
Timestamp:
Dec 14, 2012, 9:49:21 PM (6 years ago)
Author:
blair@…
Message:

zeroc-ice35-java: pass -Djava.awt.headless=true to try to fix buildbot failure.

---> Configuring zeroc-ice35-java
DEBUG: Using compiler 'Mac OS X clang'
DEBUG: Executing org.macports.configure (zeroc-ice35-java)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Fri Dec 14 12:56:35 PST 2012
---> Building zeroc-ice35-java
DEBUG: Executing org.macports.build (zeroc-ice35-java)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_java_zeroc-ice35-java/zeroc-ice35-java/work/.CC_PRINT_OPTIONS' ANT_OPTS='-Xmx512m' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' ICE_HOME='/opt/local' JAVA_HOME='/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home' CLASSPATH='/opt/local/lib/db46/db.jar:/opt/local/share/java/jgoodies-common.jar:/opt/local/share/java/jgoodies-forms.jar:/opt/local/share/java/jgoodies-looks.jar:/opt/local/share/java/proguard.jar'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_java_zeroc-ice35-java/zeroc-ice35-java/work/Ice-3.5b/java" && ant clean all'
DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_mports_dports_java_zeroc-ice35-java/zeroc-ice35-java/work/Ice-3.5b/java" && ant clean all
Buildfile: /opt/local/var/macports/build/_opt_mports_dports_java_zeroc-ice35-java/zeroc-ice35-java/work/Ice-3.5b/java/build.xml

BUILD FAILED
/opt/local/var/macports/build/_opt_mports_dports_java_zeroc-ice35-java/zeroc-ice35-java/work/Ice-3.5b/java/build.xml:18: The following error occurred while executing this line:
/opt/local/var/macports/build/_opt_mports_dports_java_zeroc-ice35-java/zeroc-ice35-java/work/Ice-3.5b/java/config/common.xml:321: java.lang.InternalError: Can't connect to window server - not enough permissions.

at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
at com.jgoodies.common.base.SystemUtils.isLowResolution(SystemUtils.java:292)
at com.jgoodies.common.base.SystemUtils.<clinit>(SystemUtils.java:208)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.tools.ant.taskdefs.Available.checkClass(Available.java:464)
at org.apache.tools.ant.taskdefs.Available.eval(Available.java:285)
at org.apache.tools.ant.taskdefs.condition.Not.eval(Not.java:47)
at org.apache.tools.ant.taskdefs.condition.And.eval(And.java:42)
at org.apache.tools.ant.taskdefs.ConditionTask.execute(ConditionTask.java:120)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:169)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:229)
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82)
at org.apache.tools.ant.Main.runBuild(Main.java:795)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 0 seconds
Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_java_zeroc-ice35-java/zeroc-ice35-java/work/Ice-3.5b/java" && ant clean all
Exit code: 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/zeroc-ice35-java/Portfile

    r100528 r100530  
    66set real_version 3.5b
    77version         0.0.${real_version}
     8revision        1
    89#set branch      [join [lrange [split ${real_version} .] 0 1] .]
    910set branch      3.5
     
    5354
    5455build.dir       ${worksrcpath}/java
    55 build.env       JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ANT_OPTS=-Xmx512m ICE_HOME=${prefix}
     56build.env       JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ANT_OPTS="-Djava.awt.headless=true -Xmx512m" ICE_HOME=${prefix}
    5657build.cmd       ant
    5758build.target    clean all
    5859
    5960test.run        yes
    60 test.env        JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ANT_OPTS=-Xmx512m ICE_HOME=${prefix} DYLD_LIBRARY_PATH=${prefix}/lib/db46 USE_BIN_DIST=yes
     61test.env        JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ANT_OPTS="-Xmx512m -Djava.awt.headless=true" ICE_HOME=${prefix} DYLD_LIBRARY_PATH=${prefix}/lib/db46 USE_BIN_DIST=yes
    6162test.cmd        python
    6263test.target     allTests.py
Note: See TracChangeset for help on using the changeset viewer.