I've just upgraded an amd64 machine from 7.1 to 7.3 (first a 7.1-->7.2 upgrade, immediately followed by a 7.2-->7.3 upgrade, both following the FAQ instructions). After a full 'pkg_add -uvv', at least one package (p5-Term-ReadPassword) is out-of-sync with the new perl binary: # cat /tmp/foo #!/usr/bin/perl use warnings; use strict; use Term::ReadPassword; print "hello, world\n"; # /tmp/foo Gnu.c: loadable library and perl binaries are mismatched (got first handshake key 0xec00000, needed 0xeb80000) # pkg_add -uvv p5-Term-ReadPassword Update candidates: quirks-6.121 -> quirks-6.121 quirks-6.121 signed on 2023-04-19T08:30:26Z No change in quirks-6.121 Update candidates: p5-Term-ReadPassword-0.11p2 -> p5-Term-ReadPassword-0.11p2 No change in p5-Term-ReadPassword-0.11p2 #
I've tried deleting and re-adding the p5-Term-ReadPassword package ('pkg_delete -vv p5-Term-ReadPassword', 'pkg_add -vv p5-Term-ReadPassword') and rebooting, but this didn't change the above behavior. My /etc/installurl points to https://cdn.openbsd.org/pub/OpenBSD The output of 'perl -V' on this system is identical to that on another amd64 machine (which I just upgraded from 7.2-->7.3) which does *not* have this problem. In both cases: # perl -V Summary of my perl5 (revision 5 version 36 subversion 0) configuration: Platform: osname=openbsd osvers=7.3 archname=amd64-openbsd uname='openbsd' config_args='-dse -Dopenbsd_distribution=defined -Dmksymlinks' hint=recommended useposix=true d_sigaction=define useithreads=undef usemultiplicity=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define Compiler: cc='cc' ccflags ='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector-strong -I/usr/local/include' optimize='-O2' cppflags='-DBIG_TIME -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='OpenBSD Clang 13.0.0' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags ='-Wl,-E -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib /usr/lib/clang/13.0.0/lib libs=-lm -lc perllibs=-lm -lc libc=/usr/lib/libc.so.97.0 so=so useshrplib=true libperl=libperl.so.23.0 gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags='-Wl,-R/usr/libdata/perl5/amd64-openbsd/CORE' cccdlflags='-DPIC -fpic ' lddlflags='-shared -fpic -fstack-protector-strong -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_CTYPE USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF Built under openbsd @INC: /usr/local/libdata/perl5/site_perl/amd64-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd /usr/libdata/perl5 # I presume that I somehow botched one of the upgrades. Is there any easy way to "redo the upgrade", or should I just give up and do a clean 7.3 (re)install (followed by manual re-creation of all of my system configuration)? Thanks, -- -- "Jonathan Thornburg [remove -color to reply]" <dr.j.thornb...@gmail-pink.com> on the west coast of Canada, eh? "Now back when I worked in banking, if someone went to Barclays, pretended to be me, borrowed UKP10,000 and legged it, that was `impersonation', and it was the bank's money that had been stolen, not my identity. How did things change?" -- Ross Anderson