[MacPorts] #65858: jasper @3.0.6 does not build on PPC Leopard, Mac OS X 10.5.8, because "conflicting types for 'max_align_t' typedef long double max_align_t; "

MacPorts noreply at macports.org
Sun Sep 18 22:09:34 UTC 2022


#65858: jasper @3.0.6 does not build on PPC Leopard, Mac OS X 10.5.8, because
"conflicting types for 'max_align_t'      typedef long double max_align_t;"
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.2
Resolution:  duplicate  |   Keywords:  leopard ppc
      Port:  jasper     |
------------------------+-------------------------

Comment (by ballapete):

 The recent version of `JasPer` does not seem to be prepared for (old) Mac
 OS X. When building `netpbm` or `libraw` messages like these appear:

 {{{
 libtool: compile:  /opt/local/bin/g++-mp-7 -DPACKAGE_NAME=\"LibRaw\"
 -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.20.2\"
 "-DPACKAGE_STRING=\"LibRaw 0.20.2\""
 -DPACKAGE_BUGREPORT=\"info at libraw.org\"
 -DPACKAGE_URL=\"http://www.libraw.org\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1
 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
 -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -I/opt/local/include
 -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_ZLIB -DUSE_LCMS2 -pipe -Os
 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -MT src/libraw_datastream.lo -MD -MP
 -MF src/.deps/libraw_datastream.Tpo -c src/libraw_datastream.cpp  -fno-
 common -DPIC -o src/.libs/libraw_datastream.o
 In file included from /opt/local/include/jasper/jasper.h:73:0,
                  from src/libraw_datastream.cpp:31:
 /opt/local/include/jasper/jas_config.h:115:2: warning: #warning "Your code
 is being built against an older version of the C standard than JasPer was.
 Although this is supported, this may require some extra preprocessor
 defines when building." [-Wcpp]
  #warning "Your code is being built against an older version of the C
 standard than JasPer was.  Although this is supported, this may require
 some extra preprocessor defines when building."
   ^~~~~~~

 libtool: compile:  /opt/local/bin/g++-mp-7 -DPACKAGE_NAME=\"LibRaw\"
 -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.20.2\"
 "-DPACKAGE_STRING=\"LibRaw 0.20.2\""
 -DPACKAGE_BUGREPORT=\"info at libraw.org\"
 -DPACKAGE_URL=\"http://www.libraw.org\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1
 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
 -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -I/opt/local/include
 -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_ZLIB -DUSE_LCMS2 -pipe -Os
 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -MT src/decoders/canon_600.lo -MD -MP
 -MF src/decoders/.deps/canon_600.Tpo -c src/decoders/canon_600.cpp  -fno-
 common -DPIC -o src/decoders/.libs/canon_600.o
 In file included from /opt/local/include/jasper/jasper.h:73:0,
                  from ./internal/defines.h:73,
                  from src/decoders/../../internal/dcraw_defs.h:24,
                  from src/decoders/canon_600.cpp:19:
 /opt/local/include/jasper/jas_config.h:115:2: warning: #warning "Your code
 is being built against an older version of the C standard than JasPer was.
 Although this is supported, this may require some extra preprocessor
 defines when building." [-Wcpp]
  #warning "Your code is being built against an older version of the C
 standard than JasPer was.  Although this is supported, this may require
 some extra preprocessor defines when building."
   ^~~~~~~
 }}}

 {{{
 /usr/bin/gcc-4.2 -c -I.  -Iimportinc -Iimportinc/netpbm
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced-r4392/converter/other/jpeg2000
 -I/opt/local/include -DNDEBUG  -Os -fno-common -D_DARWIN_C_SOURCE
 -I/opt/local/include -arch ppc   -Os -fno-common -D_DARWIN_C_SOURCE
 -I/opt/local/include -arch ppc  -o pamtojpeg2k.o pamtojpeg2k.c
 In file included from /opt/local/include/jasper/jasper.h:73,
                  from pamtojpeg2k.c:23:
 /opt/local/include/jasper/jas_config.h:115:2: warning: #warning "Your code
 is being built against an older version of the C standard than JasPer was.
 Although this is supported, this may require some extra preprocessor
 defines when building."
 }}}

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


More information about the macports-tickets mailing list