Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2019 20:09:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236607] net/yggdrasil: Version 0.3.5
Message-ID:  <bug-236607-7788-UFbnjcHx9J@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236607-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236607-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236607

Dmitri Goutnik <dg@syrec.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dg@syrec.org

--- Comment #3 from Dmitri Goutnik <dg@syrec.org> ---
Hi,

Thank you for your submission, there are a few issues with the port:

- It doesn't currently build in poudriere because neither $HOME nor $GOCACH=
E is
set by default:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building for yggdrasil-0.3.5
mkdir /wrkdirs/usr/ports/net/yggdrasil/work/.gocache
cd /wrkdirs/usr/ports/net/yggdrasil/work/yggdrasil-go-0.3.5 &&
PKGNAME=3Dyggdrasil PKGVER=3D0.3.5 ./build
Building: yggdrasil
failed to initialize build cache at /nonexistent/.cache/go-build: mkdir
/nonexistent: permission denied
Building: yggdrasilctl
failed to initialize build cache at /nonexistent/.cache/go-build: mkdir
/nonexistent: permission denied

The easiest fix would be to update the build target to ${SETENV} ${MAKE_ENV}
before calling build:

cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PKGNAME=3D${PORTNAME} PKGVER=3D${PORT=
VERSION}
./build

- All dependencies will need to be vendored by the upstream or added to
GH_TUPLE (same commit ids/tags as specified in go.mod, devel/modules2tuple =
can
help with GH_TUPLE generation)

- ${INSTALL_PROGRAM} already does the stripping, no need to do this again in
post-install

- Config files should go to ${PREFIX}/etc, not /etc

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236607-7788-UFbnjcHx9J>