ports/129211: www/firefox V2.0.18 error in GECKO_PTHREAD_LIBS sed script

RandomUser rannumgen at globaleyes.net
Wed Nov 26 17:00:14 UTC 2008


>Number:         129211
>Category:       ports
>Synopsis:       www/firefox V2.0.18 error in GECKO_PTHREAD_LIBS sed script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 26 17:00:13 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     RandomUser
>Release:        FreeBSD 6.4-PRERELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.4-PRERELEASE #11: Wed Nov  5 00:24:07 CST 2008



>Description:


 make patch
===>  WARNING: Vulnerability database out of date, checking anyway
===>  Found saved configuration for firefox-1.5.0.7,1
===>  Extracting for firefox-2.0.0.18,1
=> MD5 Checksum OK for firefox-2.0.0.18-source.tar.bz2.
=> SHA256 Checksum OK for firefox-2.0.0.18-source.tar.bz2.
===>   firefox-2.0.0.18,1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for firefox-2.0.0.18,1
===>   firefox-2.0.0.18,1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for firefox-2.0.0.18,1
pkg_info: no packages match pattern(s)
/usr/bin/sed -i.bak -e 's|%%PTHREAD_LIBS%%|-lpthread|'  /da0/usrports/www/firefox/work/mozilla/storage/build/Makefile.in

Effective response:

 gcc -dumpspecs | grep -m 1 pthread | sed -e 's|^.*%{\!pg: %{pthread:||;s|}.*$$||'
-lpthread} -lc}					    %{pg:  %{pthread:-lpthread_p} -lc_p}				  }



sed script source:

GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}


modified response (after applying FIX):

 gcc -dumpspecs | grep -m 1 pthread | sed -e 's|^.*%{\!pg: %{pthread:||;s|}.*$||'
-lpthread

echo $?
0


>How-To-Repeat:





>Fix:


Remove extraneous "$" in second inline SED script:

GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$||' || ${TRUE}


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list