Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#65191 closed defect (wontfix)

ghostscript: is not distributable

Reported by: swilton86 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: ghostscript

Description

Workaround:

  • Set buildfromsource to always in /opt/local/etc/macports/macports.conf.
  • Install by building from source (-s) and without dependencies (-n): sudo port install -s -n ghostscript.
  • Undo previous change to macports.conf.

Log:

:info:archivefetch --->  ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://ema.uk.packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://cph.dk.packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from http://fco.it.packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://jnb.za.packages.macports.org/packages/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from https://kmq.jp.packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ghostscript-9.55.0_0+x11.darwin_19.x86_64.tbz2 from http://atl.us.packages.macports.org/ghostscript
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:error:archivefetch Failed to archivefetch ghostscript: version @9.55.0_0+x11: The requested URL returned error: 404 Not Found

Change History (5)

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

Keywords: mirror 404 removed
Summary: Package doesn't exist in any mirrorsghostscript: Package doesn't exist in any mirrors

That's because we believe we are not legally permitted to distribute a binary of ghostscript.

"ghostscript" is not distributable because its license "agpl" conflicts with license "GPL-2" of dependency "libpaper"

comment:2 Changed 2 years ago by swilton86

OK, I understand.

FWIW, I had buildfromsource set to never because my installation was building everything from source even when binaries were available. An availableasbinary true/false flag on each package might be good because that would allow the CLI to show a message like "Requested package not available as a binary. Change buildfromsource to ifneeded or install with -s."

Happy to close the ticket, though.

comment:3 in reply to:  2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed
Summary: ghostscript: Package doesn't exist in any mirrorsghostscript: is not distributable

Replying to swilton86:

FWIW, I had buildfromsource set to never because my installation was building everything from source even when binaries were available.

I can't explain why that would be the case for you.

An availableasbinary true/false flag on each package might be good

#60315 tracks the request to integrate the distributability checking script into MacPorts base.

because that would allow the CLI to show a message like "Requested package not available as a binary. Change buildfromsource to ifneeded or install with -s."

Sure, several things could be improved once MacPorts base has the ability to know a port's distributability.

comment:4 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

Many Linux and BSD package managers offer binaries of ghostscript AGPL linked to libpaper. I think it would be useful to elaborate why MacPorts cannot also do so. My guess is that it resembles the OpenSSL pre-3.0 situation where a library has to be considered “part of the OS” (which MacPorts is not) for binary distribution of packages with incompatible licenses to be allowed.

comment:5 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.