On Fri, Feb 06, 2026 at 09:41:55PM +1300, Avon Robertson wrote:
> pkg_add for some reason is not installing gcc. This is the first time
> that I have encountered a package install failure like this. I have
> had a look at this years misc and ports archive mail lists and found no
> posts about the same or a similar issue.
>
> The info below provides (I hope) helpful information for readers to
> identify the reason(s) for the failure.
>
> $ date
> Fri Feb 6 15:36:28 NZDT 2026
>
> $ sysctl kern.version
> kern.version=OpenBSD 7.8-current (GENERIC.MP) #234: Wed Feb 4 13:18:55 MST 2026
> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> $ doas /usr/sbin/pkg_add -Dsnap -v gcc
> doas (mee@ahost.on.mylan) password:
> Adding packages
> Update candidates: quirks-7.180 -> quirks-7.180
> quirks-7.180->7.180 (processing)
> quirks-7.180 signed on 2026-02-02T22:59:35Z
> gcc-15.2.0p5 (processing)
> ^^^^^^^^^^^^^^^^^^^^^^^^^ was the last line output by pkg_add. Strange?
> $ which gcc
> which: gcc: Command not found.
ports gcc would be egcc
it is built with --program-transform-name=s,^,e,
>
> $ls -l /var/db/pkg | grep -e gcc*
> drwxr-xr-x 2 root wheel 512 Feb 6 11:13 gcc-15.2.0p5
> drwxr-xr-x 2 root wheel 512 Feb 6 15:35 gcc-libs-15.2.0p5
>
> TIA for your replies.
>
> --
> aer
>
>
No comments:
Post a Comment