Opened 8 years ago
Closed 7 years ago
#53669 closed defect (fixed)
ghostscript @9.19: Warning: reinplace s|#!/usr/bin/perl|#!/opt/local/bin/perl| didn't change anything in /opt/local/var/macports/build/
Reported by: | herrmanthegerman (Dan Kå) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | herrmanthegerman (Dan Kå), dstrubbe (David Strubbe) | |
Port: | ghostscript |
Description
This is not an error but just about a (MacPorts?) patch that was ineffective.
During an installation, ghostscript @9.19_0+x11 was installed. The installation log contained the following warning.
---> Fetching archive for ghostscript ---> Attempting to fetch ghostscript-9.19_0+x11.darwin_14.x86_64.tbz2 from https://packages.macports.org/ghostscript ---> Attempting to fetch ghostscript-9.19_0+x11.darwin_14.x86_64.tbz2 from http://osl.no.packages.macports.org/ghostscript ---> Attempting to fetch ghostscript-9.19_0+x11.darwin_14.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/ghostscript/ghostscript ---> Fetching distfiles for ghostscript ---> Attempting to fetch ghostscript-9.19.tar.gz from https://distfiles.macports.org/ghostscript ---> Attempting to fetch ghostscript-fonts-other-6.0.tar.gz from https://distfiles.macports.org/ghostscript ---> Attempting to fetch ghostscript-fonts-std-8.11.tar.gz from https://distfiles.macports.org/ghostscript ---> Attempting to fetch 0bdcfbe5e394d4519e5969918c34d4eebf76a386.zip from https://distfiles.macports.org/ghostscript ---> Verifying checksums for ghostscript ---> Extracting ghostscript ---> Applying patches to ghostscript Warning: reinplace s|#!/usr/bin/perl|#!/opt/local/bin/perl| didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.19/freetype_local/src/tools/afblue.pl ---> Configuring ghostscript ---> Building ghostscript
These are my conclusions:
It's about patching the shebang of the file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.19/freetype_local/src/tools/afblue.pl
Obviously, the sed expression intends to change the path to the PERL interpreter in the file afblue.pl, however, said file contains an unexpected space so the regular expressions does not match, as can be seen here:
$ head /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.19/freetype_local/src/tools/afblue.pl #! /usr/bin/perl -w # -*- Perl -*- # # afblue.pl # # Process a blue zone character data file. # # Copyright 2013, 2014 by # David Turner, Robert Wilhelm, and Werner Lemberg. #
Mind the space between "#!" and "/usr/bin/perl".
Change History (6)
comment:1 Changed 8 years ago by herrmanthegerman (Dan Kå)
Cc: | herrmanthegerman added |
---|
comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | herrmanthegerman removed |
---|---|
Port: | ghostscript added |
Summary: | Warning: reinplace s|#!/usr/bin/perl|#!/opt/local/bin/perl| didn't change anything in /opt/local/var/macports/build/ → ghostscript @9.19: Warning: reinplace s|#!/usr/bin/perl|#!/opt/local/bin/perl| didn't change anything in /opt/local/var/macports/build/ |
comment:3 Changed 8 years ago by herrmanthegerman (Dan Kå)
Cc: | herrmanthegerman added |
---|
comment:4 follow-up: 5 Changed 8 years ago by ptiLuc (Sebastian Becker)
comment:5 Changed 8 years ago by neverpanic (Clemens Lang)
comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dstrubbe added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Still the same with 9.21:
Can somebody fix that please!