pkg/60262: graphics/graphviz fails build with previous version installed
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
>Number: 60262 >Category: pkg >Synopsis: graphics/graphviz fails build with previous version installed >Confidential: no >Severity: serious >Priority: medium >Responsible: pkg-manager >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu May 14 21:20:00 +0000 2026 >Originator: David A. Holland >Release: NetBSD 11.99.4 (20260101), pkgsrc 20260504 >Organization: webuildem/ufixem >Environment: System: NetBSD valkyrie 11.99.4 NetBSD 11.99.4 (VALKYRIE2) #0: Thu Jan 1 22:38:54 EST 2026 dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE2 amd64 Architecture: x86_64 Machine: amd64 >Description: Building graphviz with make && make replace failed as follows: ===> Updating using binary package of graphviz-14.1.5 /usr/bin/env /usr/sbin/pkg_add -K /var/db/pkg -U -D /usr/pkgsrc/graphics/graphviz/work/.packages/graphviz-14.1.5.tgz pkg_add: graphviz-14.1.5: missing required library: /usr/pkg/lib/libcdt.so.5 pkg_add: graphviz-14.1.5: missing required library: /usr/pkg/lib/libcgraph.so.6 pkg_add: 1 package addition failed *** Error code 1 Those are the prior versions of libs installed by graphviz; the behavior is caused by graphviz's build linking bins against the versions in /usr/pkg/lib instead of the versions it just built. That's not supposed to happen, and ideally the wrappers wouldn't allow it. Removing the prior version before building works around the problem. It will also obviously only surface, and at least theoretically only matter, after a major version bump. The prior version appears to have been 12.2.1nb5, so before the three updates this spring. >How-To-Repeat: Install old graphviz, build new, make replace. >Fix: Remove elder gods from build system.