Bug 284828

Summary: www/node*: bump required after devel/icu: Update to 76.1
Product: Ports & Packages Reporter: Ale <discipline>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: diizzy, freebsd-ports, jakub_lach, sunpoet, vvd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ale 2025-02-15 05:19:52 UTC
www/node22/Makefile has
NLS_BUILD_DEPENDS=      icu>=69.1:devel/icu

I think configure for www/firefox is failing after devel/icu update because of that:
checking for nodejs... ld-elf.so.1: Shared object "libicui18n.so.74" not found, required by "node"
Comment 1 Andre Rikkert de Koe - ARK-ICT 2025-02-15 13:50:51 UTC
This Error building kibana may be related:

===>  Configuring for kibana8-8.11.3
(  _NODEVER=$(/usr/local/bin/node --version | /usr/bin/sed -n 's|^v\(.*\)|\1|p') &&  /bin/mkdir -p /usr/ports/textproc/kibana8/work/.devdir/${_NODEVER}/include &&  install -l rs /usr/local/include/node /usr/ports/textproc/kibana8/work/.devdir/${_NODEVER}/include/node &&  echo "9" > /usr/ports/textproc/kibana8/work/.devdir/${_NODEVER}/installVersion  )
ld-elf.so.1: Shared object "libicui18n.so.74" not found, required by "node"
/bin/mkdir -p /usr/ports/textproc/kibana8/work/.devdir/nan
(cd /usr/ports/textproc/kibana8/work/nan-2.18.0 && /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/textproc/kibana8/work/.devdir/nan  "! ( -name \.* -or -path *\/test\/* -or -name test )")
(cd /usr/ports/textproc/kibana8/work/node-re2-1.20.0 &&  /usr/bin/env HOME=/usr/ports/textproc/kibana8/work  /usr/local/lib/node_modules/npm/node_modules/.bin/node-gyp configure  --python=/usr/local/bin/python3.11  --nodedir=/usr/local  --devdir=/usr/ports/textproc/kibana8/work/.devdir)
ld-elf.so.1: Shared object "libicui18n.so.74" not found, required by "node"
*** Error code 1
Comment 2 jakub_lach 2025-02-17 08:17:29 UTC
Shouldn't devel/icu update be mentioned in UPDATING due to lib change? 

As of now, particular ports bumps were missing (devel/node22 package is recompiled already at the the FreeBSD servers but at the time of the update the package would not work after devel/icu update due to missing 74).
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-02-18 02:05:16 UTC
Close "Overcome By Events"?
Comment 5 jakub_lach 2025-02-18 04:18:14 UTC
(In reply to Vladimir Druzenko from comment #4)

Now I cannot upgrade Firefox due to PR283234 as packages is not yet upgraded :)
Comment 6 Ale 2025-02-18 09:42:27 UTC
(In reply to Vladimir Druzenko from comment #4)
I *think* www/node18 and www/node23 still need a PORTREVISION bump.
Comment 7 Po-Chuan Hsieh freebsd_committer freebsd_triage 2025-02-19 14:51:57 UTC
The PORTREVISION bump for devel/icu update is required. It should be part of ports ff33dd4700e81bd57df259a0fe29ed5fdddf2653.

As of now, the bump is no longer needed for www/node{20,22,23} since I've already updated these ports to the newer version which also trigger the rebuild.
Comment 8 commit-hook freebsd_committer freebsd_triage 2025-02-19 14:52:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5cbc82cf89839077ef8d52dd2d2019bd7153a0ed

commit 5cbc82cf89839077ef8d52dd2d2019bd7153a0ed
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-19 14:48:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-19 14:48:12 +0000

    www/node18: Bump PORTREVISION for devel/icu shlib change

    It should be part of ports ff33dd4700e81bd57df259a0fe29ed5fdddf2653.

    PR:             284828

 www/node18/Makefile | 1 +
 1 file changed, 1 insertion(+)