Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 22:35:44 +0200
From:      olli hauer <ohauer@gmx.de>
To:        freebsd-ports@freebsd.org
Cc:        Simon Wright <simon.wright@gmx.net>
Subject:   Re: pkg aparently not respecting subversion make.conf settings
Message-ID:  <53976C20.9000009@gmx.de>
In-Reply-To: <53976400.4080801@gmx.net>
References:  <539732C9.3030702@gmx.net> <CACdU%2Bf__0U=dxoPfnfc-BomQeGb2f6QLAdN-sQsWO-u=K1%2BpXQ@mail.gmail.com> <53976400.4080801@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-06-10 22:01, Simon Wright wrote:
> On 10/06/2014 19:45, Scot Hetzel wrote:
>> On Tue, Jun 10, 2014 at 11:31 AM, Simon Wright <simon.wright@gmx.net> wrote:
>>> Hi all
>>>
>>> I've recently set up poudriere and pkg on a 9.2 amd64 box. This has worked
>>> well for the last month or so. However I have just tried to downgrade
>>> subversion to 1.7x from 1.8x to support querying my network /usr/src
>>> /usr/ports that is setup on another box that only runs subversion 1.7.
>>>
>>> As per updating, I set WITH_SUBVERSION_VER=17 in /etc/make.conf and also in
>>> /usr/local/etc/poudriere.d/make.conf, added subversion17 to the list of
>>> packages to be built and removed portdowngrade from the repository with:
>>>
>>> poudriere bulk -j freebsd:9:x86:64 -C ports-mgmt/portdowngrade
>>>
>>> portdowngrade is removed from the repo and then the rebuild begins:
>>>
>> :
>>> =======================<phase: run-depends >============================
>>> ===>   portdowngrade-1.5 depends on executable: svn - not found
>>> ===>    Verifying install for svn in /usr/ports/devel/subversion
>>> ===>   Installing existing package /packages/All/subversion-1.8.9.txz
>>> Installing subversion-1.8.9...Installing apr-1.5.1.1.5.3...Installing
>>> db5-5.3.28... done
>>> Installing expat-2.1.0... done
>>>
>>> <snipped>
>>>
>>> It looks as though pkg is not recognising the WITH_SUBVERSION_VER=17
>>> variable and instead pulling in version 1.8 which is the default.
>>>
>>> There are no options in portdowngrade to use a specific version of
>>> subversion.
>>>
>>> Can anyone offer any suggestions to let me build a package of portdowngrade
>>> that uses my desired version of subversion or see what I've done wrong?
>>>
>> It looks like you have subversion-1.8.9 in your package repo. Try
>> removing it from the repo and try the poudriere build again.
> 
> Yes I do. I tried to remove the package with poudriere bulk -j freebsd:9:x86:64 -C devel/subversion
> 
> but after removing the package poudriere then rebuilds it. How can I remove devel/subversion for the repo. Can I just delete the package and rerun the bulk command?

Not easy to tell since we do not have the list of ports you feed into pd

Perhaps you find the answer in the buildlogs

$ grep devel/subversion /usr/local/poudriere/data/logs/bulk/$YourBuild/latest/logs/*.log

If you have identified a port that depends on devel/subversion and not devel/subversion17 check the Makefile of this port has a switch for WITH_SUBVERSION_VER

-- 
Regards,
olli



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