[Bug 290664] www/node22 conflicts with corepaxk

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Oct 2025 17:35:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290664

            Bug ID: 290664
           Summary: www/node22 conflicts with corepaxk
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: xavier@groumpf.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Hi,
www/node22 fails to build : it depends on corepack which is incompatible :

===>  Staging for node22-22.19.0_4
===>   node22-22.19.0_4 depends on package: corepack>=0 - not found
===>  License MIT accepted by the user
===>   corepack-0.34.1 depends on file: /usr/local/sbin/pkg - found
=> corepack.tgz doesn't seem to exist in /usr/ports/distfiles/corepack/0.34.1.
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/corepack/0.34.1/corepack.tgz
corepack.tgz                                           222 kB 1144 kBps    00s
===> Fetching all distfiles required by corepack-0.34.1 for building
===>  Extracting for corepack-0.34.1
=> SHA256 Checksum OK for corepack/0.34.1/corepack.tgz.
===>  Patching for corepack-0.34.1
===>  Configuring for corepack-0.34.1
===>  Staging for corepack-0.34.1
===>   Generating temporary packing list
/bin/mkdir -p /usr/ports/www/corepack/work/stage/usr/local/lib/node_modules/
cd /usr/ports/www/corepack/work/corepack-0.34.1/package/ && /bin/sh -c
'(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && 
/usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' &&
chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' &&
chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE .
/usr/ports/www/corepack/work/stage/usr/local/lib/node_modules/corepack/
/bin/ln -s ../lib/node_modules/corepack/dist/corepack.js
/usr/ports/www/corepack/work/stage/usr/local/bin/corepack
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
===>  Installing for corepack-0.34.1
===>  Checking if corepack is already installed
===>   Registering installation for corepack-0.34.1 as automatic
Installing corepack-0.34.1...
pkg-static: corepack-0.34.1 conflicts with node22-22.19.0_3 (installs files
into the same place).  Problematic file: /usr/local/bin/corepack
*** Error code 1

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