pkgsrc-Users archive

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

Re: Can't (re)build pkg_chk after cvs up -A



After point mk/compiler/gcc.mk at lang/gcc10 instead of lang/gcc12 and then building pkgtools/pkg_chk, pkg_rolling-replace -rsuv has found several programs to rebuild and is rebuilding them.

On Mon, Jun 20, 2022 at 5:43 AM Michael Huff <mphuff%gmail.com@localhost> wrote:
This is on NetBSD 9.2 AMD65, in a virtualbox virtual machine.

This is a recent pkgsrc installation from June 12th which I have built a handful of programs (some emulators, mate-terminal, icewm and firefox) and that I've updated again today (June 20 2022) running "cvs up -A" in /usr/pkgsrc

I didn't have pkg_rolling-replace so I compiled/installed that after the update. I'm not sure how to use it, running just "pkg_rolling-replace" didn't change anything but i tried again following one of the examples
from the manpage and it seemed to fail on building pkgtools/pkg_chk

Here's the output:
beast92$ cd /usr/pkgsrc/;pkg_rolling-replace -rsuv
RR> Checking for mismatched installed packages using pkg_chk
make: "/usr/pkgsrc/mk/compiler/gcc.mk" line 154: Could not find ../../lang/gcc12/version.mk
make: Fatal errors encountered -- cannot continueeval:  make: stopped in /usr/pkgsrc/pkgtools/pkg_chk: not found
RR> Excluding the following mismatched packages:
rr> EXCLUDE=[]
RR> Checking for rebuild-requested installed packages (rebuild=YES)
RR> Checking for unsafe installed packages (unsafe_depends_strict=YES)
RR> Packages to rebuild:
rr> MISMATCH_TODO=[]
rr> REBUILD_TODO=[]
rr> UNSAFE_TODO=[]
RR> No more packages to replace; done.
beast92$ cd pkgtools/pkg_chk
beast92$ make package&&make install
make: "/usr/pkgsrc/mk/compiler/gcc.mk" line 154: Could not find ../../lang/gcc12/version.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/pkgsrc/pkgtools/pkg_chk
beast92$
----
I could easily be doing something wrong, particularly with pkg_rolling-replace which I'm not sure how to use.

Let me know if there's anything you'd like me to try

Regards,
Michael


Home | Main Index | Thread Index | Old Index