[MacPorts] #65819: jasper fails to build with gcc12: jas_types.h: error: conflicting types for 'max_align_t'; have 'long double'
MacPorts
noreply at macports.org
Sat Sep 10 21:29:52 UTC 2022
#65819: jasper fails to build with gcc12: jas_types.h: error: conflicting types for
'max_align_t'; have 'long double'
--------------------------+----------------------
Reporter: barracuda156 | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: | Port: jasper
--------------------------+----------------------
{{{
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_icc.h:73,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/base/jas_icc.c:68:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:187:25:
error: conflicting types for 'max_align_t'; have 'long double'
:info:build 187 | typedef long double max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:76:
:info:build /opt/local/lib/gcc12/gcc/powerpc-apple-
darwin10/12.2.0/include/stddef.h:434:3: note: previous declaration of
'max_align_t' with type 'max_align_t'
:info:build 434 | } max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_malloc.h:80,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_init.h:73,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/base/jas_debug.c:68:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:187:25:
error: conflicting types for 'max_align_t'; have 'long double'
:info:build 187 | typedef long double max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:76:
:info:build /opt/local/lib/gcc12/gcc/powerpc-apple-
darwin10/12.2.0/include/stddef.h:434:3: note: previous declaration of
'max_align_t' with type 'max_align_t'
:info:build 434 | } max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/base/jas_iccdata.c:69:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:187:25:
error: conflicting types for 'max_align_t'; have 'long double'
:info:build 187 | typedef long double max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:76:
:info:build /opt/local/lib/gcc12/gcc/powerpc-apple-
darwin10/12.2.0/include/stddef.h:434:3: note: previous declaration of
'max_align_t' with type 'max_align_t'
:info:build 434 | } max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_cm.h:77,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/base/jas_cm.c:74:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:187:25:
error: conflicting types for 'max_align_t'; have 'long double'
:info:build 187 | typedef long double max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:76:
:info:build /opt/local/lib/gcc12/gcc/powerpc-apple-
darwin10/12.2.0/include/stddef.h:434:3: note: previous declaration of
'max_align_t' with type 'max_align_t'
:info:build 434 | } max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_math.h:80,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/base/jas_getopt.c:77:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:187:25:
error: conflicting types for 'max_align_t'; have 'long double'
:info:build 187 | typedef long double max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:76:
:info:build /opt/local/lib/gcc12/gcc/powerpc-apple-
darwin10/12.2.0/include/stddef.h:434:3: note: previous declaration of
'max_align_t' with type 'max_align_t'
:info:build 434 | } max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_malloc.h:80,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_init.h:73,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/base/jas_image.c:76:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:187:25:
error: conflicting types for 'max_align_t'; have 'long double'
:info:build 187 | typedef long double max_align_t;
:info:build | ^~~~~~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jasper/jasper/work/jasper-3.0.6/src/libjasper/include/jasper/jas_types.h:76:
:info:build /opt/local/lib/gcc12/gcc/powerpc-apple-
darwin10/12.2.0/include/stddef.h:434:3: note: previous declaration of
'max_align_t' with type 'max_align_t'
:info:build 434 | } max_align_t;
:info:build | ^~~~~~~~~~~
:info:build cc1: note: unrecognized command-line option '-Wno-
tautological-constant-out-of-range-compare' may have been intended to
silence earlier diagnostics
:info:build make[2]: ***
[src/libjasper/CMakeFiles/libjasper.dir/base/jas_iccdata.c.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65819>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list