Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 09:54:47 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>, Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: ports-mgmt/pkg is broken. please fix.
Message-ID:  <CAOjFWZ79De3GJGGG_1tjqX9gwJHVFVmvLbs4K0qV8sZ6qEVdSw@mail.gmail.com>
In-Reply-To: <20130226175046.GF16178@ithaqua.etoilebsd.net>
References:  <20130226173034.GA49007@troutmask.apl.washington.edu> <20130226175046.GF16178@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bapt@freebsd.org>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 <flags> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ79De3GJGGG_1tjqX9gwJHVFVmvLbs4K0qV8sZ6qEVdSw>