NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/55865 (pkg_add segfaults)



The following reply was made to PR bin/55865; it has been noted by GNATS.

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/55865 (pkg_add segfaults)
Date: Thu, 17 Dec 2020 13:56:22 -0500

 There's a related failure mode here, involving packages that are all
 available for installation, but cannot be installed together because
 of conflicts between them. Unfortunately, this is for example now
 happening with meta-pkgs/mate, viz.:
 
 pkg_add: Installed package `py38-cairo-1.20.0' conflicts with 
 `py27-cairo-[0-9]*' when trying to install `py27-cairo-1.18.2nb1'.
 pkg_add: Can't install dependency py27-cairo>=1.18.2nb1
 [1]   Segmentation fault (core dumped) PKG_PATH=${packages}/All 
 ${pkg_add} -K ${cur_p...
 
 (The reason why this particular example conflict is occurring is new,
 and outside the bounds of this PR, of course.)
 
 I haven't traced this (yet) to see if the cause is the same code point
 in add/perform.c, but I think it has to be. wiz@ had committed a related
 fix, though I had some questions/observations about it -- it wasn't
 clear to me what the functional intentions were when this code was last
 rewritten (which created the conditions for these NPEs to occur).
 
 Anyway, related fixes to issues have been imported into -current, but
 haven't been pulled up to 8- and 9-, that's mostly why I mention this.
 
 (Re-sending this email, as I mistakenly referred to pkg/55865 rather
 than bin/55865, and I infer GNATS is not able to figure out these are
 the same, and it has gone to some NetBSD GNATS administrator purgatory
 that I can find no documentation on and probably have no access to.
 GNATS is often not very pleasant to deal with. My apologies if this
 results in doubled posts.)
 
 Dave
 
 


Home | Main Index | Thread Index | Old Index