Opened 12 years ago

Closed 12 years ago

#38531 closed defect (duplicate)

groovy @2.1.1 - build failed (can't download gradle-1.3)

Reported by: tsitelov (Dmitry Tsitelov) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: groovy

Description

port install fails:

port install groovy
--->  Fetching archive for groovy
--->  Attempting to fetch groovy-2.1.1_0.darwin_12.noarch.tbz2 from http://lil.fr.packages.macports.org/groovy
--->  Attempting to fetch groovy-2.1.1_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/groovy
--->  Attempting to fetch groovy-2.1.1_0.darwin_12.noarch.tbz2 from http://packages.macports.org/groovy
--->  Fetching distfiles for groovy
--->  Attempting to fetch groovy-src-2.1.1.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

log file contains following message near the end:

: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.1.1" && ./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.1.1" && ./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.3-bin.zip
:info:build 
:info:build Exception in thread "main" java.io.FileNotFoundException: /opt/local/var/macports/home/.gradle/wrapper/dists/gradle-1.3-bin/6duudkdtsf89ftu9dh8bpgenv0/gradle-1.3-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.1.1" && ./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 44172 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 (2)

comment:1 Changed 12 years ago by tsitelov (Dmitry Tsitelov)

Port: groovy

comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)

Port: groovy added
Resolution: duplicate
Status: newclosed

Duplicate of #36646.

Note: See TracTickets for help on using tickets.