[MacPorts] #71452: arm-none-eabi-gdb: @13.1 error: integer value -1 is outside the valid range of values [0, 15] for the enumeration type 'ui_out_flag' [-Wenum-constexpr-conversion] (was: build error, MacOS 15.1.1)
MacPorts
noreply at macports.org
Tue Dec 3 19:51:31 UTC 2024
#71452: arm-none-eabi-gdb: @13.1 error: integer value -1 is outside the valid range
of values [0, 15] for the enumeration type 'ui_out_flag' [-Wenum-constexpr-
conversion]
--------------------------------+---------------------
Reporter: jptrainor | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: duplicate | Keywords: sequoia
Port: arm-none-eabi-gdb |
--------------------------------+---------------------
Changes (by ryandesign):
* keywords: => sequoia
* status: new => closed
* resolution: => duplicate
Old description:
> arm-none-eabi-gdb build fails
>
> It was installing fine for me in prior port versions before I updated to
> MacOS 15.1.1
>
> The error:
> tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-
> gdb/work/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52: error: integer
> value -1 is outside the valid range of values [0, 15] for the enumeration
> type 'ui_out_flag' [-Wenum-constexpr-conversion]
>
> log fragments:
>
> version:1
> :debug:clean Starting logging for arm-none-eabi-gdb @13.1_0
> :debug:sysinfo macOS 15.1 (darwin/24.1.0) arch i386
> :debug:sysinfo MacPorts 2.10.4
> :debug:sysinfo Xcode 16.1, CLT 16.1.0.0.1.1729049160
> :debug:sysinfo SDK 15
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
> :debug:clean Fetching arm-none-eabi-gdb-13.1_0.darwin_24.x86_64.tbz2
> archive size
>
> ...macports_sources_rsync.macports.org_macports_release_\
> tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-
> gdb/work/gdb-13.1/gdb/gdb.c:19:
> :info:build In file included from
>
> ...macports_sources_rsync.macports.org_macports_release_\
> tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-
> gdb/work/gdb-13.1/gdb/defs.h:65:
> :info:build
>
> ...macports_sources_rsync.macports.org_macports_release_\
> tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-
> gdb/work/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52: error: integer
> value -1 is outside the valid range of values [0, 15] for the enumeration
> type 'ui_out_flag' [-Wenum-constexpr-conversion]
> :info:build 95 | integeIn file included from ada-exp.y:38:
> :info:build In file included from
>
> ...macports_sources_rsync.macports.org_macports_release_\
> tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-
> gdb/work/gdb-13.1/gdb/defs.h:65:
> :info:build
>
> ...macports_sources_rsync.macports.org_macports_release_\
> tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-
> gdb/work/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52: error: integer
> value -1 is outside the valid range of values [0, 15] for the enumeration
> type 'ui_out_flag' [-Wenum-constexpr-conversion]
> :info:build 95 | integer_for_size<sizeof (T), static_cast<bool>(T
> (-1) < T (0))>::type
> :info:build | ^
> :info:build r_for_size<sizeof (T), static_cast<bool>(T (-1) < T
> (0))>::type
> :info:build | ^
> :info:build 1 error generated.
> :info:build CXX ada-typeprint.o
> :info:build make[2]: *** [gdb.o] Error 1
New description:
arm-none-eabi-gdb build fails
It was installing fine for me in prior port versions before I updated to
MacOS 15.1.1
The error:
{{{
tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-
gdb/work/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52: error: integer
value -1 is outside the valid range of values [0, 15] for the enumeration
type 'ui_out_flag' [-Wenum-constexpr-conversion]
}}}
log fragments:
{{{
version:1
:debug:clean Starting logging for arm-none-eabi-gdb @13.1_0
:debug:sysinfo macOS 15.1 (darwin/24.1.0) arch i386
:debug:sysinfo MacPorts 2.10.4
:debug:sysinfo Xcode 16.1, CLT 16.1.0.0.1.1729049160
:debug:sysinfo SDK 15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
:debug:clean Fetching arm-none-eabi-gdb-13.1_0.darwin_24.x86_64.tbz2
archive size
...macports_sources_rsync.macports
.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-
eabi-gdb/work/gdb-13.1/gdb/gdb.c:19:
:info:build In file included from
...macports_sources_rsync.macports
.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-
eabi-gdb/work/gdb-13.1/gdb/defs.h:65:
:info:build
...macports_sources_rsync.macports
.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-
eabi-gdb/work/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52: error:
integer value -1 is outside the valid range of values [0, 15] for the
enumeration type 'ui_out_flag' [-Wenum-constexpr-conversion]
:info:build 95 | integeIn file included from ada-exp.y:38:
:info:build In file included from
...macports_sources_rsync.macports
.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-
eabi-gdb/work/gdb-13.1/gdb/defs.h:65:
:info:build
...macports_sources_rsync.macports
.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-
eabi-gdb/work/gdb-13.1/gdb/../gdbsupport/enum-flags.h:95:52: error:
integer value -1 is outside the valid range of values [0, 15] for the
enumeration type 'ui_out_flag' [-Wenum-constexpr-conversion]
:info:build 95 | integer_for_size<sizeof (T), static_cast<bool>(T
(-1) < T (0))>::type
:info:build | ^
:info:build r_for_size<sizeof (T), static_cast<bool>(T (-1) < T
(0))>::type
:info:build | ^
:info:build 1 error generated.
:info:build CXX ada-typeprint.o
:info:build make[2]: *** [gdb.o] Error 1
}}}
--
Comment:
Duplicate of #70355.
--
Ticket URL: <https://trac.macports.org/ticket/71452#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list