Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2025 15:38:55 +0100
From:      FreeBSD User <freebsd@walstatt-de.de>
To:        "Herbert J. Skuhra" <herbert@gojira.at>
Cc:        ports@freebsd.org, current@freebsd.org
Subject:   Re: pkg-static: dir '/usr/local/lib/compat/pkg' is missing
Message-ID:  <20251128153716.5a2bc73f@hermann>
In-Reply-To: <87sedymlrl.wl-herbert@gojira.at>
References:  <20251128121823.1b9c9bad@hermann> <87sedymlrl.wl-herbert@gojira.at>

index | next in thread | previous in thread | raw e-mail

On Fri, 28 Nov 2025 12:36:46 +0100
"Herbert J. Skuhra" <herbert@gojira.at> wrote:

> On Fri, 28 Nov 2025 12:22:23 +0100, FreeBSD User wrote:
> > 
> > Rebuild of pkg stops with the error shown below. The required input hinders
> > unattended or almost unattended rebuild via portmaster in my case. 
> > 
> > How can this issue be resolved? '/usr/local/lib/compat/pkg' is missing on both recent
> > 16-CURRENT and 15-STABLE. Do I miss something here?
> > 
> > Kind regards
> > 
> > oh
> > 
> > [...]  
> > ===>>> Creating a backup package for old version pkg-2.4.2_1  
> > Creating package for pkg-2.4.2_1
> > pkg-static: dir '/usr/local/lib/compat/pkg' is missing
> > pkg-static: package creation failed
> >   
> > ===>>> Package creation failed for pkg-2.4.2_1!  
> >   
> > ===>>> Ignore this error  [i]
> > ===>>> Abort update       [a]
> > ===>>> Retry              [r]  
> >   
> > ===>>> How would you like to proceed? [i]  
> 
> Portmaster is removing empty /usr/local/lib/compat/pkg:
> 
>    3913 [ -z "$temp" ] && temp=`find $LOCALBASE_COMPAT -type d -empty 2>/dev/null`
>    3914 if pm_isdir "$temp"; then
>    3915         pm_sv Deleting the empty $LOCALBASE_COMPAT
>    3916         pm_rmdir_s $temp
>    3917 fi
>    3918 unset temp
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290829
> 
> 

ups, I see, problem already known. Thank you!

Kind regards

oh


help

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