From owner-freebsd-ports@FreeBSD.ORG Tue Feb 26 17:54:54 2013 Return-Path: Delivered-To: freebsd-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 CBE66598; Tue, 26 Feb 2013 17:54:54 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qa0-f43.google.com (mail-qa0-f43.google.com [209.85.216.43]) by mx1.freebsd.org (Postfix) with ESMTP id 6BAC0144D; Tue, 26 Feb 2013 17:54:54 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id dx4so2650570qab.2 for ; Tue, 26 Feb 2013 09:54:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=kp7TWM9FfnQIODuzNh1jpHiShJ70WfGqIR4YxPlEEzE=; b=0V/EkL4cuCgS1qSWClacfugAdfWoCrYzLSVAjplag10OpUI9ZOc3+M/i/BFAvXd8yd SVcppq9pOtZ5RdqOwnxfrVgbg2TPV7FxgbYwxHiFRkiXoL9Rde7zbIDj9ABGHr5v25BD tRFk4HSQkIiGJixEzGawcvkEsovWISy8oezEHhWdoKOjjOw2lbaoMzS2ReZibmR9z2AC JGlXfEM1aZe35dw4VSanU2H7Lma2ujbdgVlJ2qIOTxzM/EqVbYuXyP1NBf3vNKp+zq3i Zd9BVVWch3sl9hqVDvOrRfVqz0os1CTBYxs6nO7HQNG1gxfPURdc4JgZ57tCQHdERAiK w+9w== MIME-Version: 1.0 X-Received: by 10.229.201.86 with SMTP id ez22mr4530631qcb.9.1361901287669; Tue, 26 Feb 2013 09:54:47 -0800 (PST) Received: by 10.49.106.233 with HTTP; Tue, 26 Feb 2013 09:54:47 -0800 (PST) In-Reply-To: <20130226175046.GF16178@ithaqua.etoilebsd.net> References: <20130226173034.GA49007@troutmask.apl.washington.edu> <20130226175046.GF16178@ithaqua.etoilebsd.net> Date: Tue, 26 Feb 2013 09:54:47 -0800 Message-ID: Subject: Re: ports-mgmt/pkg is broken. please fix. From: Freddie Cash To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-ports , Steve Kargl 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, 26 Feb 2013 17:54:54 -0000 Why, oh why, oh why, oh why is the ports framework pulling in /etc/src.conf? Beyond being the biggest POLA infraction out there, it blatenly states in many different locations that /etc/src.conf is only to be used by make(1) when it is invoked within the /usr/src tree. Please, let's not pollute the ports tree with src.conf, and let's not water down the clear separation of duties between /etc/make.conf and /etc/src.conf. On Tue, Feb 26, 2013 at 9:50 AM, Baptiste Daroussin wrote: > On Tue, Feb 26, 2013 at 09:30:34AM -0800, Steve Kargl wrote: > > % portmaster texinfo > > > > leads to > > > > ===>>> Currently installed version: texinfo-5.0.20130217 > > ===>>> Port directory: /usr/ports/print/texinfo > > > > ===>>> Gathering distinfo list for installed ports > > > > ===>>> Launching 'make checksum' for print/texinfo in background > > ===> No options to configure > > ===>>> Gathering dependency list for print/texinfo from ports > > ===>>> Launching child to update pkg-1.0.7 to pkg-1.0.8 > > > > ... > > > > ===>>> Launching child to update pkg-1.0.7 to pkg-1.0.8 > > > > ... > > > > ===> Cleaning for pkg-1.0.8 > > ===> License BSD accepted by the user > > ===> Extracting for pkg-1.0.8 > > => SHA256 Checksum OK for pkg-1.0.8.tar.xz. > > ===> Patching for pkg-1.0.8 > > ===> Configuring for pkg-1.0.8 > > ===> FreeBSD 10 autotools fix applied to > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.8/external/libyaml/aclocal.m4 > > ===> FreeBSD 10 autotools fix applied to > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.8/external/libyaml/configure > > ===> Building for pkg-1.0.8 > > "/usr/share/mk/bsd.own.mk", line 423: WITH_PROFILE and WITHOUT_PROFILE > can't both be set. > > *** [do-build] Error code 1 > > > > Stop in /usr/ports/ports-mgmt/pkg. > > > > ===>>> make failed for ports-mgmt/pkg > > ===>>> Aborting update > > > > ===>>> Update for pkg-1.0.7 failed > > ===>>> Aborting update > > > > Terminated > > > > ===>>> You can restart from the point of failure with this command line: > > portmaster print/texinfo ports-mgmt/pkg > > > > No pkgng is not broken but it is using bsd.prog.mk and bsd.lib.mk meaning > it is > sensitive to any /etc/make.conf and /etc/src.conf configuration. > > Can you try adding the following to > ports-mgmt/pkg/Makefile > line 23: > replace > MAKE_ENV+= WITHOUT_PROFILE=yes > by > MAKE_ENV+= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null > > And tell me if it fixes the problem for you? > > regards, > Bapt > -- Freddie Cash fjwcash@gmail.com