From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 2 15:30:03 2010 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 A0DF31065674 for ; Tue, 2 Mar 2010 15:30:03 +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 7E6068FC3E for ; Tue, 2 Mar 2010 15:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o22FU3sX009820 for ; Tue, 2 Mar 2010 15:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o22FU3KP009817; Tue, 2 Mar 2010 15:30:03 GMT (envelope-from gnats) Resent-Date: Tue, 2 Mar 2010 15:30:03 GMT Resent-Message-Id: <201003021530.o22FU3KP009817@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, Aleksey Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24E8C106566B for ; Tue, 2 Mar 2010 15:22:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 147B68FC19 for ; Tue, 2 Mar 2010 15:22:17 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o22FMGYd003205 for ; Tue, 2 Mar 2010 15:22:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o22FMGcm003204; Tue, 2 Mar 2010 15:22:16 GMT (envelope-from nobody) Message-Id: <201003021522.o22FMGcm003204@www.freebsd.org> Date: Tue, 2 Mar 2010 15:22:16 GMT From: Aleksey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/144422: Apache fails to install 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: Tue, 02 Mar 2010 15:30:03 -0000 >Number: 144422 >Category: ports >Synopsis: Apache fails to install >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: Tue Mar 02 15:30:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Aleksey >Release: FreeBSD 7.2-RELEASE-p2 >Organization: Herzen University >Environment: FreeBSD ph2061.local 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #1: Tue Jul 7 10:33:41 MSD 2009 root@devel.p8.ru:/usr/obj/usr/src/sys/P8-7_2_amd64 amd64 >Description: I was trying to reinstall Apache with db4 support when I found it impossible. Last lines was: ____ config.status: include/ap_config_auto.h is unchanged config.status: executing default commands sed: 1: "s,%%FTPUSERS%%,$FreeBSD ...": bad flag in substitute command: 'v' *** Error code 1 Stop in /usr/ports/www/apache22. *** Error code 1 Stop in /usr/ports/www/apache22. ____ I googled it and found that there are some users with the same problem, but no solution. (http://www.google.com/search?hl=en&q=+bad+flag+in+substitute+command%3A+%27v%27 first five links). What's more interesting - they have different versions of apache (20 or 22) and doing things like updating ports, cleaning configurations and other things like this does not help. Then I found this "solution": http://forums.freebsd.org/showthread.php?t=3081 , moved my /etc/ftpusers to /etc/ftpusers.old and apache installs perfectly. Unfortunately, I don't have skills or ecpierience to find what is broken in script that is executing sed command (don't even know which script could that be) but there is definitely a bug which shows itself in some strange occasions. >How-To-Repeat: unknown >Fix: remove the /etc/ftpusers file from its location >Release-Note: >Audit-Trail: >Unformatted: