Opened 4 years ago

Closed 3 years ago

#61562 closed defect (fixed)

arm-none-eabi-gdb @7.9.0 build fails on BigSur

Reported by: ugr Owned by: Vadim-Valdis Yudaev <judaew@…>
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: arm-none-eabi-gdb

Description

:info:build /usr/bin/clang -c -DHAVE_CONFIG_H    -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 bind.c
:info:build rltty.c:83:7: error: implicit declaration of function 'ioctl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build   if (ioctl (tty, TIOCGWINSZ, &w) == 0)
:info:build       ^
:info:build rltty.c:720:3: error: implicit declaration of function 'ioctl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build   ioctl (fildes, TIOCSTART, 0);
:info:build   ^
:info:build rltty.c:759:3: error: implicit declaration of function 'ioctl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build   ioctl (fildes, TIOCSTOP, 0);

...

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-7.$
:info:build Exit code: 2
:error:build Failed to build arm-none-eabi-gdb: command execution failed
:debug:build Error code: CHILDSTATUS 87073 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

There are also some warnings while extracting/patching:

--->  Extracting arm-none-eabi-gdb
Warning: reinplace s|@file{bfd}|@file{arm-none-eabi-bfd}|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-7.9/bfd/doc/bfd.texinfo
Warning: reinplace s|--info-dir=$(DESTDIR)$(infodir)|--dir-file=$(DESTDIR)$(infodir)/arm-none-eabi-gdb-dir|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-7.9/bfd/doc/Makefile.in
Warning: reinplace s|@file{annotate}|@file{arm-none-eabi-annotate}|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-7.9/gdb/doc/annotate.texinfo
Warning: reinplace s|--info-dir=$(DESTDIR)$(infodir)|--dir-file=$(DESTDIR)$(infodir)/arm-none-eabi-gdb-dir|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-7.9/gdb/doc/Makefile.in
Warning: reinplace s|@file{stabs}|@file{arm-none-eabi-stabs}|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-7.9/gdb/doc/stabs.texinfo
Warning: reinplace s|--info-dir=$(DESTDIR)$(infodir)|--dir-file=$(DESTDIR)$(infodir)/arm-none-eabi-gdb-dir|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_arm-none-eabi-gdb/arm-none-eabi-gdb/work/gdb-7.9/gdb/doc/Makefile.in

Change History (2)

comment:1 Changed 3 years ago by ucomesdag (Uco Mesdag)

Build still fails for arm-none-eabi-gdb-7.9_0.darwin_20.x86_64 on BigSur.

Last edited 3 years ago by ucomesdag (Uco Mesdag) (previous) (diff)

comment:2 Changed 3 years ago by Vadim-Valdis Yudaev <judaew@…>

Owner: set to Vadim-Valdis Yudaev <judaew@…>
Resolution: fixed
Status: newclosed

In d5e18329c353fade0d4f1f53ce03aaf1488bdc76/macports-ports (master):

arm-none-eabi-gdb: update to 11.1

Closed: #43098 and #61562

Note: See TracTickets for help on using tickets.