Re: pkg-1.21.0: after upgrade 1.20.9_1 -> 1.21.0: pkg core dumps on specific ports

From: Rainer Hurling <rhurlin_at_gwdg.de>
Date: Tue, 09 Apr 2024 15:06:02 UTC
Am 06.04.24 um 09:56 schrieb FreeBSD User:
> Am Sat, 6 Apr 2024 09:23:30 +0200
> Rainer Hurling <rhurlin@gwdg.de> schrieb:
> 
>> Am 06.04.24 um 09:05 schrieb FreeBSD User:
>>> Hello,
>>>
>>> after updating (portmaster and make) ports-mgmt/ports from 1.20.9_1 -> 1.21.0 on CURRENT
>>> and 14-STABLE, I can't update several ports:
>>>
>>> www/apache24
>>> databases/redis
>>>
>>> pkg core dumps while performing installation. apache24 and redis are ports I realized this
>>> misbehaviour on ALL 14-STABLE and CURRENT boxes (both OS variants latest builds, i.e.
>>> FreeBSD 15.0-CURRENT #32 main-n269135-da2b732288c7: Fri Apr  5 20:30:39 CEST 2024 amd64).
>>>
>>> After some updates on a poudriere builder (CURRENT base host, 14.0-RELENG jail with
>>> poudriere) building packages for 14.0-RELENG, I observed the same behaviour when updating
>>> packages on target hosts where pkg is first updated, on those hosts, nextcloud-server and
>>> icinga2 host utilizing also databases/redis and www/apache24, pkg fails the same way.
>>>
>>> I do not dare to update our poudriere hosts since the problem seems to pop up when pkg
>>> 1.21.0 is installed, no matter whether I use poudriere built ports (from our own builder
>>> hosts) or recent source tree with portmaster/make build process.
>>>
>>> Looks like a serious bug to me and not a site/user specific problem. Hopefully others do
>>> realize the same ...
>>>
>>> Thanks in advance,
>>>
>>> oh
>>
>>
>> Hmm, I just tried to reproduce that. Both ports mentioned,
>> databases/redis and www/apache24, can be built and installed with
>> Portmaster. The box is a 15.0-CURRENT with pkg-1.21.0.
>>
>> Maybe 'pkg check -Bn' or 'portmaster --check-depends --check-port-dbdir'
>> show some inconsistencies?
>>
>> Best wishes,
>> Rainer
>>
> 
> Hello,
> 
> thanks for the quick response.
> 
> I checked on the CURRENT systems here at hand and must confess - it is a mess! pkg check -Bn
> dropped a lot of missing shared objects missing from autotools and missing guile2 :-(
> 
> Thank you very much,
> oh
> 

You're really welcome. I myself have failed several times precisely 
because some dependencies were not in order. And that's not always 
obvious :)

Best wishes,
Rainer