#25486: sed error when installing swig -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: reinplace sed | Port: swig -------------------------------+-------------------------------------------- I get the following when trying to install swig: {{{ sudo port -ud upgrade swig ... DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_swig/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/swig/swig-2.0.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: patch phase started at Thu Jul 1 08:04:07 MDT 2010 DEBUG: Executing org.macports.patch (swig) DEBUG: Executing proc-post-org.macports.patch-patch-0 DEBUG: /usr/local/bin/sed: -e expression #1, char 26: Invalid character class name while executing "exec /usr/local/bin/sed {s/[[:<:]]sed[[:>:]]/gsed/g} < /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_dev..." ("eval" body line 1) invoked from within "eval exec $cmdline" Error: reinplace: /usr/local/bin/sed: -e expression #1, char 26: Invalid character class name Error: Target org.macports.patch returned: reinplace sed(1) failed DEBUG: Backtrace: reinplace sed(1) failed }}} Looks like the reinplace line of the Portfile needs work. Thanks, Jonathan -- Ticket URL: <http://trac.macports.org/ticket/25486> MacPorts <http://www.macports.org/> Ports system for Mac OS