[MacPorts] #37066: p5-shell-parser: sed: RE error: illegal byte sequence (was: p5-shell-parser won't build)
MacPorts
noreply at macports.org
Tue Nov 20 12:23:58 PST 2012
#37066: p5-shell-parser: sed: RE error: illegal byte sequence
------------------------------+--------------------------------
Reporter: ag@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords: mountainlion
Port: p5-shell-parser |
------------------------------+--------------------------------
Changes (by ryandesign@…):
* keywords: p5-shell-parser won't build => mountainlion
* cc: blair.christensen@…, ryandesign@… (added)
Old description:
> Last lines of build:
>
> :debug:extract chowned
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
> -shell-parser/p5.12-shell-parser/work to macports
> :debug:extract euid/egid changed to: 503/501
> :debug:extract Privilege de-escalation not attempted as not running as
> root.
> :debug:patch patch phase started at Tue Nov 20 20:43:34 CET 2012
> :debug:patch Executing org.macports.patch (p5.12-shell-parser)
> :debug:patch Privilege de-escalation not attempted as not running as
> root.
> :debug:configure configure phase started at Tue Nov 20 20:43:34 CET 2012
> :notice:configure ---> Configuring p5.12-shell-parser
> :debug:configure Using compiler 'Mac OS X clang'
> :debug:configure Executing org.macports.configure (p5.12-shell-parser)
> :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe
> -O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2'
> LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8'
> CXX='/usr/bin/clang++'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
> -shell-parser/p5.12-shell-parser/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe
> -O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-pipe -O2' OBJC='/usr/bin/clang'
> INSTALL='/usr/bin/install -c' PERL_AUTOINSTALL='--skipdeps'
> OBJCFLAGS='-pipe -O2' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES'
> CC='/usr/bin/clang'
> :debug:configure Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
> -shell-parser/p5.12-shell-parser/work/Shell-Parser-0.04" &&
> /opt/local/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor
> CC="/usr/bin/clang" LD="/usr/bin/clang"'
> :debug:configure Executing command line: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
> -shell-parser/p5.12-shell-parser/work/Shell-Parser-0.04" &&
> /opt/local/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor
> CC="/usr/bin/clang" LD="/usr/bin/clang"
> :info:configure Checking if your kit is complete...
> :info:configure Looks good
> :info:configure Writing Makefile for Shell::Parser
> :debug:configure Executing proc-post-org.macports.configure-configure-0
> :info:configure sed: RE error: illegal byte sequence
> :info:configure Command failed: find
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
> -shell-parser/p5.12-shell-parser/work/Shell-Parser-0.04 -name Makefile
> -type f -print0 | xargs -0 /usr/bin/sed -i "" '/^CCFLAGS *=/s/$/ /' ;
> :info:configure Exit code: 1
> :error:configure org.macports.configure for port p5.12-shell-parser
> returned: command execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: command execution failed
> while executing
> "$post $targetname"
> :info:configure Warning: targets not executed for p5.12-shell-parser:
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :error:configure Failed to install p5.12-shell-parser
> :debug:configure Registry error: p5.12-shell-parser not registered as
> installed & active.
> invoked from within
> "registry_active ${subport}"
> invoked from within
> "$workername eval registry_active \${subport}"
New description:
Last lines of build:
{{{
:debug:extract chowned
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-shell-parser/p5.12-shell-parser/work to macports
:debug:extract euid/egid changed to: 503/501
:debug:extract Privilege de-escalation not attempted as not running as
root.
:debug:patch patch phase started at Tue Nov 20 20:43:34 CET 2012
:debug:patch Executing org.macports.patch (p5.12-shell-parser)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Tue Nov 20 20:43:34 CET 2012
:notice:configure ---> Configuring p5.12-shell-parser
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (p5.12-shell-parser)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe
-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2'
LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8'
CXX='/usr/bin/clang++'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-shell-parser/p5.12-shell-parser/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe
-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-pipe -O2' OBJC='/usr/bin/clang'
INSTALL='/usr/bin/install -c' PERL_AUTOINSTALL='--skipdeps'
OBJCFLAGS='-pipe -O2' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES'
CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-shell-parser/p5.12-shell-parser/work/Shell-Parser-0.04" &&
/opt/local/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
LD="/usr/bin/clang"'
:debug:configure Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-shell-parser/p5.12-shell-parser/work/Shell-Parser-0.04" &&
/opt/local/bin/perl5.12 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
LD="/usr/bin/clang"
:info:configure Checking if your kit is complete...
:info:configure Looks good
:info:configure Writing Makefile for Shell::Parser
:debug:configure Executing proc-post-org.macports.configure-configure-0
:info:configure sed: RE error: illegal byte sequence
:info:configure Command failed: find
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5
-shell-parser/p5.12-shell-parser/work/Shell-Parser-0.04 -name Makefile
-type f -print0 | xargs -0 /usr/bin/sed -i "" '/^CCFLAGS *=/s/$/ /' ;
:info:configure Exit code: 1
:error:configure org.macports.configure for port p5.12-shell-parser
returned: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: command execution failed
while executing
"$post $targetname"
:info:configure Warning: targets not executed for p5.12-shell-parser:
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:error:configure Failed to install p5.12-shell-parser
:debug:configure Registry error: p5.12-shell-parser not registered as
installed & active.
invoked from within
"registry_active ${subport}"
invoked from within
"$workername eval registry_active \${subport}"
}}}
--
Comment:
A common error seen on Mountain Lion, fixed by setting LANG to C at the
appropriate point. In this case, the appropriate point will have to be the
post-configure procedure in the perl5 portgroup.
--
Ticket URL: <https://trac.macports.org/ticket/37066#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list