[Bug 271519] www/grafana8: too many open files

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 May 2023 19:03:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271519

            Bug ID: 271519
           Summary: www/grafana8: too many open files
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: marko.cupac@mimar.rs
                CC: drtr0jan@yandex.ru
                CC: drtr0jan@yandex.ru
             Flags: maintainer-feedback?(drtr0jan@yandex.ru)

Hi,

grafana8-8.5.24 failed to build in my poudriere jail, it threw errors:

/usr/local/go120/src/image/draw/draw.go:14:2: open
/usr/local/go120/src/image/internal/imageutil: too many open files
/usr/local/go120/src/net/netip/netip.go:21:2: open
/usr/local/go120/src/internal/intern: too many open files
/usr/local/go120/src/go/doc/example.go:12:2: open
/usr/local/go120/src/internal/lazyregexp: too many open files
/usr/local/go120/src/vendor/golang.org/x/text/secure/bidirule/bidirule.go:15:2:
open /usr/local/go120/src/vendor/golang.org/x/text/transform: too many open
files
*** Error code 1

I managed to build it after increasing max files for grafana8 in
poudriere.conf:

MAX_FILES_grafana8=4096

Perhaps it would be useful to put pre-everything:: section in Makefile similar
to one in vscode?

https://github.com/freebsd/freebsd-ports/blob/aebbf6eabc8b52940cf1b25d086ccad063c538d5/editors/vscode/Makefile#L107-L114

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