[MacPorts] #25486: sed error when installing swig
#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
#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 -------------------------------+-------------------------------------------- Comment(by jmr@…): WFM. /usr/local/bin/sed is unsupported. -- Ticket URL: <http://trac.macports.org/ticket/25486#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25486: sed error when installing swig --------------------------------+------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: reinplace sed Port: swig | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * status: new => closed * resolution: => invalid Comment: Right. Please remove /usr/local/bin/sed and ideally anything else you have in /usr/local, clean the affected port (i.e. "`sudo port clean swig`") and try again. -- Ticket URL: <http://trac.macports.org/ticket/25486#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25486: sed error when installing swig --------------------------------+------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: reinplace sed Port: swig | --------------------------------+------------------------------------------- Comment(by jjstickel@…): My apologies. I kept a convenience symlink /usr/local/bin/sed -> /opt/local/bin/gsed which apparently caused a problem here. -- Ticket URL: <http://trac.macports.org/ticket/25486#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts