[MacPorts] #52878: mpv @0.20.0_1-network: Configuration fails due to invalid sed expression
MacPorts
noreply at macports.org
Mon Nov 14 16:11:13 CET 2016
#52878: mpv @0.20.0_1-network: Configuration fails due to invalid sed expression
--------------------+--------------------------------
Reporter: Eitot | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: mpv
--------------------+--------------------------------
Build configuration fails when variant {{{network}}} is deselected. I
presume that the error is caused by this line in the Portfile:
{{{#!bash
reinplace -W "${worksrcpath}/TOOLS" "|@@NETWORK@@|d" config-maintainer
}}}
Replacing the {{{|}}} characters in the expression with something else,
e.g. {{{/}}}, seems to work.
Error log:
{{{
:debug:configure configure phase started at Mon Nov 14 15:32:39 CET 2016
:notice:configure ---> Configuring mpv
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:info:configure ---> Patching config-maintainer: |@@NETWORK@@|d
:debug:configure Executing reinplace: /usr/bin/sed |@@NETWORK@@|d <
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.20.0/TOOLS
/config-maintainer >@ file18 2>@stderr
:debug:configure illegal use of | or |& in command
while executing
"exec /usr/bin/sed |@@NETWORK@@|d <
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_..."
("eval" body line 1)
invoked from within
"eval exec $cmdline"
:error:configure reinplace: illegal use of | or |& in command
:error:configure org.macports.configure for port mpv returned: reinplace
sed(1) failed
:debug:configure Error code: NONE
:debug:configure Backtrace: reinplace sed(1) failed
while executing
"proc-pre-org.macports.configure-configure-0 org.macports.configure"
("eval" body line 1)
invoked from within
"eval $pre $targetname"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52878>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list