Opened 12 years ago

Last modified 10 years ago

#36646 closed defect

Installing Groovy 2.0.5 fails — at Version 1

Reported by: breun (Nils Breunese) Owned by: breskeby@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: groovy

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I tried to install Groovy 2.0.5. from MacPorts, but the build fails:

$ sudo port install groovy
--->  Fetching archive for groovy
--->  Attempting to fetch groovy-2.0.5_0.darwin_12.noarch.tbz2 from http://lil.fr.packages.macports.org/groovy
--->  Attempting to fetch groovy-2.0.5_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/groovy
--->  Attempting to fetch groovy-2.0.5_0.darwin_12.noarch.tbz2 from http://packages.macports.org/groovy
--->  Fetching distfiles for groovy
--->  Attempting to fetch groovy-src-2.0.5.zip from http://lil.fr.distfiles.macports.org/groovy
--->  Verifying checksum(s) for groovy
--->  Extracting groovy
--->  Configuring groovy
--->  Building groovy
Error: org.macports.build for port groovy returned: command execution failed
Please see the log file for port groovy for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port groovy failed

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/main.log contains:

version:1
:debug:main Checking for conflicts against groovy
:debug:main Searching for dependency: groovy-devel
:debug:main Didn't find receipt, going to depspec regex for: groovy-devel
:debug:main Executing org.macports.main (groovy)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (groovy)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (groovy)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (groovy)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (groovy)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (groovy)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (groovy)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Oct 18 16:21:12 CEST 2012
:notice:build --->  Building groovy
:debug:build Executing org.macports.build (groovy)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/work/groovy-2.0.5" && ./gradlew installGroovy -g /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/work'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/work/groovy-2.0.5" && ./gradlew installGroovy -g /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/work 
:info:build Downloading http://services.gradle.org/distributions/gradle-1.2-bin.zip
:info:build 
:info:build Exception in thread "main" java.io.FileNotFoundException: /opt/local/var/macports/home/.gradle/wrapper/dists/gradle-1.2-bin/35oej0jnbfh6of4dd05531edaj/gradle-1.2-bin.zip.part (No such file or directory)
:info:build 	at java.io.FileOutputStream.open(Native Method)
:info:build 	at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
:info:build 	at java.io.FileOutputStream.<init>(FileOutputStream.java:165)
:info:build 	at org.gradle.wrapper.Download.downloadInternal(Download.java:59)
:info:build 	at org.gradle.wrapper.Download.download(Download.java:49)
:info:build 	at org.gradle.wrapper.Install.createDist(Install.java:51)
:info:build 	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
:info:build 	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/work/groovy-2.0.5" && ./gradlew installGroovy -g /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/work 
:info:build Exit code: 1
:error:build org.macports.build for port groovy returned: command execution failed
:debug:build Error code: CHILDSTATUS 42208 1
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for groovy: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port groovy for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_groovy/groovy/main.log

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to breskeby@…
Port: groovy added

Remember to use WikiFormatting, to set the Port field, and to Cc the maintainer of that port.

Note: See TracTickets for help on using tickets.