Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2024 18:06:12 +0200
From:      FreeBSD User <freebsd@walstatt-de.de>
To:        Rainer Hurling <rhurlin@gwdg.de>
Cc:        Rainer Hurling <rhurlin@FreeBSD.org>, Baptiste Daroussin <bapt@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: pkg-1.21.0: after upgrade 1.20.9_1 -> 1.21.0: pkg core dumps on specific ports
Message-ID:  <20240409180639.55211744@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <a2ac426d-ca44-44af-9649-508538c5459c@gwdg.de>
References:  <20240406090527.34d84eb9@thor.intern.walstatt.dynvpn.de> <eda7c5aa-1fd7-4481-8c17-e19b863e8cb2@gwdg.de> <4dsxkdn2uacxuxnvradf47yvhxx6z6pzbqezpfzn4qvbludhld@ome2p54xt2et> <a2ac426d-ca44-44af-9649-508538c5459c@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Tue, 9 Apr 2024 17:10:52 +0200
Rainer Hurling <rhurlin@gwdg.de> schrieb:

> Am 09.04.24 um 09:20 schrieb Baptiste Daroussin:
> > On Sat 06 Apr 09:23, Rainer Hurling wrote:  
> >> 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
> >>
> >>  
> > using portmaster or not are strictly unlikely to be helpful here.
> > 
> > The right way to test if to report running with pkg -dddd and also to recommand
> > testing with default options in pkg.conf.
> > 
> > Best regards,
> > Bapt  
> 
> This is correct and certainly better. I was not aware of this.
> 
> Fortunately, my less optimal suggestions helped O. Hartmann in this case 
> to find the missing and outdated dependencies.
> 
> In any case, many thanks for this helpfull advice.
> 
> Regards,
> Rainer
> 
> 

Hello,

@Babptist : it should be pkg -d, shouldn't it? Or do I miss again something here?

With today's update to pkg 1.21.1 the problem has vanished. 

@R. Hurling: Thanks for the tip using the checks. I missed that and somehow it revealed some
problems here I hopefully have fixed so far.

Kind regads and thanks,

oh
-- 
O. Hartmann



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