Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2025 04:50:42 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Piotr Smyrak <ps.ports@smyrak.com>, "freebsd-ports@FreeBSD.org" <freebsd-ports@FreeBSD.org>
Subject:   Re: pkg-2.0.x compression format and poudriere running on FreeBSD-13.x
Message-ID:  <SI2PR01MB5036515C1147891A1E55CE95FAE22@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
In-Reply-To: <20250125161826.780b38f8@daleth.home>
References:  <SI2PR01MB5036120AC42F0223D22F8E91FAE22@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <20250125114940.66dfd413@daleth.home> <20250125161826.780b38f8@daleth.home>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you.

This is due to a change in the part quoted below.
The pkg already needs some modification to work on FreeBSD-12.x.

If we don't have problems with the supported version of FreeBSD-13.x, this is something we don't need to worry about.

Regards.

The following is the part that has been changed.

--- pkg-1.21.3/auto.def 2024-05-22 14:56:17.000000000 +0000
+++ pkg-2.0.3/auto.def  2025-01-24 13:04:18.000000000 +0000
@@ -44,7 +47,7 @@
             "default" { user-error "Invalid format $fmt" }
         define DEFAULT_COMPRESSION $comp
  } else {
-       define DEFAULT_COMPRESSION TXZ
+       define DEFAULT_COMPRESSION TZS
  }

  cc-check-tools ar ranlib strip


On 2025/01/26 0:18, Piotr Smyrak wrote:
> On Sat, 25 Jan 2025 11:49:40 +0100
> Piotr Smyrak <ps.ports@smyrak.com> wrote:
> 
>> On Sat, 25 Jan 2025 15:08:24 +0900
>> Tatsuki Makino <tatsuki_makino@hotmail.com> wrote:
>>
>>> PKG_COMPRESS_FORMAT of FreeBSD-14 is tzst, so it doesn't seem to
>>> cause any problems. On FreeBSD-12.4-STABLE, poudriere cannot succeed
>>> pkg-repo because archive_write_add_filter_zstd returns ARCHIVE_WARN.
>>>
>>> So which result does FreeBSD 13.x get?
>>> If you see a log like below, then there is a problem and work of
>>> poudriere may be wasted.
>>>
>>> pkg-static: zstd is supported, but not builtin
>>> Cannot create repository catalogue
>>> [00:00:17] Error: Failed to sign pkg repository
>>>
>>> There are still built packages in the .building directory, so let's
>>> collect them :)
>>
>> I do not use Poudriere, but I do make use of pkg-repo and I was able
>> to succesfully update my package repo and use its packages on boxen
>> that fetch them from the build machine.
>>
> 
> So I forgot the important context, that was on FreeBSD 13-STABLE.
> 




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