pkgsrc-Users archive

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

Re: Bootstrapping and updating cargo-depends.mk



On Tue 21 Apr 2026 at 17:22:46 +0000, Benny Siegert wrote:
> On Tue, 21 Apr 2026, Rhialto wrote:
> 
> > The pkgsrc guide tells me to do this to update cargo-depends.mk (I
> > started with an empty one):
> > 
> > make CARGO_ARGS="build --release" build
> 
> No. You run "make show-cargo-depends > cargo-depends.mk" and that's it.

Aha, this works after a make extract, otherwise

murthe:.../pkgsrc/wip/bookokrat$ make show-cargo-depends
# $NetBSD$

/usr/bin/awk: can't open file /tmpfs/wip/bookokrat/work.x86_64/bookokrat-0.3.9/Cargo.lock
 source line number 1
*** Error code 2

Stop.
make: stopped in /mnt/vol1/rhialto/cvs/pkgsrc/wip/bookokrat

I guess
https://www.netbsd.org/docs/pkgsrc/fixes.html#rust-programming-language
needs to be slightly adjusted then; that is where I have the "make
CARGO_ARGS="build --release" build" from.

[...]
> Also, note that if the crate name ends in "-sys", that's supposed to be the
> same as "builtin" in pkgsrc. That is, it will probably check for an
> installed mupdf and only build its own bundled version if the builtin one is
> not acceptable.

Let's see if I can get it to find the pkgsrc version of mupdf then!

> Benny
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index