From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 12 15:50:05 2009 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 32A3E1065672 for ; Sat, 12 Sep 2009 15:50:05 +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 E85D88FC0A for ; Sat, 12 Sep 2009 15:50:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8CFo4FA041615 for ; Sat, 12 Sep 2009 15:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8CFo4lc041614; Sat, 12 Sep 2009 15:50:04 GMT (envelope-from gnats) Resent-Date: Sat, 12 Sep 2009 15:50:04 GMT Resent-Message-Id: <200909121550.n8CFo4lc041614@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, Mel Flynn Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14B051065679; Sat, 12 Sep 2009 15:40:15 +0000 (UTC) (envelope-from mel@smoochies.rachie.is-a-geek.net) Received: from smoochies.rachie.is-a-geek.net (h60097.upc-h.chello.nl [62.194.60.97]) by mx1.freebsd.org (Postfix) with ESMTP id 878788FC0C; Sat, 12 Sep 2009 15:40:14 +0000 (UTC) Received: by smoochies.rachie.is-a-geek.net (Postfix, from userid 1003) id BE995844AA; Sat, 12 Sep 2009 17:24:22 +0200 (CEST) Message-Id: <20090912152422.BE995844AA@smoochies.rachie.is-a-geek.net> Date: Sat, 12 Sep 2009 17:24:22 +0200 (CEST) From: Mel Flynn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: MAINTAINER Subject: ports/138762: [PATCH] devel/apr: fix build as unprivileged user X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mel Flynn List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 15:50:05 -0000 >Number: 138762 >Category: ports >Synopsis: [PATCH] devel/apr: fix build as unprivileged user >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 12 15:50:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mel Flynn >Release: FreeBSD 8.0-BETA4 i386 >Organization: >Environment: System: FreeBSD smoochies.rachie.is-a-geek.net 8.0-BETA4 FreeBSD 8.0-BETA4 #14 r196875M: Mon Sep 7 18:00:45 CEST 2009 mel@smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/HPDV9000 i386 >Description: - libtool files on FreeBSD are installed read-only - apr's buildconf script copies the libtool files then tries a shell redirect into the copied files. - Because an unprivileged user is not allowed to do that, build fails down the road. Priority set high, as this should IMO be in 8.0-RELEASE ports. >How-To-Repeat: As unprivileged user make -C /usr/ports/devel/apr build >Fix: --- patch-apr begins here --- --- /dev/null 2009-08-12 08:33:00.000000000 -0800 +++ devel/apr/files/patch-buildconf 2009-08-12 08:32:46.000000000 -0800 @@ -0,0 +1,11 @@ +--- apr-1.3.8/buildconf.orig 2009-08-12 08:28:47.000000000 -0800 ++++ apr-1.3.8/buildconf 2009-08-12 08:31:45.000000000 -0800 +@@ -71,6 +71,7 @@ + + echo "buildconf: Using libtool.m4 at ${ltfile}." + ++rm -f build/libtool.m4 + cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4 + + # libtool.m4 from 1.6 requires ltsugar.m4 + --- patch-apr ends here --- >Release-Note: >Audit-Trail: >Unformatted: