Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 20:50:38 +0400
From:      Mikhail Tsatsenko <m.tsatsenko@gmail.com>
To:        Simon Wright <simon.wright@gmx.net>
Cc:        "freebsd-ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: pkg aparently not respecting subversion make.conf settings
Message-ID:  <CAGK=9AHmKWfD8LdaK6erkEu%2BaQhDi5-W51HeDt2AixMwBEx5vA@mail.gmail.com>
In-Reply-To: <539732C9.3030702@gmx.net>
References:  <539732C9.3030702@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2014-06-10 20:31 GMT+04:00 Simon Wright <simon.wright@gmx.net>:
> 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:
>
> <snipped>
>
> ---Begin make.conf---
> USE_PACKAGE_DEPENDS=yes
> BATCH=yes
> WRKDIRPREFIX=/wrkdirs
> PACKAGES=/packages
> DISTDIR=/distfiles
> #### /usr/local/etc/poudriere.d/make.conf ####
> WITH_GECKO=libxul
> NOI4B=1
> OPTIONS_UNSET+=X11
> WITH_PKGNG=yes
> WITH_CUPS=YES
> CUPS_OVERWRITE_BASE=YES
> WITHOUT_LPR=YES
> WITH_BDB_VER=5
> WITH_SSP_PORTS=yes
> WITH_VIM_OPTIONS=yes
> JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_7
> WITH_SUBVERSION_VER=17
> WITHOUT_PKGTOOLS=1
> VALID_CATEGORIES+=local
> DISABLE_MAKE_JOBS=poudriere
> ---End make.conf---
>
> <snipped>
>
> =======================<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.
Packages you install via pkg is built on FreeBSD cluster and it knows
nothing about make.conf content on your machine
> 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?
You are doing right everything, but you cant redefine default
WITH_SUBVERSION_VER if you are using official packages.
>
> Thanks!
>
> Simon Wright.
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



-- 
Mikhail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGK=9AHmKWfD8LdaK6erkEu%2BaQhDi5-W51HeDt2AixMwBEx5vA>