[MacPorts] #55035: gdb @7.12.1: doublest.c:568:19: error: use of undeclared identifier 'min'; did you mean 'fmin'?

MacPorts noreply at macports.org
Tue Oct 10 18:36:20 UTC 2017


#55035: gdb @7.12.1: doublest.c:568:19: error: use of undeclared identifier 'min';
did you mean 'fmin'?
---------------------+------------------------
  Reporter:  sekuri  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  highsierra
      Port:  gdb     |
---------------------+------------------------

Comment (by basmac):

 {{{
 lots of errors then at the end

 ./common/vec.h:1099:20: note: expanded from macro '\
 DEF_VEC_ALLOC_FUNC_O'
 static inline void VEC_OP (T,safe_grow)
 \
                    ^
 ./common/vec.h:399:22: note: expanded from macro 'VEC_OP'
 #define VEC_OP(T,OP) VEC_##T##_##OP
                      ^
 <scratch space>:64:1: note: expanded from here
 VEC_inline_state_s_safe_grow
 ^
 inline-frame.c:59:1: warning: unused function
 'VEC_inline_state_s_safe_insert' [-Wunused-function]
 ./common/vec.h:436:27: note: expanded from macro 'DEF_VEC_O'
 DEF_VEC_FUNC_O(T)
 \
 ^
 ./common/vec.h:1117:18: note: expanded from macro '\
 DEF_VEC_ALLOC_FUNC_O'
 static inline T *VEC_OP (T,safe_insert)
 \
                  ^
 ./common/vec.h:399:22: note: expanded from macro 'VEC_OP'
 #define VEC_OP(T,OP) VEC_##T##_##OP
                      ^
 <scratch space>:84:1: note: expanded from here
 VEC_inline_state_s_safe_insert
 ^
 267 warnings generated.
 348 warnings generated.
 312 warnings generated.
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.12.1/gdb'
 make[1]: *** [all-gdb] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.12.1'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.12.1'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.12.1"
 && /usr/bin/make -j8 -w all
 Exit code: 2
 Error: Failed to build gdb: command execution failed
 DEBUG: Error code: CHILDSTATUS 33352 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$nice $fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port gdb failed
 [mac27:/] root#
 }}}

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


More information about the macports-tickets mailing list