Issue rebuilding icu-74 and dependencies

Greetings all.
I'm new to FreeBSD.
Sorry for my English, it's not native.

I am using FreeBSD 13.2-RELEASE-p10 as my mail server.
Updated icu port using portmaster.

sudo portmaster -Hd icu-\*

===>>> Currently installed version: icu-72.1,1
===>>> Port directory: /usr/ports/devel/icu

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for devel/icu in background
===>>> Gathering dependency list for devel/icu from ports
===>>> Initial dependency check complete for devel/icu


===>>> Starting build for devel/icu <<<===

===>>> All dependencies are up to date

===> Cleaning for icu-74.2,1
===>>> Waiting on fetch & checksum for devel/icu <<<===
===> License ICU accepted by the user
===> icu-74.2,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by icu-74.2,1 for building


===>>> Logging build to /tmp/port_log-35353-icu.wsBc6GcA
===> License ICU accepted by the user
===> icu-74.2,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by icu-74.2,1 for building
===> Extracting for icu-74.2,1
=> SHA256 Checksum OK for icu4c-74_2-src.tgz.
===>>> Building the port required 180 seconds

===>>> Creating a backup package for old version icu-72.1,1
Creating package for icu-72.1,1
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
icu: 72.1,1

Number of packages to be removed: 1

The operation will free 52 MiB.
[1/1] Deinstalling icu-72.1,1...
[1/1] Deleting files for icu-72.1,1: 100%

===>>> Logging install to /tmp/port_log-35353-icu.wsBc6GcA

===>>> Deleting stale distfile: icu4c-72_1-src.tgz
===>>> Deleting stale distfile: icu4c-71_1-src.tgz
===>>> Upgrade of icu-72.1,1 to icu-74.2,1 complete
After that everything broke.
It turned out that many other ports use icu.
I'm trying to rebuild them based on the new icu, but I get the following error.

sudo portmaster -dHr icu-\*

===>>> Working on:
icu-74.2,1

===>>> Gathering distinfo list for installed ports


===>>> icu-74.2,1 1/1

===>>> Currently installed version: icu-74.2,1
===>>> Port directory: /usr/ports/devel/icu

===>>> Launching 'make checksum' for devel/icu in background
===>>> Gathering dependency list for devel/icu from ports
===>>> Initial dependency check complete for devel/icu


===>>> Checking ports that depend on icu-74.2,1

===>>> Launching child to reinstall dovecot-2.3.20

===>>> Checking dependent ports >> dovecot-2.3.20 (1/1)

===>>> Currently installed version: dovecot-2.3.20
===>>> Port directory: /usr/ports/mail/dovecot

===>>> Launching 'make checksum' for mail/dovecot in background
===>>> Gathering dependency list for mail/dovecot from ports
===>>> Initial dependency check complete for mail/dovecot

===>>> Returning to list of ports depending on icu-74.2,1
===>>> Launching child to reinstall rspamd-3.4_1

===>>> Checking dependent ports >> rspamd-3.4_1 (2/2)

===>>> Currently installed version: rspamd-3.4_1
===>>> Port directory: /usr/ports/mail/rspamd

===>>> Launching 'make checksum' for mail/rspamd in background
===>>> Gathering dependency list for mail/rspamd from ports

===>>> The dependency for databases/sqlite3
seems to be handled by sqlite3-3.40.0,1

===>>> Launching child to update sqlite3-3.40.0,1 to sqlite3-3.45.0_1,1

===>>> Checking dependent ports >> sqlite3-3.40.0,1 (3/3)

===>>> Currently installed version: sqlite3-3.40.0,1
===>>> Port directory: /usr/ports/databases/sqlite3@default

===>>> Launching 'make checksum' for databases/sqlite3@default in background
===>>> Gathering dependency list for databases/sqlite3@default from ports
===>>> Launching child to update tcl86-8.6.13 to tcl86-8.6.13_1

===>>> Checking dependent ports >> sqlite3-3.40.0,1 >> tcl86-8.6.13 (4/4)

===>>> Currently installed version: tcl86-8.6.13
===>>> Port directory: /usr/ports/lang/tcl86

===>>> Launching 'make checksum' for lang/tcl86 in background
===>>> Gathering dependency list for lang/tcl86 from ports
===>>> Initial dependency check complete for lang/tcl86

===>>> Continuing initial dependency check for databases/sqlite3@default
===>>> Initial dependency check complete for databases/sqlite3@default

===>>> Continuing initial dependency check for mail/rspamd

===>>> The dependency for lang/luajit-devel
seems to be handled by luajit-2.0.5_6

===>>> Launching child to update luajit-2.0.5_6 to luajit-2.0.5_7

===>>> Checking dependent ports >> luajit-2.0.5_6 (5/5)

===>>> Currently installed version: luajit-2.0.5_6
===>>> Port directory: /usr/ports/lang/luajit

===>>> Launching 'make checksum' for lang/luajit in background
===>>> Gathering dependency list for lang/luajit from ports
===>>> Initial dependency check complete for lang/luajit

===>>> Continuing initial dependency check for mail/rspamd
===>>> Initial dependency check complete for mail/rspamd

===>>> Returning to list of ports depending on icu-74.2,1
===>>> Launching child to reinstall postgresql12-server-12.13_1

===>>> Checking dependent ports >> postgresql12-server-12.13_1 (6/6)

===>>> Currently installed version: postgresql12-server-12.13_1
===>>> Port directory: /usr/ports/databases/postgresql12-server

===>>> Launching 'make checksum' for databases/postgresql12-server in background
===>>> Gathering dependency list for databases/postgresql12-server from ports
===>>> Launching child to install devel/llvm15

===>>> Checking dependent ports >> devel/llvm15 (7/7)

===>>> Port directory: /usr/ports/devel/llvm15

===>>> Launching 'make checksum' for devel/llvm15 in background

┌─────────────────────────────┤llvm15-15.0.7_10├──────────────────────────────┐
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ [ OK ] [Cancel] │
└─────────────────────────────────────────────────────────────────────────────┘




┌─────────────────────────────┤llvm15-15.0.7_10├──────────────────────────────┐
│ 'F1' for Ports Collection help. │
│ ┌─────────────────────────────────────────────────────────────────────────┐ │
│ │new [ ] BE_AMDGPU AMD GPU backend (required by mesa) │ │
│ │new [ ] BE_WASM WebAssembly backend (required by firefox via wasi) │ │
│ │new [ ] CLANG Build clang │ │
│ │new [ ] COMPILER_RT Sanitizer libraries │ │
│ │new [ ] DOCS Build and/or install documentation │ │
│ │new [ ] EXTRAS Extra clang tools │ │
│ │new [ ] FLANG Flang FORTRAN compiler │ │
│ │new [ ] GOLD Build the LLVM Gold plugin for LTO │ │
│ │new [ ] LIT Install lit and FileCheck test tools │ │
│ │new [ ] LLD Install lld, the LLVM linker │ │
│ │new [ ] LLDB Install lldb, the LLVM debugger │ │
│ │new [ ] MLIR Multi-Level Intermediate Representation │ │
│ │new [ ] OPENMP Install libomp, the LLVM OpenMP runtime library │ │
│ │new [ ] PYCLANG Install python bindings to libclang │ │
│ │new [ ] STATIC_LIBS Install static libraries (does not effect sanitizers)│ │
│ │──────────────────── BACKENDS [select at least one] ─────────────────────│ │
│ │new ( ) BE_FREEBSD Backends for FreeBSD architectures │ │
│ │new ( ) BE_NATIVE Backend(s) for this architecture (X86) │ │
│ │new (*) BE_STANDARD All non-experimental backends │ │
│ └─────────────────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────────┤
│ [ OK ] [Cancel] │
└─────────────────────────────────────────────────────────────────────────────┘


===>>> Gathering dependency list for devel/llvm15 from ports
===>>> Initial dependency check complete for devel/llvm15

===>>> Continuing initial dependency check for databases/postgresql12-server
===>>> Initial dependency check complete for databases/postgresql12-server

===>>> Returning to list of ports depending on icu-74.2,1
===>>> Launching child to reinstall postfix-3.7.3_1,1

===>>> Checking dependent ports >> postfix-3.7.3_1,1 (8/8)

===>>> Currently installed version: postfix-3.7.3_1,1
===>>> Port directory: /usr/ports/mail/postfix@default

===>>> This port is marked IGNORE
===>>> cannot install: unknown OpenLDAP version: 24


===>>> If you are sure you can build it, remove the
IGNORE line in the Makefile and try again.

===>>> Update for postfix-3.7.3_1,1 failed
===>>> Aborting update
Please tell me what needs to be done to correctly rebuild the icu-74 and all dependent ports?
In the list of updates, the OpenLDAP port is marked as "orphaned", what does this mean and what does it affect?

pkg version -vL=
apache-solr-8.11.2,1 < needs updating (index has 9.4.1,1)
cyrus-sasl-2.1.28 < needs updating (index has 2.1.28_4)
dehydrated-0.7.1 < needs updating (index has 0.7.1.5_1)
devcpu-data-20221109 ? orphaned: sysutils/devcpu-data
devcpu-data-intel-20221108 ? orphaned: sysutils/devcpu-data-intel
dovecot-2.3.20 < needs updating (index has 2.3.21_3)
dovecot-pigeonhole-0.5.20 < needs updating (index has 0.5.21_1)
gcc11-11.3.0_7 < needs updating (index has 11.4.0_1)
git-2.43.0_1 < needs updating (index has 2.43.2)
libGLU-9.0.2_1 < needs updating (index has 9.0.2_2)
libICE-1.1.0_1,1 < needs updating (index has 1.1.0_2,1)
libSM-1.2.3,1 < needs updating (index has 1.2.3_1,1)
libX11-1.7.2,1 < needs updating (index has 1.8.7_1,1)
libXau-1.0.9 < needs updating (index has 1.0.9_1)
libXext-1.3.4,1 < needs updating (index has 1.3.6,1)
libXfixes-6.0.0 < needs updating (index has 6.0.0_1)
libXi-1.8,1 < needs updating (index has 1.8_1,1)
libXrandr-1.5.2 < needs updating (index has 1.5.2_1)
libXt-1.2.1,1 < needs updating (index has 1.2.1_1,1)
libXtst-1.2.3_2 < needs updating (index has 1.2.3_3)
libXxf86vm-1.1.4_3 < needs updating (index has 1.1.4_4)
libarchive-3.6.1_1,1 < needs updating (index has 3.7.2_1,1)
libglvnd-1.6.0 < needs updating (index has 1.7.0)
libpthread-stubs-0.4 ? orphaned: devel/libpthread-stubs
libslang2-2.3.3 < needs updating (index has 2.3.3_2)
libthai-0.1.29 < needs updating (index has 0.1.29_1)
libunwind-20211201_1 < needs updating (index has 20240112)
libxcb-1.15 < needs updating (index has 1.15_2)
llvm13-13.0.1_3 < needs updating (index has 13.0.1_7)
lua52-5.2.4 < needs updating (index has 5.2.4_1)
lua53-5.3.6 < needs updating (index has 5.3.6_1)
luajit-2.0.5_6 < needs updating (index has 2.0.5_7)
mc-nox11-4.8.28 ? orphaned: misc/mc
openjdk11-11.0.17+8.1_1 < needs updating (index has 11.0.22+7.1_1)
openldap24-client-2.4.59_4 ? orphaned: net/openldap24-client
p5-DBD-CSV-0.59,1 < needs updating (index has 0.60,1)
p5-DateTime-TimeZone-2.61,1 < needs updating (index has 2.62,1)
p5-MIME-Tools-5.510,2 < needs updating (index has 5.514,2)
p5-MIME-Types-2.24 < needs updating (index has 2.26)
p5-Mail-DKIM-1.20230911 < needs updating (index has 1.20240124)
p5-URI-5.26 < needs updating (index has 5.27)
pcre-8.45_3 < needs updating (index has 8.45_4)
postfix-3.7.3_1,1 < needs updating (index has 3.8.5,1)
postgresql12-server-12.13_1 < needs updating (index has 12.18)
py39-cython-0.29.32 < needs updating (index has 0.29.37)
py39-dnspython-2.2.1_1,1 < needs updating (index has 2.6.0,1)
py39-fail2ban-1.0.2 < needs updating (index has 1.0.2_1)
py39-pyparsing-3.0.9 < needs updating (index has 3.1.1)
py39-pyspf-2.0.14 < needs updating (index has 2.0.14_1)
py39-sqlite3-3.9.16_7 < needs updating (index has 3.9.18_7)
redis-7.0.7 < needs updating (index has 7.2.4)
rspamd-3.4_1 < needs updating (index has 3.8.1)
rsync-3.2.7 < needs updating (index has 3.2.7_1)
spawn-fcgi-1.6.4_2 < needs updating (index has 1.6.4_3)
sqlite3-3.40.0,1 < needs updating (index has 3.45.0_1,1)
sudo-1.9.15p5_3 < needs updating (index has 1.9.15p5_4)
sympa-6.2.68 < needs updating (index has 6.2.72)
tcl86-8.6.13 < needs updating (index has 8.6.13_1)
zfs-stats-1.3.1 < needs updating (index has 1.3.2)
 
Please tell me what needs to be done to correctly rebuild the icu-74 and all dependent ports?
In the list of updates, the OpenLDAP port is marked as "orphaned", what does this mean and what does it affect?

openldap24-client is DEPRECATED: No longer supported by upstream. Because it is delete from the ports tree, but still installed on the current system, it brakes the build chain.

Force delete ( pkg delete -f) installed openldap24-client, initiate rebuild of devel/icu again. That should correct the build chain.
 
openldap24-client is DEPRECATED: No longer supported by upstream. Because it is delete from the ports tree, but still installed on the current system, it brakes the build chain.

Force delete ( pkg delete -f) installed openldap24-client, initiate rebuild of devel/icu again. That should correct the build chain.
Thanks for reply, T-Daemon.
May i ask else noob question.
Before uninstall current deprecated openldap24-client port, need i backup some data?
 
Thanks, T-Daemon.
I think removing the deprecated openldap24-client is a bad idea. Many ports depend on it.
I decided to try restore the old version of icu-72 to get the mail server running. Then i need a better plan how ports are updated.

I found the sources files on cgit.freebsd.org
Can anyone tell me the correct procedure for assembling my own icu-72 port?
 
If this is a production server and you don't want risk it going down, you could create a jail, install all packages from the mail server in the jail (see pkg-create(8) and test a portsupgrade. If all goes well bring the jail online and upgrade hosts ports.

If file system is ZFS you could create a boot environment bectl(8)
 
Do you even need LDAP support? Sounds to me like the OP doesn't even use LDAP. In that case it's going to matter very little which OpenLDAP client is installed.
 
Thanks everyone for the answers.
Yes, the server is a production mail server.
Due to my inexperience, I could struggle with addiction for a long time.
I copied the files of the old icu-72 port from here and rebuild it on my system.
Mail server services have been restored.

The server has not been serviced since December 2022. Therefore, there is a large version gap between the ports.
Yes, LDAP is used. AD users are authorized through it on the mail server.
I'd rather work on a plan to update legacy ports.

Sorry for my english.
 
Yes, LDAP is used. AD users are authorized through it on the mail server.
Do I understand correctly you're using an LDAP client to authenticate/authorize users from AD? In that case the version of the LDAP client isn't going to matter much. Remove the old 2.4 version and install 2.6. Rebuild everything that depends on the OpenLDAP client, they're all going to depend on 2.6 anyway. Like I said, the default changed to 2.6 at least a year, probably even longer, ago.

 
Back
Top