From owner-freebsd-ports@FreeBSD.ORG Tue Jun 4 15:56:39 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 82882E87; Tue, 4 Jun 2013 15:56:39 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (base.exwg.net [IPv6:2a01:4f8:140:50a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 47AB11A3C; Tue, 4 Jun 2013 15:56:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 17C6060008B; Tue, 4 Jun 2013 17:56:38 +0200 (CEST) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VzXPdvlpurXW; Tue, 4 Jun 2013 17:56:37 +0200 (CEST) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7b43:1:6a05:caff:fe01:aae9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS; Tue, 4 Jun 2013 17:56:37 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 7BDF730E80; Tue, 4 Jun 2013 17:56:36 +0200 (CEST) Date: Tue, 4 Jun 2013 17:56:36 +0200 From: Christoph Moench-Tegeder To: ports@FreeBSD.org, bapt@FreeBSD.org Subject: breakage via Templates/config.sub Message-ID: <20130604155635.GA2064@elch.exwg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 15:56:39 -0000 Hi, autoconf/automake-configure using ports fail to build on amd64 (not on i386), as witnessed with the current pcre-8.33 port (and more, if you test for it). "make configure" (ultimatively, ./configure) bails out with checking build system type... Invalid configuration `amd64-portbld-freebsd9.1': machine `amd64-portbld' not recognized configure: error: /bin/sh ./config.sub amd64-portbld-freebsd9.1 failed ===> Script "configure" failed unexpectedly. Comparing an "original" config.sub (e.g. from pcre again) to the one supplied in ports/Templates/config.sub, one cannot really miss the diff: --- /usr/ports/Templates/config.sub 2013-06-04 17:35:53.000000000 +0200 +++ pcre-8.33/config.sub 2013-05-27 17:56:00.000000000 +0200 @@ -473,6 +473,12 @@ basic_machine=a29k-none os=-bsd ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; amdahl) basic_machine=580-amdahl os=-sysv which quite obviously explains the trouble... Bapt, you were the last committer on that file, could you please add the evaporated lines back again? Regards, Christoph -- Spare Space