Date: Tue, 12 Nov 2019 22:16:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 241925] net-mgmt/prometheus2: Frontend files missing in 2.14.0 Message-ID: <bug-241925-7788-XEaTw6tXeH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-241925-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-241925-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=3D241925 Ryan Steinmetz <zi@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zi@FreeBSD.org --- Comment #1 from Ryan Steinmetz <zi@FreeBSD.org> --- This was caused by two things: 1. We don't pass all the correct build flags. We need to add this to the Makefile: GO_BUILDFLAGS+=3D-mod=3Dvendor -a -tags netgo,builtinassets 2. Which causes the build to expect two new go source files which must be provided or build. In their Makefile, they expect that 'gmake assets' gets called before the build starts, which runs yarn, compiles/downloads a bunch= of stuff and creates two required go files for the above to work: web/ui/ui.go web/ui/assets_vfsdata.go assets_vfsdata.go is ~14M and has all of the HTML from the templates/ dir embedded in it. We probably don't want to run `gmake assets` as we do not want to reach out= to the Internet during the port build phase. So, as a workaround, I'd suggest hosting the above two files somewhere. Then, open a PR with the prometheus developers to request that they build/embed these files in their release tarballs moving forward. --=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-241925-7788-XEaTw6tXeH>