[MacPorts] #53669: Warning: reinplace s|#!/usr/bin/perl|#!/opt/local/bin/perl| didn't change anything in /opt/local/var/macports/build/
MacPorts
noreply at macports.org
Wed Mar 1 09:53:12 UTC 2017
#53669: Warning: reinplace s|#!/usr/bin/perl|#!/opt/local/bin/perl| didn't change
anything in /opt/local/var/macports/build/
------------------------------+-------------------
Reporter: herrmanthegerman | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Keywords: | Port:
------------------------------+-------------------
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".
--
Ticket URL: <https://trac.macports.org/ticket/53669>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list