From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 7 22:10:07 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EB3B16A425 for ; Wed, 7 Dec 2005 22:10:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D81043D5C for ; Wed, 7 Dec 2005 22:10:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB7MA3BN072681 for ; Wed, 7 Dec 2005 22:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB7MA3GB072680; Wed, 7 Dec 2005 22:10:03 GMT (envelope-from gnats) Resent-Date: Wed, 7 Dec 2005 22:10:03 GMT Resent-Message-Id: <200512072210.jB7MA3GB072680@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, Melvyn Sopacua Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7E1216A422 for ; Wed, 7 Dec 2005 22:03:33 +0000 (GMT) (envelope-from mdev@melvyn.homeunix.org) Received: from sarevok.lan.melvyn.homeunix.org (i153153.upc-i.chello.nl [62.195.153.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3728243DE2 for ; Wed, 7 Dec 2005 22:02:21 +0000 (GMT) (envelope-from mdev@melvyn.homeunix.org) Received: by sarevok.lan.melvyn.homeunix.org (Postfix, from userid 100) id E8C6211437; Wed, 7 Dec 2005 23:01:54 +0000 (UTC) Message-Id: <20051207230154.E8C6211437@sarevok.lan.melvyn.homeunix.org> Date: Wed, 7 Dec 2005 23:01:54 +0000 (UTC) From: Melvyn Sopacua To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/90088: Buildconflict with apr-svn, libtool and apache22 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, 07 Dec 2005 22:10:07 -0000 >Number: 90088 >Category: ports >Synopsis: Buildconflict with apr-svn, libtool and apache22 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 07 22:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Melvyn Sopacua >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD sarevok 6.0-STABLE FreeBSD 6.0-STABLE #1: Wed Dec 7 14:57:25 UTC 2005 root@sarevok:/usr/obj/stable/usr/current/src/sys/SAREVOK i386 >Description: Detectable only I guess, when you install subversion (or it's upstream dependencies) before you install apache2. Some things to note: * CC not set in make.conf * cat /usr/local/share/config.site # local configure settings test x"$CFLAGS" = x"" && CFLAGS='-O2 -fno-strict-aliasing -pipe' # Same as test x"$CC" = x"" && CC='/usr/bin/cc' test x"$CXX" = x"" && CXX='/usr/bin/c++' test x"$MAKE" = x"" && MAKE='/usr/bin/make' * cat /var/db/pkg/apr-nothr-db4-1.2.2_1/+REQUIRED_BY c_c++_reference-2.0.2_4 kde-3.4.3 kdesdk-3.4.3 kdevelop-3.2.3 subversion-1.3.0.r2 Symptom: ===> Building for apache-worker-2.2.0_1 Making all in srclib Making all in pcre /usr/local/build-1/libtool --silent --mode=compile cc -O2 .... libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' *** Error code 1 Analysis: $ grep '/cc' /usr/local/build-1/libtool LTCC="/usr/bin/cc" CC="/usr/bin/cc" LTCC="/usr/bin/cc" LTCC="/usr/bin/cc" So, CC is set to 's default value 'cc' when building apache22, while the installed 'tagged' libtool has /usr/bin/cc, which are 'different' from libtools point of view. The same thing might happen if you set different CC's during either of these compiles and it's quite cryptic at first glance. >How-To-Repeat: Short version: pkg_deinstall -f 'apr-*' # if applicable portinstall devel/subversion; portinstall www/apache2 >Fix: Several possibilities, my config.site does not conflict with any other port I've seen, it's used mainly for my own builds and stuff not in ports, so it leads me to believe that the run-autotools target in devel/apr/Makefile should export CC and CXX, so that config.site doesn't set it. If CC and CXX cannot be exported, add a reference to this PR in pre-configure target with the error message described above -;) Or: Add a conflict apr-svn <=> apache22. As a side note, apr-svn builds without threads, not sure if this is a problem if one decides for the worker MPM in apache. >Release-Note: >Audit-Trail: >Unformatted: