Poudriere Build of pkg_* repos?

Guido Falsi mad at madpilot.net
Thu Sep 25 14:44:00 UTC 2014


On 09/25/14 14:56, Rick Miller wrote:
> On Wed, Sep 24, 2014 at 5:32 PM, Bryan Drewery <bdrewery at freebsd.org> wrote:
> 
>> On 9/24/2014 3:35 PM, Rick Miller wrote:
>>> Hi all,
>>>
>>> Does the EOL of legacy pkg_* tools in FreeBSD Ports affect Poudriere's
>>> ability to build legacy package repos?
>>
>> No. Poudriere still supports it as long as you're using an older ports
>> tree.
>>
> 
> Given that, is the expectation that the below workflow would produce an 8.4
> package repo?  Unfortunately, it did not.
> 
> After creating an 8.4-RELEASE jail and an older, equivalent Ports tree as
> follows...
> 
> # poudriere jail -c -j 8_4-amd64 -v 8.4-RELEASE -a amd64
> # poudriere ports -c -p 8_4-amd64 -m svn+http -B branches/RELEASE_8_4_0

I think you should grab ports with the tag PKG_INSTALL_EOL (-B
tag/PKG_INSTALL_EOL)

That's the last revision at which the ports tree supported old pkg_tools.

> 
> /usr/local/etc/poudriere.d/8_4-amd64-make.conf:
> 
> WITHOUT_PKGNG=yes
> PERL_VERSION=5.14.4
> OPTIONS_UNSET="X11 GTK2"
> 
> .if ${.CURDIR:M*/shells/bash}
> EXTRA_PATCHES+= /distfiles/local-patches/8_4-amd64/bash.patch
> .endif
> 
> note: above .if added to the make.conf according to the link provided below
> 
> Executing poudriere bulk, as follows, results in no packages built due to
> numerous stage failures subsequently resulting in a bunch of skipped builds
> due to these failures.
> 
> # poudriere bulk -j 8_4-amd64 -f $package_file -p 8_4-amd64
> 
> =======================<phase: stage          >============================
> make: don't know how to make stage. Stop
> 

You took ports tagged for 8.4 release, which happened quite some time
ago, I don't think the ports tree had stage support at the time.

-- 
Guido Falsi <mad at madpilot.net>


More information about the freebsd-ports mailing list