Opened 23 hours ago

Closed 12 hours ago

Last modified 12 hours ago

#70934 closed defect (fixed)

groovyserv: installs pre-built x86_64 binary on non-x86 arch

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: groovyserv

Description

This happens on powerpc:

--->  Fetching distfiles for groovyserv
--->  groovyserv-0.9-macosx-x86_64-bin.zip does not exist in /opt/local/var/macports/distfiles/groovyserv
--->  Attempting to fetch groovyserv-0.9-macosx-x86_64-bin.zip from https://github.com/downloads/kobo/groovyserv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch groovyserv-0.9-macosx-x86_64-bin.zip from http://distfiles.macports.org/groovyserv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  884k  100  884k    0     0   427k      0  0:00:02  0:00:02 --:--:--  427k
--->  Verifying checksums for groovyserv
--->  Checksumming groovyserv-0.9-macosx-x86_64-bin.zip
--->  Extracting groovyserv
--->  Extracting groovyserv-0.9-macosx-x86_64-bin.zip
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_groovyserv/groovyserv/work" && /usr/bin/unzip -q '/opt/local/var/macports/distfiles/groovyserv/groovyserv-0.9-macosx-x86_64-bin.zip' -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_groovyserv/groovyserv/work

It should build from source. If that is impossible, at least it should not install unrelated binaries and rather just fail at pre-fetch.

Change History (2)

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 691588e30a3c5d3a2d6af58664e63a51f566fad1/macports-ports (master):

groovyserv: set supported_archs, platforms; other fixes

Use github portgroup; fixes livecheck. Modernize checksums. Because this
port installs a binary, indicate the architecture of that binary in
supported_archs and indicate platforms {darwin any}. Remove unnecessary
workTarget variable. Simplify to avoid foreach and system. Use leading 0
on octal numbers.

Closes: #70934

comment:2 Changed 12 hours ago by ryandesign (Ryan Carsten Schmidt)

This should take care of the immediate problem by failing early. I filed #70942 to update the port and switch to building from source if possible.

Note: See TracTickets for help on using tickets.