Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-04 Thread Stuart Henderson
On 2021/05/03 21:51, Jon Fineman wrote: > For cpan/cpanm I had gotten the same base64 error. > > After moving those two directories and rebooting I was able to run pkg_add > and now cpanm. However cpan now gets the below error: > desktop(~)$: cpan > Encode.c: loadable library and perl binaries

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-04 Thread Marc Espie
There are two issues in there: one is using cpan and not breaking stuff, for which I don't know the solution, which is probably what afresh suggests. On the other hand, we have base perl looking under /usr/local which is not bad per se. But base tools need to be restricted a bit, most probably

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Theo de Raadt
> > > > > ----- Original message - > From: Andrew Hewus Fresh > To: Jon Fineman > Cc: bugs@openbsd.org > Subject: Re: pkg_add -u Base64.c: loadable library and perl binaries are > mismatched > Date

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Theo de Raadt
Andrew Hewus Fresh wrote: > This would do it, you will need to update this file that you've someone > installed manually, this covers over the one that ships with base and > will definitely cause that issue. Removing the files installed by the > old version of perl's cpan client should get

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Andrew Hewus Fresh
On Mon, May 03, 2021 at 09:51:59PM -0400, Jon Fineman wrote: > For cpan/cpanm I had gotten the same base64 error. > > After moving those two directories and rebooting I was able to run pkg_add > and now cpanm. However cpan now gets the below error: > desktop(~)$: cpan > Encode.c: loadable

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Jon Fineman
Cc: bugs@openbsd.org Subject: Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched Date: Monday, May 03, 2021 8:57 PM On Mon, May 03, 2021 at 08:47:15PM -0400, Jon Fineman wrote: > Any detailed instructions on how to remove the newer module? Both cpan and > cpanm al

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Andrew Hewus Fresh
On Mon, May 03, 2021 at 08:47:15PM -0400, Jon Fineman wrote: > Any detailed instructions on how to remove the newer module? Both cpan and > cpanm also get the binary mismatch error, so I can't uninstall base64 via > cpan. > > Is there a list of files/directories I can remove? I tried moving

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Jon Fineman
more steps needed. Thanks. Jon - Original message - From: Andrew Hewus Fresh To: Jon Fineman Cc: bugs@openbsd.org Subject: Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched Date: Monday, May 03, 2021 8:41 PM On Mon, May 03, 2021 at 08:27:11PM -0400, Jon Fineman

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Jon Fineman
- Original message - From: Andrew Hewus Fresh To: Jon Fineman Cc: bugs@openbsd.org Subject: Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched Date: Monday, May 03, 2021 8:20 PM On Mon, May 03, 2021 at 08:11:04PM -0400, Jon Fineman wrote: > >Sy

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Andrew Hewus Fresh
On Mon, May 03, 2021 at 08:11:04PM -0400, Jon Fineman wrote: > >Synopsis:pkg_add fails > >Category: > >Environment: > System : OpenBSD 6.9 > Details : OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT > 2021 > >

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Jon Fineman
Also my /etc/installurl is: desktop(/etc)$: cat /etc/installurl https://cdn.openbsd.org/pub/OpenBSD desktop(/etc)$: - Original message - From: Jon Fineman To: bugs@openbsd.org Cc: j...@fineman.me Subject: pkg_add -u Base64.c: loadable library and perl binaries are mismatched Date

pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-03 Thread Jon Fineman
>Synopsis: pkg_add fails >Category: >Environment: System : OpenBSD 6.9 Details : OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Architecture: