NetBSD Problem Report #60125

From www@netbsd.org  Tue Mar 24 23:13:04 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "R12" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 04BD31A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Mar 2026 23:13:04 +0000 (UTC)
Message-Id: <20260324231302.C5F551A923D@mollari.NetBSD.org>
Date: Tue, 24 Mar 2026 23:13:02 +0000 (UTC)
From: opensauce04@gmail.com
Reply-To: opensauce04@gmail.com
To: gnats-bugs@NetBSD.org
Subject: libcdr: Linking fails with 'Undefined symbols' errors
X-Send-Pr-Version: www-1.0
X-From4GNATS: "opensauce04@gmail.com via gnats" <gnats-admin@NetBSD.org>

>Number:         60125
>Category:       pkg
>Synopsis:       libcdr: Linking fails with 'Undefined symbols' errors
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    macos-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 24 23:15:00 +0000 2026
>Last-Modified:  Sat Apr 11 13:22:13 +0000 2026
>Originator:     Daniel
>Release:        trunk (commit 0a59679e7d0d979d67ea641d1b753820f1e4e149)
>Organization:
>Environment:
Darwin danmbp 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar  5 22:05:44 PST 2026; root:xnu-12377.101.14~18/RELEASE_ARM64_T8142 arm64
>Description:
When attempting to build libcdr, I receive the following error during the build process:

  CXXLD    libcdr-0.1.la                                                                                Undefined symbols for architecture arm64:                                                                 "_ucnv_close_78", referenced from:
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>, unsigned short) in libcdr-0.1.1.dylib-master.o
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>) in libcdr-0.1.1.dylib-master.o
  "_ucnv_getNextUChar_78", referenced from:
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>, unsigned short) in libcdr-0.1.1.dylib-master.o
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>) in libcdr-0.1.1.dylib-master.o
  "_ucnv_open_78", referenced from:
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>, unsigned short) in libcdr-0.1.1.dylib-master.o
      libcdr::appendCharacters(librevenge::RVNGString&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>) in libcdr-0.1.1.dylib-master.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libcdr-0.1.la] Error code 1
>How-To-Repeat:
Attempt to build libcdr (unknown whether this is a universal issue or setup-dependent)
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 25 Mar 2026 20:52:08 +0000
Responsible-Changed-Why:
macOS problem.

Though I think this looks like you have an inconsistent installation,
with packages built against icu 77 and icu 78 mixed, perhaps?


Responsible-Changed-From-To: darwin-pkg-people->macos-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 11 Apr 2026 13:22:13 +0000
Responsible-Changed-Why:
Same role account, different name


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.