hck: 0.8.2 build failure on NetBSD
Hi,
What I thought would be a quick update has turned into a headache.
For background see, https://github.com/orhun/git-cliff/issues/105 and https://github.com/rust-lang/git2-rs/issues/881
Now linking against libgit2 and openssl doesn’t seem to help anymore.
Here’s my current package Makefile
# $NetBSD: Makefile,v 1.3 2022/06/08 11:33:42 pin Exp $
DISTNAME= hck-0.8.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=sstadick/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/sstadick/hck/
COMMENT= Sharp cut(1) clone
LICENSE= unlicense OR mit
BUILD_DEPENDS+= cmake-[0-9]*:../../devel/cmake
.include "cargo-depends.mk"
USE_TOOLS+= pkg-config
INSTALLATION_DIRS= bin
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libgit2}/lib
#RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libgit2}/include
#RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libgit2}/include
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/hck \
${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../devel/libgit2/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
And the error I’m getting, https://pastebin.com/Kg4KzDK3
I know this is not related to hck but, maybe you have an idea?
Thanks.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (13 by maintainers)
All good again, thanks!
@0323pin - v0.9.0 is out now
No need to apologize. I’ve been on the other side of the equation – C library dependencies are annoying for C code and can be hell for everything else. This is especially true when the functionality is not core but very ancillary.
Thanks for the response.
I’ll release a 1.5.2 soon - I’ve got a few other bugfixes that need to land first. 😓