[MacPorts] #67357: libjxl @0.8.1 does not build on PPC Tiger, Mac OS X 10.4.11, because

MacPorts noreply at macports.org
Wed Aug 2 19:42:26 UTC 2023


#67357: libjxl @0.8.1 does not build on PPC Tiger, Mac OS X 10.4.11, because
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:  tiger ppc
      Port:  libjxl     |
------------------------+-----------------------

Comment (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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67357#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list