Summary: | devel/protobuf-c: 1.4.1_6 breaks dig | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Niall.oReilly+freebsd |
Component: | Individual Port(s) | Assignee: | Don Lewis <truckman> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | Niall.oReilly+freebsd, edgar.wiesmann, nomad, pi, rcbell.N51, sr, stb |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(truckman) |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Niall.oReilly+freebsd
2024-10-13 16:38:55 UTC
I have no idea whether this affects many people, some, or only me. I have also no idea whether this presents on hardware other than amd64. This bug also impacts the bind-918 package, any I'm guessing any other package with a dependency on protobuf-c. broken host: : || nomad@armoury ~ [87] ; sudo /usr/local/etc/rc.d/named start ld-elf.so.1: /usr/local/lib/libprotobuf-c.so.1: version LIBPROTOBUF_C_1.0.0 required by /usr/local/lib/libdns-9.18.30.so not defined /usr/local/etc/rc.d/named: ERROR: named-checkconf for /usr/local/etc/namedb/named.conf failed >> sudo: 3 : || nomad@armoury ~ [88] ; strings /usr/local/lib/libprotobuf-c.so.1.0.0 | grep LIBPROTOBUF_C >> strings: 1 : || nomad@armoury ~ [89] ; pkg info protobuf-c | grep -i ^version Version : 1.4.1_6 working host: : || nomad@castle ~ [156] ; strings /usr/local/lib/libprotobuf-c.so.1.0.0 | grep LIBPROTOBUF_C LIBPROTOBUF_C_1.0.0 LIBPROTOBUF_C_1.3.0 : || nomad@castle ~ [157] ; pkg info protobuf-c | grep -i ^version Version : 1.4.1_2 IMHO, This makes fixing the package kind of urgent since nameservice is a fairly critical service. Here with us reinstalling bind-tools-9.20.2 fixed the problem: # pkg install -f -y bind-tools-9.20.2 I can confirm this protobuf[-c] pkg upgrade affects both bind and bind-tools, on i386 as well as amd64. $ sudo pkg upgrade -y ... Installed packages to be UPGRADED: ... protobuf: 28.1,1 -> 28.2,1 protobuf-c: 1.4.1_5 -> 1.4.1_6 $ /usr/local/bin/dig -v ld-elf.so.1: /usr/local/lib/libprotobuf-c.so.1: version LIBPROTOBUF_C_1.0.0 required by /usr/local/lib/bind-tools/libdns-9.20.2.so not defined $ /usr/local/sbin/named -v ld-elf.so.1: /usr/local/lib/libprotobuf-c.so.1: version LIBPROTOBUF_C_1.0.0 required by /usr/local/sbin/named not defined $ uname -a FreeBSD raptor.home.genyosha.net 14.1-STABLE FreeBSD 14.1-STABLE stable/14-n268238-4f5440f2abe9 GENERIC i386 I can likewise confirm that re-installing bind[-tools] resolves the issue: $ sudo pkg install -f bind918 ... $ /usr/local/sbin/named -v BIND 9.18.30 (Extended Support Version) <id:> I don't quite understand why that works, but I'm glad it does. I ran into this on amd64 servers a couple days ago before Niall's report, tried re-installing first since it was simple and quick, and was pleasantly surprised to have working bind918 again. Perhaps bind and bind-tools should be marked for re-install when protobuf[-c] pkgs are upgraded? Confirmed, reinstall worked for me as well. : || nomad@armoury ~ [90] ; please pkg install -f -y bind-tools bind918 Password: Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 2 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: bind-tools-9.20.2 bind918-9.18.30 Number of packages to be reinstalled: 2 7 MiB to be downloaded. [1/1] Fetching bind918-9.18.30.pkg: 100% 7 MiB 7.2MB/s 00:01 Checking integrity... done (0 conflicting) [1/2] Reinstalling bind-tools-9.20.2... [1/2] Extracting bind-tools-9.20.2: 100% [2/2] Reinstalling bind918-9.18.30... [2/2] Extracting bind918-9.18.30: 100% You may need to manually remove /usr/local/etc/namedb/named.conf if it is no longer needed. : || nomad@armoury ~ [91] ; please /usr/local/etc/rc.d/named start Starting named. : || nomad@armoury ~ [92] ; ps ax | grep name 4026 - Ss 0:00.34 /usr/local/sbin/named -u bind -c /usr/local/etc/namedb/named.conf 4028 0 S+ 0:00.00 grep name Reinstall of bind918 did not fix it for me. I'm continuing to investigate. (In reply to Stefan Bethke from comment #6) Removing protobuf-28.3,1 (and dependencies) and then installing bind918-9.18.30 did the trick for me. This pulled in: New packages to be INSTALLED: bind-tools: 9.20.2 [zs64] bind918: 9.18.30 [zs64] protobuf: 28.3,1 [zs64] protobuf-c: 1.4.1_7 [zs64] So there shouldn't have been any change? |