tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: *****SPAM***** Re: bad package build of gcc10
On Tue, 22 Oct 2024, Greg Troxel wrote:
> "John D. Baker" <jdbaker%consolidated.net@localhost> writes:
>
> > On Mon, 21 Oct 2024, John D. Baker wrote:
> >
> > It seems, however, that for some reason there was no previously-installed
> > build of gcc12, so 'make replace' failed. 'make package-install' did
> > not provoke any complaints.
>
> I don't know why you were expecting a previous gcc12, but indeed make
> replace prints an error if not. This part seems entirely expected and
> unremarkable, so I wonder if something else happened.
I was expecting the pkg_rolling-replace I was originally running to have
chosen gcc12 to replace. So that's what I ran manually. When that
failed, I looked around for the ${WRKOBJDIR} of another package that
required gcc12, but there was none.
> I have found that "pkg_add -u", when the shlib check fails, will remove
> the previous package and not install the new one. That's also a bug in
That sounds like what happened. I authenticated for replace (sudo), but
the shlibs check failed and the old gcc12 was removed. Thus my confusion
when I was expecting a replace but there was no previous gcc12 package
(anymore).
> Thanks for doing the experiment; this confirms it isn't just something
> damaged on my systems.
I'd been reading that thread and then I saw it too, so figured I'd
add my data point.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index