Opened 11 years ago

Last modified 10 years ago

#37066 closed defect

p5-shell-parser: sed: RE error: illegal byte sequence — at Version 1

Reported by: amadeus24 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: mountainlion Cc: blair.christensen@…, ryandesign@…
Port: p5-shell-parser

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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}"

Change History (2)

Changed 11 years ago by amadeus24

Attachment: main.log added

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

Cc: blair.christensen@… ryandesign@… added
Description: modified (diff)
Keywords: mountainlion added; p5-shell-parser won't build removed
Summary: p5-shell-parser won't buildp5-shell-parser: sed: RE error: illegal byte sequence

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.

Note: See TracTickets for help on using tickets.