pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59205: graphics/librsvg is missing dependencies



>Number:         59205
>Category:       pkg
>Synopsis:       graphics/librsvg is missing dependencies
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 22 13:10:00 +0000 2025
>Originator:     Robert Whitlock
>Release:        pkgsrc current, March 20, 2025
>Organization:
>Environment:
Netbsd current, amd64, March 7, 2025
>Description:
librsvg fails to build if the right packages are not already installed. Here it's missing pkgtools/digest, but I believe there are others as well.

sh: /usr/pkg/bin/digest: not found
sh: /usr/pkg/bin/digest: not found
checksum: Checksum BLAKE2s mismatch for adler-1.0.2.crate
ERROR: Make sure the Makefile and checksum file (/usr/pkgsrc/graphics/librsvg/distinfo)
ERROR: are up to date.  If you want to override this check, type
ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make: stopped making "install" in /usr/pkgsrc/graphics/librsvg
>How-To-Repeat:
start from a clean pkgsrc setup - PACKAGES, WRKOBJDIR, /usr/pkg, etc
cd graphics/librsvg
make install-depends
delete_unneeded_packages
make install


where delete_unneeded_packages is the following shell function:

delete_unneeded_packages() {
	while true; do
		local found_one
		found_one=no

 		while read ipn; do
			[ x"`pkg_info -Q automatic $ipn`" = x"yes" ] || continue
			[ -z "`pkg_info -qR $ipn`" ] || continue
			pkg_delete "$ipn"
		done <<EOF
`pkg_info -e '*'`
EOF

		if [ $found_one = no ]; then
			break
		fi
	done
}
>Fix:
add the pkgtools/digest dependency, try to recompile, add other missing dependencies



Home | Main Index | Thread Index | Old Index