Opened 19 months ago
Last modified 8 months ago
#67357 assigned defect
libjxl @0.8.1: error: expected ')' before 'PRIu64'
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | tiger ppc | Cc: | |
Port: | libjxl |
Description
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build/lib && /opt/local/bin/g++-mp-7 -DHWY_DISABLED_TARGETS="(HWY_SVE|HWY_SVE2|HWY_SVE_256|HWY_SVE2_128|HWY_RVV)" -DJPEGXL_MAJOR_VERSION=0 -DJPEGXL_MINOR_VERSION=8 -DJPEGXL_PATCH_VERSION=1 -DJXL_INTERNAL_LIBRARY_BUILD -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build/lib/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/include -I/opt/local/include -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -fno-rtti -funwind-tables -fno-omit-frame-pointer -DNDEBUG -O2 -arch ppc -mmacosx-version-min=10.4 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -Wall -fmerge-all-constants -fno-builtin-fwrite -fno-builtin-fread -Wextra -Wc++11-compat -Warray-bounds -Wformat-security -Wimplicit-fallthrough -Wno-register -Wno-unused-function -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wvla -fno-exceptions -fmath-errno -DJPEGXL_ENABLE_SKCMS=1 -DJPEGXL_BUNDLE_SKCMS=1 -DJPEGXL_ENABLE_TRANSCODE_JPEG=1 -DJPEGXL_ENABLE_BOXES=1 -std=c++11 -MD -MT lib/CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o -MF CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o.d -o CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.cc In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/padded_bytes.h:21:0, from /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/enc_bit_writer.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out_fwd.h:11, from /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.h:22, from /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.cc:6: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h: In static member function 'static jxl::Status jxl::BitsCoder::CanEncode(size_t, uint32_t, size_t*)': /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h:44:53: error: expected ')' before 'PRIu64' return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:215:57: note: in definition of macro 'JXL_STATUS' ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \ ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:216:47: warning: spurious trailing '%' in format [-Wformat=] __LINE__, ##__VA_ARGS__) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:228:10: note: in expansion of macro 'JXL_STATUS' ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \ ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:216:47: warning: too many arguments for format [-Wformat-extra-args] __LINE__, ##__VA_ARGS__) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:228:10: note: in expansion of macro 'JXL_STATUS' ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \ ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h: In static member function 'static jxl::Status jxl::BitsCoder::Write(size_t, uint32_t, jxl::BitWriter*)': /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h:58:62: error: expected ')' before 'PRIu64' return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:215:57: note: in definition of macro 'JXL_STATUS' ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \ ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:216:47: warning: spurious trailing '%' in format [-Wformat=] __LINE__, ##__VA_ARGS__) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:228:10: note: in expansion of macro 'JXL_STATUS' ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \ ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:216:47: warning: too many arguments for format [-Wformat-extra-args] __LINE__, ##__VA_ARGS__) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/base/status.h:228:10: note: in expansion of macro 'JXL_STATUS' ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \ ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", ^~~~~~~~~~~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.cc:6:0: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.h: In member function 'void jxl::AuxOut::LayerTotals::Print(size_t) const': /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.h:105:20: error: expected ')' before 'PRId64' printf("%10" PRId64, static_cast<int64_t>(total_bits)); ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.h:105:60: warning: conversion lacks type at end of format [-Wformat=] printf("%10" PRId64, static_cast<int64_t>(total_bits)); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.h:105:60: warning: too many arguments for format [-Wformat-extra-args] /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.h:107:41: error: expected ')' before 'PRId64' printf(" [c/i:%6.2f | hst:%8" PRId64 " | ex:%8" PRId64 ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.h:112:71: warning: conversion lacks type at end of format [-Wformat=] (histogram_bits + clustered_entropy + extra_bits) / 8.0); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/aux_out.h:112:71: warning: too many arguments for format [-Wformat-extra-args] make[2]: *** [lib/CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
PRId64
and PRIu64
are #define
d in `/usr/include/inttypes.h´:
86:# define PRId64 __PRI_64_LENGTH_MODIFIER__ "d" 89:# define PRIu64 __PRI_64_LENGTH_MODIFIER__ "u"
Attachments (3)
Change History (15)
comment:1 Changed 19 months ago by ballapete (Peter "Pete" Dyballa)
comment:2 Changed 18 months ago by evanmiller (Evan Miller)
You could try
configure.cppflags-append -include inttypes.h
comment:3 Changed 18 months ago by ballapete (Peter "Pete" Dyballa)
No, this does not change anything. Probably the problem is cmake
which builds that port
…
Changed 18 months ago by ballapete (Peter "Pete" Dyballa)
Attachment: | main.2.log added |
---|
Main.log from PPC Tiger, Mac OS X 10.4.11, with "configure.cppflags-append -include inttypes.h"
comment:4 Changed 18 months ago by ballapete (Peter "Pete" Dyballa)
Correction: CMake Error: Unknown argument -include
I did not clean the old build directory before, so the same error happened again. I tried again to build, and now I did my homework. So it's now CMake that does not perform because port
is not able to translate the given arguments into CMake dialect.
Changed 18 months ago by ballapete (Peter "Pete" Dyballa)
Main.log from PPC Tiger, Mac OS X 10.4.11, with "configure.cppflags-append -include inttypes.h"
comment:5 Changed 16 months ago by barracuda156
0.8.2 still broken on Tiger.
[ 4%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build/lib && /opt/local/bin/g++-mp-7 -DHWY_DISABLED_TARGETS="(HWY_SVE|HWY_SVE2|HWY_SVE_256|HWY_SVE2_128|HWY_RVV)" -DJPEGXL_MAJOR_VERSION=0 -DJPEGXL_MINOR_VERSION=8 -DJPEGXL_PATCH_VERSION=2 -DJXL_INTERNAL_LIBRARY_BUILD -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build/lib/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/include -I/opt/local/include -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -fno-rtti -funwind-tables -fno-omit-frame-pointer -DNDEBUG -O2 -arch ppc -mmacosx-version-min=10.4 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -Wall -fmerge-all-constants -fno-builtin-fwrite -fno-builtin-fread -Wextra -Wc++11-compat -Warray-bounds -Wformat-security -Wimplicit-fallthrough -Wno-register -Wno-unused-function -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wvla -fno-exceptions -fmath-errno -DJPEGXL_ENABLE_SKCMS=1 -DJPEGXL_BUNDLE_SKCMS=1 -DJPEGXL_ENABLE_TRANSCODE_JPEG=1 -DJPEGXL_ENABLE_BOXES=1 -std=c++11 -MD -MT lib/CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o -MF CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o.d -o CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.cc In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/padded_bytes.h:21:0, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/enc_bit_writer.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out_fwd.h:11, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.h:22, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.cc:6: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h: In static member function 'static jxl::Status jxl::BitsCoder::CanEncode(size_t, uint32_t, size_t*)': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h:44:53: error: expected ')' before 'PRIu64' return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:215:57: note: in definition of macro 'JXL_STATUS' ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \ ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:216:47: warning: spurious trailing '%' in format [-Wformat=] __LINE__, ##__VA_ARGS__) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:228:10: note: in expansion of macro 'JXL_STATUS' ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \ ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:216:47: warning: too many arguments for format [-Wformat-extra-args] __LINE__, ##__VA_ARGS__) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:228:10: note: in expansion of macro 'JXL_STATUS' ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \ ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h: In static member function 'static jxl::Status jxl::BitsCoder::Write(size_t, uint32_t, jxl::BitWriter*)': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h:58:62: error: expected ')' before 'PRIu64' return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:215:57: note: in definition of macro 'JXL_STATUS' ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \ ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:216:47: warning: spurious trailing '%' in format [-Wformat=] __LINE__, ##__VA_ARGS__) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:228:10: note: in expansion of macro 'JXL_STATUS' ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \ ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", ^~~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:216:47: warning: too many arguments for format [-Wformat-extra-args] __LINE__, ##__VA_ARGS__) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/base/status.h:228:10: note: in expansion of macro 'JXL_STATUS' ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \ ^~~~~~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE' return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", ^~~~~~~~~~~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.cc:6:0: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.h: In member function 'void jxl::AuxOut::LayerTotals::Print(size_t) const': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.h:105:20: error: expected ')' before 'PRId64' printf("%10" PRId64, static_cast<int64_t>(total_bits)); ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.h:105:60: warning: conversion lacks type at end of format [-Wformat=] printf("%10" PRId64, static_cast<int64_t>(total_bits)); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.h:105:60: warning: too many arguments for format [-Wformat-extra-args] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.h:107:41: error: expected ')' before 'PRId64' printf(" [c/i:%6.2f | hst:%8" PRId64 " | ex:%8" PRId64 ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.h:112:71: warning: conversion lacks type at end of format [-Wformat=] (histogram_bits + clustered_entropy + extra_bits) / 8.0); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.2/lib/jxl/aux_out.h:112:71: warning: too many arguments for format [-Wformat-extra-args] make[2]: *** [lib/CMakeFiles/jxl_dec-obj.dir/jxl/aux_out.cc.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build' make[1]: *** [lib/CMakeFiles/jxl_dec-obj.dir/all] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build' make: *** [all] Error 2
comment:6 Changed 11 months ago by barracuda156
@jmroot is the port maintainer, could someone please assign the ticket to him?
comment:7 Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
Recent version libjxl @0.9.1
shows the same failure.
Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
Attachment: | main.3.log added |
---|
Main.log from PPC Tiger, Mac OS X 10.4.11, from building libjxl @0.9.1_1
comment:8 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jmr@… removed |
---|---|
Owner: | set to jmroot |
Status: | new → assigned |
Summary: | libjxl @0.8.1 does not build on PPC Tiger, Mac OS X 10.4.11, because → libjxl @0.8.1: error: expected ')' before 'PRIu64' |
comment:9 Changed 8 months ago by ballapete (Peter "Pete" Dyballa)
The macros PRIu64 and PRId64
are #define
d in inttypes.h
:
24 /* 25 * <inttypes.h> -- Standard C header, defined in ISO/IEC 9899:1999 26 * (aka "C99"), section 7.8. This defines format string conversion 27 * specifiers suitable for use within arguments to fprintf and fscanf 28 * and their ilk. 29 */ 30 31 #if !defined(_INTTYPES_H_) 32 #define _INTTYPES_H_ 33 34 #include <sys/cdefs.h> /* For __BEGIN_DECLS and __END_DECLS */ 35 #include <_types.h> /* For __darwin_wchar_t */ 36 #include <stdint.h> 37 38 #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) 39 /* Translator is not ISO/IEC 9899:1999-compliant. */ 40 # if !defined(restrict) 41 # define restrict 42 # define __RESTRICT_KEYWORD_DEFINED__ 43 # endif 44 #endif 45 46 /* "C++ implementations should define these macros only when 47 * __STDC_FORMAT_MACROS is defined before <inttypes.h> is included." 48 */ 49 #if (! defined(__cplusplus)) || defined(__STDC_FORMAT_MACROS) 50 51 # undef __PRI_8_LENGTH_MODIFIER__ 52 # undef __PRI_64_LENGTH_MODIFIER__ 53 # undef __SCN_64_LENGTH_MODIFIER__ 54 55 /* These could be "hh", "ll", and "ll" respectively, but that doesn't work on 56 10.2, and these do. Note that there's no way to use scanf to scan a 57 decimal into a 'char' argument on 10.2, so "hh" is used unconditionally 58 and programs that use it won't work on Jaguar. */ 59 # define __PRI_8_LENGTH_MODIFIER__ "" /* none */ 60 # define __PRI_64_LENGTH_MODIFIER__ "q" 61 # define __SCN_64_LENGTH_MODIFIER__ "q" 62 # define __PRI_MAX_LENGTH_MODIFIER__ "j" 63 # define __SCN_MAX_LENGTH_MODIFIER__ "j" . . . 86 # define PRId64 __PRI_64_LENGTH_MODIFIER__ "d" 87 # define PRIi64 __PRI_64_LENGTH_MODIFIER__ "i" 88 # define PRIo64 __PRI_64_LENGTH_MODIFIER__ "o" 89 # define PRIu64 __PRI_64_LENGTH_MODIFIER__ "u" 90 # define PRIx64 __PRI_64_LENGTH_MODIFIER__ "x" 91 # define PRIX64 __PRI_64_LENGTH_MODIFIER__ "X"
It gets include
d early as first C header file
:
. /usr/include/inttypes.h .. /usr/include/sys/cdefs.h .. /usr/include/_types.h ... /usr/include/sys/_types.h .... /usr/include/machine/_types.h ..... /usr/include/ppc/_types.h .. /opt/local/lib/gcc7/gcc/ppc-apple-darwin8/7.5.0/include/stdint.h ... /opt/local/lib/gcc7/gcc/ppc-apple-darwin8/7.5.0/include-fixed/stdint.h
GCC7
does #define __cplusplus 201103L
, but __STDC_FORMAT_MACROS
never gets #define
d on Tiger
. But libjxl
uses these print format macros:
libjxl-0.10.2/examples/decode_progressive.cc:87: printf("Flushing after %" PRIu64 " bytes\n", static_cast<uint64_t>(seen)); libjxl-0.10.2/examples/decode_progressive.cc:93: if (snprintf(fname, 1024, "%s-%" PRIu64 ".pam", filename, libjxl-0.10.2/examples/decode_progressive.cc:147: fprintf(stderr, "Invalid out buffer size %" PRIu64 " != %" PRIu64 "\n", libjxl-0.10.2/lib/jxl/convolve_test.cc:173: "%" PRIuS " x %" PRIuS " (target %" PRIx64 libjxl-0.10.2/lib/jxl/enc_fields.cc:93: return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits", libjxl-0.10.2/lib/jxl/fields.cc:471: return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value, libjxl-0.10.2/lib/jxl/image.h:99: JXL_ABORT("Row(%" PRIu64 ") in (%u x %u) image\n", libjxl-0.10.2/lib/jxl/image.h:483: JXL_ABORT("PlaneRow(%" PRIu64 ", %" PRIu64 ") in (%" PRIu64 " x %" PRIu64 libjxl-0.10.2/lib/jxl/modular/encoding/enc_debug_tree.cc:107: fprintf(f, "n%05" PRIuS " [label=\"%s%+" PRId64 " (x%u)\"];\n", cur, libjxl-0.10.2/lib/jxl/sanitizers.h:64: "Uninitialized regions for image of size %" PRIu64 "x%" PRIu64 ":\n", libjxl-0.10.2/lib/jxl/sanitizers.h:103: fprintf(stderr, " y=[%" PRId64 ", %" PRIu64 "):", libjxl-0.10.2/lib/jxl/sanitizers.h:106: fprintf(stderr, " y=[%" PRId64 "]:", static_cast<int64_t>(start_y_)); libjxl-0.10.2/lib/jxl/sanitizers.h:110: fprintf(stderr, " [%" PRId64 "]", static_cast<int64_t>(seg.first)); libjxl-0.10.2/lib/jxl/sanitizers.h:112: fprintf(stderr, " [%" PRId64 ", %" PRIu64 ")", libjxl-0.10.2/lib/jxl/sanitizers.h:173: "Checking an image of %" PRIu64 " x %" PRIu64 ", rect x0=%" PRIu64 libjxl-0.10.2/lib/jxl/sanitizers.h:174: ", y0=%" PRIu64 libjxl-0.10.2/lib/jxl/sanitizers.h:176: "xsize=%" PRIu64 ", ysize=%" PRIu64, libjxl-0.10.2/lib/jxl/sanitizers.h:182: "CheckImageInitialized failed at x=%" PRIu64 ", y=%" PRIu64 libjxl-0.10.2/lib/jxl/sanitizers.h:183: ", c=%" PRIu64 ": %s", libjxl-0.10.2/lib/jxl/splines.cc:441: return JXL_FAILURE("Too large manhattan_distance reached: %" PRIu64, libjxl-0.10.2/lib/jxl/splines.cc:502: return JXL_FAILURE("Too large total_estimated_area eached: %" PRIu64, libjxl-0.10.2/lib/jxl/splines.cc:656: "Large total_estimated_area_reached, expect slower decoding: %" PRIu64, libjxl-0.10.2/tools/jxlinfo.c:272: printf("%" PRIu64 "-byte ICC profile, ", (uint64_t)profile_size); libjxl-0.10.2/tools/jxlinfo.c:341: printf("box: type: \"%c%c%c%c\" size: %" PRIu64 libjxl-0.10.2/tools/jxlinfo.c:342: ", contents size: %" PRIu64 "\n", libjxl-0.10.2/tools/jxlinfo.c:357: printf("Uncompressed %c%c%c%c metadata: %" PRIu64 " bytes\n", type[0], libjxl-0.10.2/tools/jxlinfo.c:362: printf("Brotli-compressed %c%c%c%c metadata: %" PRIu64 libjxl-0.10.2/tools/jxlinfo.c:366: printf("unknown box: type: \"%c%c%c%c\" size: %" PRIu64 "\n", type[0],
which are PRIuS, PRId64, PRIu64
. The first one is #define
d in libjxl-0.10.2/lib/jxl/base/printf_macros.h
and so of no further interest. Putting a line like
configure.cflags-append -DPRId64=qd -DPRIu64=qu
into Portfile
should allow to build. (I have no idea how to persuade CMake to accept these.)
comment:10 follow-up: 11 Changed 8 months ago by ballapete (Peter "Pete" Dyballa)
A possible patch could be:
--- CMakeLists.txt~ 2024-03-12 13:44:09.000000000 +0100 +++ CMakeLists.txt 2024-03-12 14:10:11.000000000 +0100 @@ -293,6 +293,8 @@ -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" + -DPRId64=qd + -DPRIu64=qu ) # TODO(eustas): JXL currently compiles, but does not pass tests...
but produces a déjà-vu, almost:
[ 41%] Building CXX object CMakeFiles/decode_progressive.dir/examples/decode_progressive.cc.o /opt/local/bin/g++-mp-7 -DFJXL_ENABLE_AVX512=0 -DHWY_DISABLED_TARGETS="(HWY_SSSE3|HWY_AVX3|HWY_AVX3_SPR|HWY_AVX3_ZEN4|HWY_SVE|HWY_SVE2|HWY_SVE_256|HWY_SVE2_128|HWY_RVV)" -DPRId64=qd -DPRIu64=qu -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build/lib/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/lib/include -isystem /opt/local/include -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -fno-rtti -DNDEBUG -arch ppc -mmacosx-version-min=10.4 -fPIE -funwind-tables -fno-omit-frame-pointer -Wno-builtin-macro-redefined -Wall -std=c++11 -MD -MT CMakeFiles/decode_progressive.dir/examples/decode_progressive.cc.o -MF CMakeFiles/decode_progressive.dir/examples/decode_progressive.cc.o.d -o CMakeFiles/decode_progressive.dir/examples/decode_progressive.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc: In function 'bool DecodeJpegXlProgressive(const uint8_t*, size_t, const char*, size_t)': <command-line>:0:8: error: expected ')' before 'qu' /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:87:33: note: in expansion of macro 'PRIu64' printf("Flushing after %" PRIu64 " bytes\n", static_cast<uint64_t>(seen)); ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:87:79: warning: spurious trailing '%' in format [-Wformat=] printf("Flushing after %" PRIu64 " bytes\n", static_cast<uint64_t>(seen)); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:87:79: warning: too many arguments for format [-Wformat-extra-args] <command-line>:0:8: error: expected ')' before 'qu' /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:93:42: note: in expansion of macro 'PRIu64' if (snprintf(fname, 1024, "%s-%" PRIu64 ".pam", filename, ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:94:49: warning: spurious trailing '%' in format [-Wformat=] static_cast<uint64_t>(seen)) >= 1024) { ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:94:49: warning: too many arguments for format [-Wformat-extra-args] <command-line>:0:8: error: expected ')' before 'qu' /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:147:53: note: in expansion of macro 'PRIu64' fprintf(stderr, "Invalid out buffer size %" PRIu64 " != %" PRIu64 "\n", ^~~~~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:149:57: warning: spurious trailing '%' in format [-Wformat=] static_cast<uint64_t>(xsize * ysize * 4)); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/examples/decode_progressive.cc:149:57: warning: too many arguments for format [-Wformat-extra-args] make[2]: *** [CMakeFiles/decode_progressive.dir/examples/decode_progressive.cc.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
So it was thought too easy…
comment:11 Changed 8 months ago by ballapete (Peter "Pete" Dyballa)
Replying to ballapete:
A possible patch could be:
--- CMakeLists.txt~ 2024-03-12 13:44:09.000000000 +0100 +++ CMakeLists.txt 2024-03-12 14:10:11.000000000 +0100 @@ -293,6 +293,8 @@ -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" + -DPRId64=qd + -DPRIu64=qu ) # TODO(eustas): JXL currently compiles, but does not pass tests...
…
So it was thought too easy…
Doing it the proper way PRIu64
expands to
printf("Flushing after %" "q" "u" " bytes\n", static_cast<uint64_t>(seen));
comment:12 Changed 8 months ago by ballapete (Peter "Pete" Dyballa)
In the end a failure happens:
[ 96%] Building CXX object tools/CMakeFiles/benchmark_xl.dir/benchmark/benchmark_utils.cc.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build/tools && /opt/local/bin/g++-mp-7 -DBENCHMARK_AVIF -DBENCHMARK_PNG -DBENCHMARK_WEBP -DFJXL_ENABLE_AVX512=0 -DHWY_DISABLED_TARGETS="(HWY_SSSE3|HWY_AVX3|HWY_AVX3_SPR|HWY_AVX3_ZEN4|HWY_SVE|HWY_SVE2|HWY_SVE_256|HWY_SVE2_128|HWY_RVV)" -DJXL_STATIC_DEFINE -DPRId64=qd -DPRIu64=qu -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -I/opt/local/include/webp -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build/lib/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/lib/include -isystem /opt/local/include -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -fno-rtti -DNDEBUG -arch ppc -mmacosx-version-min=10.4 -fPIE -funwind-tables -fno-omit-frame-pointer -Wno-builtin-macro-redefined -Wall -DHWY_SHARED_DEFINE -DAVIF_DLL -std=c++11 -MD -MT tools/CMakeFiles/benchmark_xl.dir/benchmark/benchmark_utils.cc.o -MF CMakeFiles/benchmark_xl.dir/benchmark/benchmark_utils.cc.o.d -o CMakeFiles/benchmark_xl.dir/benchmark/benchmark_utils.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/tools/benchmark/benchmark_utils.cc /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.2/tools/benchmark/benchmark_utils.cc:16:10: fatal error: spawn.h: No such file or directory #include <spawn.h> ^~~~~~~~~ compilation terminated. make[2]: *** [tools/CMakeFiles/benchmark_xl.dir/benchmark/benchmark_utils.cc.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
This is similar to #67343.
There are only four files that use the
PRI[du]64 macros
: