[tlbuild] rebuild please

Bruno Voisin bvoisin at icloud.com
Sun Mar 9 14:58:04 CET 2025


> Karl Berry wrote:
> 
> (Aside: Although trying a build against the new libpng and new harfbuzz
> that Akira just committed would be welcome, for anyone, so we can find
> problems earlier than later. Irrelevant for the TL25 binaries, though.)

Attempting to build with the latest macOS 15.4 and Xcode 16.3, both in beta, XeTeX doesn't build. (Short version: it seems you need to specify C++17.)

I followed the instructions at <https://tug.org/texlive/doc/tlbuild.html#Build-one-engine>

	../configure --without-x --disable-shared --disable-all-pkgs \
	             --disable-tex --enable-synctex --enable-xetex \
	             --enable-missing -C CFLAGS=-g CXXFLAGS=-g
	make 
	cd texk/web2c
	make xetex

The setup:

	** Configuration summary for TeX Live 2025-03-07 (2026/dev):

	   compiling for aarch64-apple-darwin24.4.0
	      in /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work
	      from sources in /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309

	   C compiler (CC):              gcc (Apple clang version 17.0.0 (clang-1700.0.13.2))
	   C++ compiler (CXX):           g++ (Apple clang version 17.0.0 (clang-1700.0.13.2))
	   PATH:                         /usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Library/TeX/texbin

	   enable_native_texlive_build:  yes
	   enable_largefile:             yes
	   enable_shared:                no
	   enable_multiplatform:         yes
	   enable_cxx_runtime_hack:      yes
	   enable_libtool_hack:          yes
	   enable_compiler_warnings:     min

	   prefix:                       /usr/local
	   includedir:                   ${prefix}/include
	   datarootdir:                  ${prefix}
	   mandir:                       ${prefix}/texmf-dist/doc/man
	   infodir:                      ${prefix}/texmf-dist/doc/info
	   exec_prefix:                  ${prefix}
	   bindir:                       ${exec_prefix}/bin/aarch64-apple-darwin24.4.0
	   libdir:                       ${exec_prefix}/lib/aarch64-apple-darwin24.4.0

	** Next run `make' to configure and build each library and program.

The errors below don't seem related to libpng, they come from icu. Many mention C++17.

Xcode 16.3 introduces a number of changes to the C++ compiler. There's a list at

	https://developer.apple.com/documentation/xcode-release-notes/xcode-16_3-release-notes

Among them,

> The default C++ language standard for the Apple Clang compiler is now gnu++14.

Switching to

	make CXXFLAGS="-std=c++17" xetex

allows the build to complete. I don't know whether that's the proper way to solve the problem.

Then

	% TEXMFROOT=/usr/local/texlive/2025 \
	TEXMFCNF=$TEXMFROOT/texmf-dist/web2c \
	./xetex --version
	XeTeX 3.141592653-2.6-0.999997 (TeX Live 2026/dev)
	kpathsea version 6.4.2/dev
	Copyright 2025 SIL International, Jonathan Kew and Khaled Hosny.
	There is NO warranty.  Redistribution of this software is
	covered by the terms of both the XeTeX copyright and
	the Lesser GNU General Public License.
	For more information about these matters, see the file
	named COPYING and the XeTeX source.
	Primary author of XeTeX: Jonathan Kew.
	Compiled with ICU version 76.1; using 76.1
	Compiled with zlib version 1.3.1; using 1.3.1
	Compiled with FreeType2 version 2.13.3; using 2.13.3
		Compiled with Graphite2 version 1.3.14; using 1.3.14
	Compiled with HarfBuzz version 10.4.0; using 10.4.0
	Compiled with libpng version 1.6.47; using 1.6.47
	Compiled with pplib version v2.2
	Using Mac OS X Core Text and Cocoa frameworks

The make test fails, owing to a missing lauxlib.h, despite the presence of libs/lua53/lua53-src/src/lauxlib.h. So I imagine my call

	make -C ~/Desktop/Build/TeXLive/texlive-20250309/Work/texk/web2c check SUBDIRS=. TESTS='$(xetex_tests)'

is wrong.

Bruno Voisin


Errors for "make xetex"
=======================

g++ -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c  -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/texk -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/texk -DNO_DEBUG -I../../../texk/web2c/xetexdir -DU_STATIC_IMPLEMENTATION -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/freetype2/freetype2 -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/teckit/include -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/graphite2/include -DGRAPHITE2_STATIC -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/libpng/include -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/zlib/include -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/pplib/include -I../../../texk/web2c/libmd5 -DXETEX_MAC    -g -MT xetexdir/libxetex_a-XeTeXLayoutInterface.o -MD -MP -MF xetexdir/.deps/libxetex_a-XeTeXLayoutInterface.Tpo -c -o xetexdir/libxetex_a-XeTeXLayoutInterface.o `test -f 'xetexdir/XeTeXLayoutInterface.cpp' || echo '../../../texk/web2c/'`xetexdir/XeTeXLayoutInterface.cpp
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:37:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/ubidi.h:22:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utypes.h:39:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/uversion.h:167:11: warning: nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]
  167 | namespace U_HEADER_ONLY_NAMESPACE {}
      |           ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/uversion.h:165:48: note: expanded from macro 'U_HEADER_ONLY_NAMESPACE'
  165 | #define U_HEADER_ONLY_NAMESPACE U_ICU_NAMESPACE::U_HEADER_NESTED_NAMESPACE
      |                                                ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:37:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/ubidi.h:26:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/localpointer.h:561:26: error: 'auto' not allowed in template parameter until C++17
  561 | template <typename Type, auto closeFunction>
      |                          ^~~~
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/ubidi.h:579:55: error: value of type 'void (UBiDi *)' is not implicitly convertible to 'int'
  579 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUBiDiPointer, UBiDi, ubidi_close);
      |                                                       ^~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/urename.h:436:21: note: expanded from macro 'ubidi_close'
  436 | #define ubidi_close U_ICU_ENTRY_POINT_RENAME(ubidi_close)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/uvernum.h:123:47: note: expanded from macro 'U_ICU_ENTRY_POINT_RENAME'
  123 | #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/uvernum.h:122:51: note: expanded from macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
  122 | #       define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/uvernum.h:121:50: note: expanded from macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
  121 | #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
      |                                                  ^~~~~~
<scratch space>:156:1: note: expanded from here
  156 | ubidi_close_76
      | ^~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/localpointer.h:551:68: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
  551 |     using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction>
      |                                                                    ^~~~~~~~~~~~~
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:317:10: error: no template named 'is_convertible_v' in namespace 'std'; did you mean 'is_convertible'?
  317 |     std::is_convertible_v<T, std::u16string_view>
      |     ~~~~~^~~~~~~~~~~~~~~~
      |          is_convertible
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_convertible.h:22:29: note: 'is_convertible' declared here
   22 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public integral_constant<bool, __is_convertible(_T1, _T2)> {};
      |                             ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:324:5: error: expected '(' for function-style cast or type construction
  317 |     std::is_convertible_v<T, std::u16string_view>
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  318 | #if !U_CHAR16_IS_TYPEDEF && (!defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 180000)
  319 |     || std::is_convertible_v<T, std::basic_string_view<uint16_t>>
  320 | #endif
  321 | #if U_SIZEOF_WCHAR_T==2
  322 |     || std::is_convertible_v<T, std::wstring_view>
  323 | #endif
  324 |     ;
      |     ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:360:54: error: no template named 'is_pointer_v' in namespace 'std'; did you mean 'is_pointer'?
  360 |           typename = typename std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
      |                                                 ~~~~~^~~~~~~~~~~~
      |                                                      is_pointer
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_pointer.h:25:29: note: 'is_pointer' declared here
   25 | struct _LIBCPP_TEMPLATE_VIS is_pointer : _BoolConstant<__is_pointer(_Tp)> {};
      |                             ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:360:94: error: expected '(' for function-style cast or type construction
  360 |           typename = typename std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
      |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:370:53: error: no template named 'is_pointer_v' in namespace 'std'; did you mean 'is_pointer'?
  370 |           typename = typename std::enable_if_t<std::is_pointer_v<std::remove_reference_t<T>>>,
      |                                                ~~~~~^~~~~~~~~~~~
      |                                                     is_pointer
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_pointer.h:25:29: note: 'is_pointer' declared here
   25 | struct _LIBCPP_TEMPLATE_VIS is_pointer : _BoolConstant<__is_pointer(_Tp)> {};
      |                             ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:370:48: error: template argument for non-type template parameter must be an expression
  370 |           typename = typename std::enable_if_t<std::is_pointer_v<std::remove_reference_t<T>>>,
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/enable_if.h:31:16: note: template parameter is declared here
   31 | template <bool _Bp, class _Tp = void>
      |                ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:40:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/stringpiece.h:135:23: error: no template named 'is_same_v' in namespace 'std'; did you mean 'is_same'?
  135 |                 (std::is_same_v<decltype(T().data()), const char*>
      |                  ~~~~~^~~~~~~~~
      |                       is_same
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_same.h:22:29: note: 'is_same' declared here
   22 | struct _LIBCPP_TEMPLATE_VIS is_same : _BoolConstant<__is_same(_Tp, _Up)> {};
      |                             ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:40:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/stringpiece.h:140:17: error: use of address-of-label extension outside of a function body
  140 |                 std::is_same_v<decltype(T().size()), size_t>>>
      |                 ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/stringpiece.h:140:62: error: expected member name or ';' after declaration specifiers
  140 |                 std::is_same_v<decltype(T().size()), size_t>>>
      |                                                              ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:316:16: error: constexpr variable 'ConvertibleToU16StringView<const char16_t *>' must be initialized by a constant expression
  316 | constexpr bool ConvertibleToU16StringView =
      |                ^
      |                                           = false
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3273:52: note: in instantiation of variable template specialization 'icu_76::ConvertibleToU16StringView<const char16_t *>' requested here
 3273 |   template<typename S, typename = std::enable_if_t<ConvertibleToU16StringView<S>>>
      |                                                    ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3274:31: note: in instantiation of default argument for 'UnicodeString<const_pointer>' required here
 3274 |   UNISTR_FROM_STRING_EXPLICIT UnicodeString(const S &text) {
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:350:73: note: while substituting deduced template arguments into function template 'UnicodeString' [with S = const_pointer, $1 = (no value)]
  350 |     return !isBogus() && (len = length()) == sv.length() && doEquals(sv.data(), len);
      |                                                                         ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:316:16: error: constexpr variable 'ConvertibleToU16StringView<icu_76::ConstChar16Ptr>' must be initialized by a constant expression
  316 | constexpr bool ConvertibleToU16StringView =
      |                ^
      |                                           = false
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3273:52: note: in instantiation of variable template specialization 'icu_76::ConvertibleToU16StringView<icu_76::ConstChar16Ptr>' requested here
 3273 |   template<typename S, typename = std::enable_if_t<ConvertibleToU16StringView<S>>>
      |                                                    ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3274:31: note: in instantiation of default argument for 'UnicodeString<ConstChar16Ptr>' required here
 3274 |   UNISTR_FROM_STRING_EXPLICIT UnicodeString(const S &text) {
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3149:21: note: while substituting deduced template arguments into function template 'UnicodeString' [with S = ConstChar16Ptr, $1 = (no value)]
 3149 |       UnicodeString(ConstChar16Ptr(text), -1) {}
      |                     ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:316:16: error: constexpr variable 'ConvertibleToU16StringView<icu_76::Char16Ptr>' must be initialized by a constant expression
  316 | constexpr bool ConvertibleToU16StringView =
      |                ^
      |                                           = false
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3273:52: note: in instantiation of variable template specialization 'icu_76::ConvertibleToU16StringView<icu_76::Char16Ptr>' requested here
 3273 |   template<typename S, typename = std::enable_if_t<ConvertibleToU16StringView<S>>>
      |                                                    ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3274:31: note: in instantiation of default argument for 'UnicodeString<Char16Ptr>' required here
 3274 |   UNISTR_FROM_STRING_EXPLICIT UnicodeString(const S &text) {
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3275 |     fUnion.fFields.fLengthAndFlags = kShortString;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3276 |     doAppend(internal::toU16StringViewNullable(text));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3277 |   }
      |   ~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3344:21: note: while substituting deduced template arguments into function template 'UnicodeString' [with S = Char16Ptr, $1 = (no value)]
 3344 |       UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {}
      |                     ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:316:16: error: constexpr variable 'ConvertibleToU16StringView<icu_76::UnicodeString>' must be initialized by a constant expression
  316 | constexpr bool ConvertibleToU16StringView =
      |                ^
      |                                           = false
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3273:52: note: in instantiation of variable template specialization 'icu_76::ConvertibleToU16StringView<icu_76::UnicodeString>' requested here
 3273 |   template<typename S, typename = std::enable_if_t<ConvertibleToU16StringView<S>>>
      |                                                    ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3274:31: note: in instantiation of default argument for 'UnicodeString<UnicodeString>' required here
 3274 |   UNISTR_FROM_STRING_EXPLICIT UnicodeString(const S &text) {
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3275 |     fUnion.fFields.fLengthAndFlags = kShortString;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3276 |     doAppend(internal::toU16StringViewNullable(text));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3277 |   }
      |   ~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3624:12: note: while substituting deduced template arguments into function template 'UnicodeString' [with S = UnicodeString, $1 = (no value)]
 3624 |     return readOnlyAliasFromUnicodeString(text);
      |            ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:316:16: error: constexpr variable 'ConvertibleToU16StringView<int>' must be initialized by a constant expression
  316 | constexpr bool ConvertibleToU16StringView =
      |                ^
      |                                           = false
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3273:52: note: in instantiation of variable template specialization 'icu_76::ConvertibleToU16StringView<int>' requested here
 3273 |   template<typename S, typename = std::enable_if_t<ConvertibleToU16StringView<S>>>
      |                                                    ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3274:31: note: in instantiation of default argument for 'UnicodeString<UChar32>' required here
 3274 |   UNISTR_FROM_STRING_EXPLICIT UnicodeString(const S &text) {
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3275 |     fUnion.fFields.fLengthAndFlags = kShortString;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3276 |     doAppend(internal::toU16StringViewNullable(text));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3277 |   }
      |   ~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:4566:18: note: while substituting deduced template arguments into function template 'UnicodeString' [with S = UChar32, $1 = (no value)]
 4566 | { return indexOf(c, 0, length()); }
      |                  ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:316:16: error: constexpr variable 'ConvertibleToU16StringView<char16_t *>' must be initialized by a constant expression
  316 | constexpr bool ConvertibleToU16StringView =
      |                ^
      |                                           = false
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3273:52: note: in instantiation of variable template specialization 'icu_76::ConvertibleToU16StringView<char16_t *>' requested here
 3273 |   template<typename S, typename = std::enable_if_t<ConvertibleToU16StringView<S>>>
      |                                                    ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3274:31: note: in instantiation of default argument for 'UnicodeString<char16_t *>' required here
 3274 |   UNISTR_FROM_STRING_EXPLICIT UnicodeString(const S &text) {
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3275 |     fUnion.fFields.fLengthAndFlags = kShortString;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3276 |     doAppend(internal::toU16StringViewNullable(text));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3277 |   }
      |   ~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:4762:36: note: while substituting deduced template arguments into function template 'UnicodeString' [with S = char16_t *, $1 = (no value)]
 4762 | { return doReplace(start, _length, &srcChar, 0, 1); }
      |                                    ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:145:
In file included from /Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:37:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/char16ptr.h:316:16: error: constexpr variable 'ConvertibleToU16StringView<std::nullptr_t>' must be initialized by a constant expression
  316 | constexpr bool ConvertibleToU16StringView =
      |                ^
      |                                           = false
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3273:52: note: in instantiation of variable template specialization 'icu_76::ConvertibleToU16StringView<std::nullptr_t>' requested here
 3273 |   template<typename S, typename = std::enable_if_t<ConvertibleToU16StringView<S>>>
      |                                                    ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:3274:31: note: in instantiation of default argument for 'UnicodeString<std::nullptr_t>' required here
 3274 |   UNISTR_FROM_STRING_EXPLICIT UnicodeString(const S &text) {
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3275 |     fUnion.fFields.fLengthAndFlags = kShortString;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3276 |     doAppend(internal::toU16StringViewNullable(text));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3277 |   }
      |   ~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/unistr.h:5053:38: note: while substituting deduced template arguments into function template 'UnicodeString' [with S = std::nullptr_t, $1 = (no value)]
 5053 |     return doReplace(start, _length, nullptr, 0, 0);
      |                                      ^
In file included from ../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:38:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/utext.h:1596:55: error: value of type 'UText *(UText *)' is not implicitly convertible to 'int'
 1596 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
      |                                                       ^~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/urename.h:1891:21: note: expanded from macro 'utext_close'
 1891 | #define utext_close U_ICU_ENTRY_POINT_RENAME(utext_close)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/uvernum.h:123:47: note: expanded from macro 'U_ICU_ENTRY_POINT_RENAME'
  123 | #       define U_ICU_ENTRY_POINT_RENAME(x)    U_DEF2_ICU_ENTRY_POINT_RENAME(x,U_ICU_VERSION_SUFFIX)
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/uvernum.h:122:51: note: expanded from macro 'U_DEF2_ICU_ENTRY_POINT_RENAME'
  122 | #       define U_DEF2_ICU_ENTRY_POINT_RENAME(x,y) U_DEF_ICU_ENTRY_POINT_RENAME(x,y)
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/uvernum.h:121:50: note: expanded from macro 'U_DEF_ICU_ENTRY_POINT_RENAME'
  121 | #       define U_DEF_ICU_ENTRY_POINT_RENAME(x,y) x ## y
      |                                                  ^~~~~~
<scratch space>:22:1: note: expanded from here
   22 | utext_close_76
      | ^~~~~~~~~~~~~~
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/icu/include/unicode/localpointer.h:551:68: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
  551 |     using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction>
      |                                                                    ^~~~~~~~~~~~~
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:338:17: warning: 'hb_ot_layout_script_find_language' is deprecated [-Wdeprecated-declarations]
  338 |             if (hb_ot_layout_script_find_language(face, tableTag, scriptIndex, language, &langIndex) || language == 0) {
      |                 ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-ot-deprecated.h:78:1: note: 'hb_ot_layout_script_find_language' has been explicitly marked deprecated here
   78 | HB_DEPRECATED_FOR (hb_ot_layout_script_select_language)
      | ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-common.h:82:30: note: expanded from macro 'HB_DEPRECATED_FOR'
   82 | #define HB_DEPRECATED_FOR(f) HB_DEPRECATED
      |                              ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-common.h:70:38: note: expanded from macro 'HB_DEPRECATED'
   70 | #define HB_DEPRECATED __attribute__((__deprecated__))
      |                                      ^
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:358:17: warning: 'hb_ot_layout_script_find_language' is deprecated [-Wdeprecated-declarations]
  358 |             if (hb_ot_layout_script_find_language(face, tableTag, scriptIndex, language, &langIndex) || language == 0) {
      |                 ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-ot-deprecated.h:78:1: note: 'hb_ot_layout_script_find_language' has been explicitly marked deprecated here
   78 | HB_DEPRECATED_FOR (hb_ot_layout_script_select_language)
      | ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-common.h:82:30: note: expanded from macro 'HB_DEPRECATED_FOR'
   82 | #define HB_DEPRECATED_FOR(f) HB_DEPRECATED
      |                              ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-common.h:70:38: note: expanded from macro 'HB_DEPRECATED'
   70 | #define HB_DEPRECATED __attribute__((__deprecated__))
      |                                      ^
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:943:23: warning: 'hb_graphite2_font_get_gr_font' is deprecated [-Wdeprecated-declarations]
  943 |     gr_font* grFont = hb_graphite2_font_get_gr_font(engine->font->getHbFont());
      |                       ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-graphite2.h:52:1: note: 'hb_graphite2_font_get_gr_font' has been explicitly marked deprecated here
   52 | HB_DEPRECATED_FOR (hb_graphite2_face_get_gr_face)
      | ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-common.h:82:30: note: expanded from macro 'HB_DEPRECATED_FOR'
   82 | #define HB_DEPRECATED_FOR(f) HB_DEPRECATED
      |                              ^
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/harfbuzz/include/hb-common.h:70:38: note: expanded from macro 'HB_DEPRECATED'
   70 | #define HB_DEPRECATED __attribute__((__deprecated__))
      |                                      ^
4 warnings and 19 errors generated.
make: *** [xetexdir/libxetex_a-XeTeXLayoutInterface.o] Error 1



Error for "make -C ~/Desktop/Build/TeXLive/texlive-20250309/Work/texk/web2c check SUBDIRS=. TESTS='$(xetex_tests)'"
===================================================================================================================

gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c  -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/texk -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/texk -DNO_DEBUG  -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/lua53/include -DLUA_COMPAT_MODULE -DLUA_COMPAT_5_2 -DLUAI_HASHLIMIT=6 -DLUA_USE_POSIX -DLUA_USE_DLOPEN -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -I/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/Work/libs/potrace/include  -Wimplicit -Wreturn-type -g -MT mfluadir/mflua-mfluaextra.o -MD -MP -MF mfluadir/.deps/mflua-mfluaextra.Tpo -c -o mfluadir/mflua-mfluaextra.o `test -f 'mfluadir/mfluaextra.c' || echo '../../../texk/web2c/'`mfluadir/mfluaextra.c
In file included from ../../../texk/web2c/mfluadir/mfluaextra.c:8:
In file included from ./mfluad.h:11:
In file included from ../../../texk/web2c/texmfmp.h:5:
In file included from ../../../texk/web2c/cpascal.h:19:
/Users/brunovoisin/Desktop/Build/TeXLive/texlive-20250309/texk/kpathsea/getopt.h:133:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
  133 | extern KPSEDLL int getopt ();
      |                    ^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:513:6: note: conflicting prototype is here
  513 | int      getopt(int __argc, char *_LIBC_CSTR const [_LIBC_COUNT(__argc)], const char *) __DARWIN_ALIAS(getopt);
      |          ^
In file included from ../../../texk/web2c/mfluadir/mfluaextra.c:8:
In file included from ./mfluad.h:330:
In file included from ./mfluacoerce.h:631:
../../../texk/web2c/mfluadir/mfluac.h:55:10: fatal error: 'lauxlib.h' file not found
   55 | #include <lauxlib.h>
      |          ^~~~~~~~~~~
1 warning and 1 error generated.
make[1]: *** [mfluadir/mflua-mfluaextra.o] Error 1
make: *** [check-recursive] Error 1





More information about the tlbuild mailing list.