From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 26 17:00:14 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 181B21065670 for ; Wed, 26 Nov 2008 17:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E23228FC1B for ; Wed, 26 Nov 2008 17:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAQH0DGn035873 for ; Wed, 26 Nov 2008 17:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAQH0DfO035872; Wed, 26 Nov 2008 17:00:13 GMT (envelope-from gnats) Resent-Date: Wed, 26 Nov 2008 17:00:13 GMT Resent-Message-Id: <200811261700.mAQH0DfO035872@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "RandomUser" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE6F11065673 for ; Wed, 26 Nov 2008 16:58:09 +0000 (UTC) (envelope-from rannumgen@globaleyes.net) Received: from MX1.ll.net (mail.globaleyes.net [209.131.230.155]) by mx1.freebsd.org (Postfix) with ESMTP id B851E8FC19 for ; Wed, 26 Nov 2008 16:58:09 +0000 (UTC) (envelope-from rannumgen@globaleyes.net) Received: from FreeBSD2.LocalNET10 (unverified [209.131.235.136]) by MX1.ll.net (Vircom SMTPRS 4.4.571.23) with ESMTP id for ; Wed, 26 Nov 2008 10:58:04 -0600 Message-Id: <1227718688.3784@FreeBSD2.LocalNET10> Date: Wed, 26 Nov 2008 10:58:08 -0600 From: "RandomUser" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/129211: www/firefox V2.0.18 error in GECKO_PTHREAD_LIBS sed script X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2008 17:00:14 -0000 >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: