[MacPorts] #61562: arm-none-eabi-gdb @7.9.0 build fails on BigSur

MacPorts noreply at macports.org
Thu Nov 19 16:38:20 UTC 2020


#61562: arm-none-eabi-gdb @7.9.0 build fails on BigSur
--------------------+-------------------------------
 Reporter:  ugr     |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.4
 Keywords:          |       Port:  arm-none-eabi-gdb
--------------------+-------------------------------
 {{{
 :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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61562>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list