pkgsrc-Users archive

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

Re: py313-pybind11 build fails on netbsd-11/amd64?



On Sun, 15 Mar 2026, Greg Troxel wrote:

> I wonder if you have either
> 
>   - an installed package which is troubled.  Definitely run 

To begin, all automatically-installed packages which had no dependents were
removed with 'pkg_delete -R ...'.

Next all outdated packages were updated with 'pkg_rolling-replace' (with
"-Xpy313-Pillow" when it became a problem.

Lastly, all packages for which OS_VERSION didn't match (11.0_BETA vs
11.0_RC2) were replaced (marked w/'pkg_admin set rebuild=YES ...' and
'pkg_rolling-replace' run again).

>     + pkg_admin check
>     + pkg_admin rebuild
>     + pkg_admin rebuild-tree

I didn't run "check", but did have to run "rebuild" and "rebuild-tree"
when a dependency of 'vlc' complained about not finding an older version
of 'vlc' than was already installed.

>   - a package tree that is not generally consistent.  If you've been
>     building from source, then I recommend pkg_rolling-replace -uvk and

I usually run with just "-u" and fix things as they occur.

>     fix any problems.   Just updating pkgsrc and assuming that if a
>     package is too old pkgsrc will tell you is technically within plan,
>     but puts you in a situation that ~nobody tests.

I've updated my package trees this same way for years with no problems
that weren't immediately obvious (usually pkg_rr following a rabbit hole
and trying to package-install updated dependencies for its target package
or when PYTHON_VERSION_DEFAULT changes and 'itstool' is temporarily broken.
(I've also had to scan packages for vestiges of old python versions and
mark them for rebuilding...)

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index