pkgsrc-Users archive

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

Re: lang/rust-bin



Havard Eidnes <he%NetBSD.org@localhost> wrote:
>> The Makefile seems to be looking in distfiles not distfiles/LOCAL_PORTS.
>>
>> Trying [2001:470:a085:999::21]:80 ...
>> Requesting http://ftp.NetBSD.org/pub/pkgsrc/distfiles/rust-bin-1.62.1/rust-1.62.1-aarch64-unknown-netbsd.tar.xz
>
> I've seen that while packaging, caused by SITES.... variables not
> referring to NETBSD_REPO (because I hadn't matched up with the new
> EXTRACT_SUFX).  But this should all be fixed in Makefile 1.39.
>
> Which version of rust-bin/Makefile are you seeing this with?

I am using 1.39.

I didn't have security/mozilla-rootcerts-openssl installed on the
aarch64 machine and this was causing the initial attempt to download the
tarball from cdn.netbsd.org to fail, the incorrect path above is from
the final site that make tried.

But now it fails to package:

% make package-install
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in rust-bin-1.62.1
===> Installing for rust-bin-1.62.1
WARNING: Your umask is ``0002''.
WARNING: If this is not desired, set it to an appropriate value (0022) and install
WARNING: this package again by ``/usr/bin/make deinstall reinstall''.
=> Generating pre-install file lists
=> Creating installation directories
cd /u1/pkgsrc/lang/rust-bin/files; pax -rw install.sh /u20/pkgobj/lang/rust-bin/work/rust-1.62.1-aarch64-unknown-netbsd.tar.xz
cd /u20/pkgobj/lang/rust-bin/work/rust-1.62.1-aarch64-unknown-netbsd.tar.xz && env PKGMANDIR=man bash ./install.sh  --destdir=/u20/pkgobj/lang/rust-bin/work/.destdir --prefix=/usr/pkg
cat: /u20/pkgobj/lang/rust-bin/work/rust-1.62.1-aarch64-unknown-netbsd.tar.xz/components: No such file or directory
install: error: unable to find installation components

The path created in the work directory is rust-1.62.1-aarch64-unknown-netbsd
without the ".tar.xz".

It does package fine for x86_64, but the tarball for that is ".tar.gz".


Home | Main Index | Thread Index | Old Index