Re: Perl help needed
On Sat, Mar 31, 2018 at 1:22 PM, Robert Huff wrote: > > Christoph Moench-Tegeder writes: > > > ## Robert Huff (roberth...@rcn.com): > > > > >On a system with over 850 ports, 32 starting with "p5-", the > > > list of dependent ports portmaster created from > > > "pkg shlib -qR libperl.so.5.24" was over 200, including things like > > > FireFox and llvm50 (llvm is required for mesa-dri). > > > > That sound like "too much". I've 1408 ports installed, of which 90 > > are named p5-*, and "pkg shlib -qR libperl.so.5.26" shows only 32 ports. > > > > Did you rebuild everything along the build-dependencies, or does your > > build tool use the run-depdendencies? > > There had been a time when ports had way too many dependencies > registered, > > if my memory serves right that was because many build-dependencies were > > recorded as run-dependencies (or there was no distinction at all). Is > > that a leftover effect from those times? > > "Insufficient data, Captain." > I followed the instructions for portmaster from > UPDATING/20171103, only changing the version numbers. > Running "pkg shlib -qR libperl.so.5.26" now produces 13 items; > this makes your explanation plausible, if not authoritative. > > Again, thanks. > > > Robert Huff While the method in the instructions is right, it is serious overkill. It not only lists direct dependencies, but ports that depend on libs or other executables that link to libperl. You can save a LOT of time and CPU cycles by updating the obvious candidates (portmaster p5-) to get almost everything and then using "pkg check -B" to find all ports that REALLY link to libperl.so.5.24. All I found was not-snmp (which really IS a perl5 port, but is not prefixed by p5-) and ImageMagick. In retrospect, I probably didn't need to re-install most of the p5- ports as most just call perl5, but have no direct linkages to it. I doubt that more then a handful of ports actually needed to be touched. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Perl help needed
Christoph Moench-Tegeder writes: > ## Robert Huff (roberth...@rcn.com): > > >On a system with over 850 ports, 32 starting with "p5-", the > > list of dependent ports portmaster created from > > "pkg shlib -qR libperl.so.5.24" was over 200, including things like > > FireFox and llvm50 (llvm is required for mesa-dri). > > That sound like "too much". I've 1408 ports installed, of which 90 > are named p5-*, and "pkg shlib -qR libperl.so.5.26" shows only 32 ports. > > Did you rebuild everything along the build-dependencies, or does your > build tool use the run-depdendencies? > There had been a time when ports had way too many dependencies registered, > if my memory serves right that was because many build-dependencies were > recorded as run-dependencies (or there was no distinction at all). Is > that a leftover effect from those times? "Insufficient data, Captain." I followed the instructions for portmaster from UPDATING/20171103, only changing the version numbers. Running "pkg shlib -qR libperl.so.5.26" now produces 13 items; this makes your explanation plausible, if not authoritative. Again, thanks. Robert Huff ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Perl help needed
## Robert Huff (roberth...@rcn.com): > On a system with over 850 ports, 32 starting with "p5-", the > list of dependent ports portmaster created from > "pkg shlib -qR libperl.so.5.24" was over 200, including things like > FireFox and llvm50 (llvm is required for mesa-dri). That sound like "too much". I've 1408 ports installed, of which 90 are named p5-*, and "pkg shlib -qR libperl.so.5.26" shows only 32 ports. Did you rebuild everything along the build-dependencies, or does your build tool use the run-depdendencies? There had been a time when ports had way too many dependencies registered, if my memory serves right that was because many build-dependencies were recorded as run-dependencies (or there was no distinction at all). Is that a leftover effect from those times? Regards, Christoph -- Spare Space ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Perl help needed
Christoph Moench-Tegeder writes: > > Socket.c: loadable library and perl binaries are mismatched > > (got handshake key 0xd200080, needed 0xdf00080) > > The perl default version changed - are you sure your perl and modules > still match? See UPDATING 20180330. > The error message is just what I'd expect for a mismatch. Following this path seems to have fixed things. Warning to anyone who does this: On a system with over 850 ports, 32 starting with "p5-", the list of dependent ports portmaster created from "pkg shlib -qR libperl.so.5.24" was over 200, including things like FireFox and llvm50 (llvm is required for mesa-dri). Total rebuild time was many hours on a lightly loaded 4 core*3 ghz machine. My profuse thinks to all who offered advice. Respectfully, Robert Huff ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Perl help needed
On Fri, Mar 30, 2018 at 02:46:05PM -0400 I heard the voice of Robert Huff, and lo! it spake thus: > > Socket.c: loadable library and perl binaries are mismatched (got handshake > key 0xd200080, needed 0xdf00080) I'd say your most likely bet would be rebuilding p5-Socket, on the theory that (a) it sounds like it relates to a Socket, (b) installs a .so so obviously compiles stuff, and (c) has "Socket.c" in the .so according to strings(1). (mostly (a) of course) -- Matthew Fuller (MF4839) | fulle...@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Perl help needed
## Robert Huff (roberth...@rcn.com): > Socket.c: loadable library and perl binaries are mismatched (got handshake > key 0xd200080, needed 0xdf00080) The perl default version changed - are you sure your perl and modules still match? See UPDATING 20180330. The error message is just what I'd expect for a mismatch. Regards, Christoph -- Spare Space ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Perl help needed
What port are you trying to build? On Fri, Mar 30, 2018 at 1:46 PM, Robert Huff wrote: > > On a system running: > > FreeBSD 12.0-CURRENT #0 r331659: Thu Mar 29 12:31:36 EDT 2018 amd64 > > with perl5-5.24.3 rebuilt yesterday, attemptping to build/run a > small number of modules gives something like this: > > ===> Cleaning for p5-Net-DNS-1.15,1 > ===> License MIT accepted by the user > ===> p5-Net-DNS-1.15,1 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by p5-Net-DNS-1.15,1 for building > ===> Extracting for p5-Net-DNS-1.15,1 > => SHA256 Checksum OK for Net-DNS-1.15.tar.gz. > ===> Patching for p5-Net-DNS-1.15,1 > ===> p5-Net-DNS-1.15,1 depends on package: p5-Net-LibIDN2>=1 - found > ===> p5-Net-DNS-1.15,1 depends on package: p5-Digest-HMAC>=1.03 - found > ===> p5-Net-DNS-1.15,1 depends on package: p5-IO-Socket-IP>=0.38 - found > ===> p5-Net-DNS-1.15,1 depends on package: perl5>=5.24<5.25 - found > ===> Configuring for p5-Net-DNS-1.15,1 > Socket.c: loadable library and perl binaries are mismatched (got handshake > key 0xd200080, needed 0xdf00080) > > > I'm not a perl expert, plus perl on FreeBSD mostly just works, > so I have no idea how to diagnose much less fix this. I googled the > error message, and found various solutions that worked for them, but > not for me. > Anyone willing to help me with this off-list? > > > Respectfully, > > > Robert Huff > > > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Perl help needed
On a system running: FreeBSD 12.0-CURRENT #0 r331659: Thu Mar 29 12:31:36 EDT 2018 amd64 with perl5-5.24.3 rebuilt yesterday, attemptping to build/run a small number of modules gives something like this: ===> Cleaning for p5-Net-DNS-1.15,1 ===> License MIT accepted by the user ===> p5-Net-DNS-1.15,1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by p5-Net-DNS-1.15,1 for building ===> Extracting for p5-Net-DNS-1.15,1 => SHA256 Checksum OK for Net-DNS-1.15.tar.gz. ===> Patching for p5-Net-DNS-1.15,1 ===> p5-Net-DNS-1.15,1 depends on package: p5-Net-LibIDN2>=1 - found ===> p5-Net-DNS-1.15,1 depends on package: p5-Digest-HMAC>=1.03 - found ===> p5-Net-DNS-1.15,1 depends on package: p5-IO-Socket-IP>=0.38 - found ===> p5-Net-DNS-1.15,1 depends on package: perl5>=5.24<5.25 - found ===> Configuring for p5-Net-DNS-1.15,1 Socket.c: loadable library and perl binaries are mismatched (got handshake key 0xd200080, needed 0xdf00080) I'm not a perl expert, plus perl on FreeBSD mostly just works, so I have no idea how to diagnose much less fix this. I googled the error message, and found various solutions that worked for them, but not for me. Anyone willing to help me with this off-list? Respectfully, Robert Huff ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"