Hi,
I am trying to build a package from https://github.com/baskerville/sutils
But, even though my make completes without errors, make install fails because make does not generate any binaries.
It's a very simple package with no dependencies. I generated the package using
`url2pkg https://github.com/baskerville/sutils/archive/refs/tags/0.2.tar.gz`
and after some minor modifications suggested by `pkglint`, my Makefile is:
# $NetBSD$
GITHUB_PROJECT= sutils GITHUB_TAG= refs/tags/0.2 DISTNAME= 0.2 PKGNAME= ${GITHUB_PROJECT}-${DISTNAME} CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_GITHUB:=baskerville/} DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= bsdprg%disroot.org@localhost HOMEPAGE= https://github.com/baskerville/sutils/ COMMENT= Utils for rendering status bar in bspwm LICENSE= unlicense
WRKSRC= ${WRKDIR}/sutils-0.2
.include "../../mk/bsd.pkg.mk"
And make completes without error:
$ make => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for sutils/0.2.tar.gz => Checksum SHA512 OK for sutils/0.2.tar.gz ===> Installing dependencies for sutils-0.2 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 ===> Checking for vulnerabilities in sutils-0.2 ===> Overriding tools for sutils-0.2 ===> Extracting for sutils-0.2 ===> Patching for sutils-0.2 ===> Creating toolchain wrappers for sutils-0.2 ===> Configuring for sutils-0.2 => Checking for portability problems in extracted files
===> Building for sutils-0.2
However, make does not generate any binaries - work/.destdir/usr/pkg/bin/ subdirectory is empty.
So, `make install` fails.
$ make install => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Checking for vulnerabilities in sutils-0.2 ===> Installing for sutils-0.2 => Generating pre-install file lists mkdir -p "/usr/pkgsrc/misc/sutils/work/.destdir/usr/pkg/bin" cp -p "/usr/pkgsrc/misc/sutils/work/.destdir/usr/pkg/bin" usage: cp [-R [-H | -L | -P]] [-f | -i] [-alNpv] src target cp [-R [-H | -L | -P]] [-f | -i] [-alNpv] src1 ... srcN directory *** Error code 1
Stop. make: stopped in /usr/pkgsrc/misc/sutils/work/sutils-0.2 *** Error code 1
Stop. make[1]: stopped in /usr/pkgsrc/misc/sutils *** Error code 1
Stop. make: stopped in /usr/pkgsrc/misc/sutils
Any idea what is wrong?
Best,
Salil
|