From: Stuart Henderson Subject: Re: [update] sysutils/facette To: Joel Carnat , Landry Breuil , ports@openbsd.org Date: Sat, 13 Apr 2024 10:16:01 +0100 On 2024/04/13 10:14, Stuart Henderson wrote: > On 2024/04/13 10:51, Joel Carnat wrote: > > > > > Le 13 avr. 2024 à 09:33, Landry Breuil a écrit : > > > > > > Le Wed, Apr 10, 2024 at 01:58:35AM +0200, Joel Carnat a écrit : > > >> Hi, > > >> > > >> Looking at sysutils/facette, it is marked as broken. > > >> The attached patch has it compile and working. > > > > > > oh, thanks for coming back at that... wonder if its worth it since its > > > more or less abandoned upstream, and since its go code it might break at > > > some point for using old modules/syscalls/etc ? > > > > I agree with you on the abandoned state. I was just testing a few rrdtool stuff, noticed this one was marked as failed and looked at if I could solve it. > > > > But after (re)using it for a while, I have seen what I wanted and will not use it any longer. > > > > > either way, does it build without network access with your diff ? how > > > did you check that ? > > > > I have not tested an offline build. It was done on my laptop that has wifi access to the Internet. I just ran a few “make clean” / “make package”. > > The simplest way to check that is with PORTS_PRIVSEP=Yes in mk.conf and > a PF rule like "block return quick proto {tcp udp} user _pbuild" > ... ===> Building for facette-0.5.1p3 cd /pobj/facette-0.5.1/facette-0.5.1 && git init Initialized empty Git repository in /usr/obj/ports/facette-0.5.1/facette-0.5.1/.git/ fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified *** Installing pre-commit Git hook... tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified *** Building assets... > build > gulp --no-color build [10:15:40] Using gulpfile /usr/obj/ports/facette-0.5.1/facette-0.5.1/ui/gulpfile.js [10:15:40] Starting 'build'... [10:15:40] Starting 'buildLocales'... [10:15:40] Starting 'buildStyles'... [10:15:40] Starting 'copyHtml'... [10:15:40] Starting 'copyStyles'... [10:15:41] Starting 'buildHtml'... Browserslist: caniuse-lite is outdated. Please run next command `npm update` [10:15:42] Finished 'copyHtml' after 1.74 s [10:15:42] Finished 'buildLocales' after 1.8 s [10:15:42] Finished 'copyStyles' after 1.8 s [10:15:43] Finished 'buildStyles' after 2.7 s [10:15:43] Finished 'buildHtml' after 2.76 s [10:15:43] Starting 'buildScripts'... [10:15:43] Finished 'buildScripts' after 117 ms [10:15:43] Finished 'build' after 2.98 s tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified *** Building binaries for openbsd/amd64... go: cloud.google.com/go@v0.26.0: Get "https://proxy.golang.org/cloud.google.com/go/@v/v0.26.0.mod": dial tcp [2a00:1450:4009:81f::2011]:443: connect: permission denied gmake: *** [Makefile:64: build-bin] Error 1 *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3061 '/pobj/facette-0.5.1/.build_done': @cd /pobj/facette-0.5.1/facette-0.5.1 && ...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2235 '/usr/ports/packages/amd64/all/facette-0.5.1p3.tgz': @cd /usr/ports/sysutils...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2725 '_internal-package': @case X${_DEPENDS_CACHE} in X) _DEPENDS_CACHE=$(sudo -...) *** Error 2 in /usr/ports/sysutils/facette (/usr/ports/infrastructure/mk/bsd.port.mk:2704 'package': @lock=facette-0.5.1p3; export _LOCKS_H...)