Opened 16 years ago

Closed 14 years ago

#14636 closed defect (wontfix)

files in /Library/Java/Extensions can break hamcrest-core build

Reported by: jmroot (Joshua Root) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.99
Keywords: Cc:
Port: hamcrest-core

Description

Build fails for hamcrest-core on Leopard/x86. Full log attached.

Attachments (2)

hamcrest-core.log (8.1 KB) - added by jmroot (Joshua Root) 16 years ago.
build log
main.log (10.9 KB) - added by jmroot (Joshua Root) 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 16 years ago by jmroot (Joshua Root)

Attachment: hamcrest-core.log added

build log

comment:1 Changed 16 years ago by nox@…

Resolution: worksforme
Status: newclosed

I can't reproduce this one:

Bellcross:hamcrest-core nox$ sudo port -d build
DEBUG: Changing to port directory: /Users/nox/src/MacPorts/dports/java/hamcrest-core
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Requested variant darwin is not provided by port hamcrest-core.
DEBUG: Requested variant i386 is not provided by port hamcrest-core.
DEBUG: Requested variant macosx is not provided by port hamcrest-core.
DEBUG: Changing to port directory: /Users/nox/src/MacPorts/dports/java/hamcrest-core
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Requested variant darwin is not provided by port hamcrest-core.
DEBUG: Requested variant i386 is not provided by port hamcrest-core.
DEBUG: Requested variant macosx is not provided by port hamcrest-core.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/apache-ant
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/apache-ant
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Requested variant i386 is not provided by port apache-ant.
DEBUG: Requested variant macosx is not provided by port apache-ant.
DEBUG: Executing variant darwin provides darwin
DEBUG: Searching for dependency: apache-ant
DEBUG: Found Dependency: receipt exists for apache-ant
DEBUG: Executing org.macports.main (hamcrest-core)
--->  Fetching hamcrest-core
DEBUG: Executing org.macports.fetch (hamcrest-core)
--->  hamcrest-1.1.tgz doesn't seem to exist in /opt/local/var/macports/distfiles/hamcrest
--->  Attempting to fetch hamcrest-1.1.tgz from http://hamcrest.googlecode.com/files/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1630k  100 1630k    0     0   147k      0  0:00:11  0:00:11 --:--:--  161k
--->  Verifying checksum(s) for hamcrest-core
DEBUG: Executing org.macports.checksum (hamcrest-core)
--->  Checksumming hamcrest-1.1.tgz
DEBUG: Correct (md5) checksum for hamcrest-1.1.tgz
DEBUG: Correct (sha1) checksum for hamcrest-1.1.tgz
DEBUG: Correct (rmd160) checksum for hamcrest-1.1.tgz
--->  Extracting hamcrest-core
DEBUG: Executing org.macports.extract (hamcrest-core)
--->  Extracting hamcrest-1.1.tgz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/hamcrest/hamcrest-1.1.tgz
DEBUG: Environment: "MACOSX_DEPLOYMENT_TARGET"='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work" && gzip -dc /opt/local/var/macports/distfiles/hamcrest/hamcrest-1.1.tgz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (hamcrest-core)
--->  Configuring hamcrest-core
DEBUG: Executing org.macports.configure (hamcrest-core)
DEBUG: Using compiler 'Mac OS X gcc 4.0'
--->  Building hamcrest-core with target core
DEBUG: Executing org.macports.build (hamcrest-core)
DEBUG: Environment: "MACOSX_DEPLOYMENT_TARGET"='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1" && ant core -Dversion=1.1'
Buildfile: build.xml

generator:
    [mkdir] Created dir: /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/temp/hamcrest-generator-1.1-nodeps.jar.contents
    [javac] Compiling 11 source files to /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/temp/hamcrest-generator-1.1-nodeps.jar.contents
     [copy] Copying 1 file to /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/temp/hamcrest-generator-1.1-nodeps.jar.contents
     [copy] Copying 11 files to /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/temp/hamcrest-generator-1.1-nodeps.jar.contents
      [jar] Building jar: /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/hamcrest-generator-1.1-nodeps.jar
   [jarjar] Building jar: /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/hamcrest-generator-1.1.jar

core:
    [mkdir] Created dir: /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/hamcrest-core-1.1.jar.contents
    [javac] Compiling 20 source files to /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/hamcrest-core-1.1.jar.contents
     [copy] Copying 1 file to /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/hamcrest-core-1.1.jar.contents
     [copy] Copying 22 files to /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/hamcrest-core-1.1.jar.contents
      [jar] Building jar: /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/hamcrest-core-1.1.jar
    [mkdir] Created dir: /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/hamcrest-core/generated-code
     [java] Generating org.hamcrest.CoreMatchers
     [java]              [T] is(Matcher<T> matcher)
     [java]              [T] is(T value)
     [java]         [Object] is(Class<?> type)
     [java]              [T] not(Matcher<T> matcher)
     [java]              [T] not(T value)
     [java]              [T] equalTo(T operand)
     [java]         [Object] instanceOf(Class<?> type)
     [java]              [T] allOf(Matcher<? extends T>... matchers)
     [java]              [T] allOf(Iterable<Matcher<? extends T>> matchers)
     [java]              [T] anyOf(Matcher<? extends T>... matchers)
     [java]              [T] anyOf(Iterable<Matcher<? extends T>> matchers)
     [java]              [T] sameInstance(T object)
     [java]              [T] anything()
     [java]              [T] anything(String description)
     [java]              [T] any(Class<T> type)
     [java]              [T] nullValue()
     [java]              [T] nullValue(Class<T> type)
     [java]              [T] notNullValue()
     [java]              [T] notNullValue(Class<T> type)
     [java]              [T] describedAs(String description, Matcher<T> matcher, Object... values)
    [javac] Compiling 1 source file to /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/hamcrest-core-1.1.jar.contents
     [copy] Copying 1 file to /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/temp/build/hamcrest-core-1.1.jar.contents
      [jar] Building jar: /opt/local/var/macports/build/_Users_nox_src_MacPorts_dports_java_hamcrest-core/work/hamcrest-1.1/build/hamcrest-core-1.1.jar

BUILD SUCCESSFUL
Total time: 3 seconds

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Port: hamcrest-core added
Resolution: worksforme
Status: closedreopened
Version: 1.6.01.9.99

I just hit this again, now on 10.6/x86_64.

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from nox@… to macports-tickets@…
Status: reopenednew

Changed 14 years ago by jmroot (Joshua Root)

Attachment: main.log added

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed
Summary: hamcrest-core build failurefiles in /Library/Java/Extensions can break hamcrest-core build

Seems I had some conflicting cruft in /Library/Java. I'm not going to bother trying to figure out a way to avoid using it.

Note: See TracTickets for help on using tickets.