From owner-freebsd-ports@FreeBSD.ORG Fri Mar 15 15:11:22 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6EC2ABEB; Fri, 15 Mar 2013 15:11:22 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 369227F5; Fri, 15 Mar 2013 15:11:21 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1UGWHn-00067O-EX; Fri, 15 Mar 2013 15:11:15 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UGWHn-0002Tw-A4; Fri, 15 Mar 2013 15:11:11 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r2FFBBat017938; Fri, 15 Mar 2013 15:11:11 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r2FFBA47017937; Fri, 15 Mar 2013 15:11:10 GMT (envelope-from mexas) Date: Fri, 15 Mar 2013 15:11:10 GMT From: Anton Shterenlikht Message-Id: <201303151511.r2FFBA47017937@mech-cluster241.men.bris.ac.uk> To: perl@freebsd.org Subject: lang/ExtUtils-F77, pkg, portmaster fail to deal with GCC_DEFAULT_VERSION= 4.7 X-Spam-Score: -4.8 X-Spam-Level: ---- Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 15:11:22 -0000 This is r244834 ia64, ports tree at r314250. lang/gcc46 doesn't build, but lang/gcc47 does. So I set: # grep GCC_DEFAULT_VERSION= /usr/ports/Mk/bsd.gcc.mk GCC_DEFAULT_VERSION= 4.7 # I now want to rebuild all p5-* ports following perl upgrade to perl-5.16.2_1. On build and install of p5-ExtUtils-F77 dependence on gcc47 is clear: # make ===> p5-ExtUtils-F77-1.17_1 depends on file: /usr/local/sbin/pkg - found ===> Extracting for p5-ExtUtils-F77-1.17_1 => SHA256 Checksum OK for ExtUtils-F77-1.17.tar.gz. ===> p5-ExtUtils-F77-1.17_1 depends on file: /usr/local/bin/perl5.16.2 - found ===> Patching for p5-ExtUtils-F77-1.17_1 ===> p5-ExtUtils-F77-1.17_1 depends on file: /usr/local/bin/perl5.16.2 - found ===> Applying FreeBSD patches for p5-ExtUtils-F77-1.17_1 ===> p5-ExtUtils-F77-1.17_1 depends on executable: gcc47 - found ^^^^^ # make install ===> Installing for p5-ExtUtils-F77-1.17_1 ===> p5-ExtUtils-F77-1.17_1 depends on executable: gcc47 - found ^^^^^ However, pkg doesn't seem to record the dependence on gcc47: # pkg info -xd p5-ExtUtils-F77 p5-ExtUtils-F77-1.17_1 depends on: perl-5.16.2_1 # when I then try to rebuild with portmaster, I get: # portmaster p5-ExtU ===>>> Currently installed version: p5-ExtUtils-F77-1.17_1 ===>>> Port directory: /usr/ports/lang/p5-ExtUtils-F77 ===>>> Gathering distinfo list for installed ports ===>>> Launching 'make checksum' for lang/p5-ExtUtils-F77 in background ===> No options to configure ===>>> Gathering dependency list for lang/p5-ExtUtils-F77 from ports ===>>> Launching child to install lang/gcc ===>>> p5-ExtUtils-F77-1.17_1 >> lang/gcc (1/1) which is wrong I think either p5-ExtUtils-F77, pkg or portmaster fail to record properly that this port depends on gcc47. Please advise Anton