[Bug 293676] www/py-yt-dlp-ejs: Build fails in Poudriere due to requiring network access

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Mar 2026 20:27:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293676

            Bug ID: 293676
           Summary: www/py-yt-dlp-ejs: Build fails in Poudriere due to
                    requiring network access
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: ahktenzero+freebsd@mohorovi.cc
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

Created attachment 268638
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268638&action=edit
Fix building in Poudriere

Package build has been failing under Poudriere since the last update. Poudriere
jails have networking disabled by default so the npm command in do-fetch fails,
with networking enabled it still fails as npm is unable to verify the
certificate for the NPM registry. Installing ca_root_nss and setting
NODE_EXTRA_CA_CERTS to point to the certificate bundle fixes the latter and
allows for a successful build.

I've attached a patch to fix these problems, probably ought to add a warning
about building under Poudriere somewhere as well.

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