[MacPorts] #69080: libssh @0.10.6 fails to build for ppc; error: #error "no strtoull function found"

MacPorts noreply at macports.org
Tue Jan 9 14:54:17 UTC 2024


#69080: libssh @0.10.6 fails to build for ppc; error: #error "no strtoull function
found"
--------------------------------------------------+--------------------
 Reporter:  barracuda156                          |      Owner:  (none)
     Type:  defect                                |     Status:  new
 Priority:  Normal                                |  Milestone:
Component:  ports                                 |    Version:  2.8.1
 Keywords:  tiger, leopard, snowleopard, powerpc  |       Port:  libssh
--------------------------------------------------+--------------------
 Looks like something got broken:
 {{{
 [  5%] Building C object src/CMakeFiles/ssh.dir/buffer.c.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/build/src
 && /usr/bin/gcc-4.2 -DLIBSSH_EXPORTS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/build/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/build/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/build
 -I/opt/local/libexec/openssl3/include -I/opt/local/include -pipe -Os
 -DNDEBUG -isystem/opt/local/include -arch ppc -mmacosx-version-min=10.6
 -fPIC -fvisibility=hidden -std=gnu99 -Wall -Wshadow -Wmissing-prototypes
 -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes
 -Wwrite-strings -Werror=write-strings -Werror-implicit-function-
 declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-
 statement -Werror=declaration-after-statement -Wreturn-type -Werror
 =return-type -Wuninitialized -Werror=uninitialized -Werror=strict-overflow
 -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers
 -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-
 common -fstack-protector -Wno-deprecated-declarations -MD -MT
 src/CMakeFiles/ssh.dir/buffer.c.o -MF CMakeFiles/ssh.dir/buffer.c.o.d -o
 CMakeFiles/ssh.dir/buffer.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/src/buffer.c
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/src/bignum.c:26:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:46:4:
 error: #error "no strtoull function found"
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/src/agent.c:57:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:46:4:
 error: #error "no strtoull function found"
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/src/auth.c:35:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:46:4:
 error: #error "no strtoull function found"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:207:4:
 error: #error "Your system must provide a __func__ macro"
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/src/base64.c:29:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:46:4:
 error: #error "no strtoull function found"
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/session.h:25,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/src/callbacks.c:27:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:46:4:
 error: #error "no strtoull function found"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:207:4:
 error: #error "Your system must provide a __func__ macro"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:207:4:
 error: #error "Your system must provide a __func__ macro"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:207:4:
 error: #error "Your system must provide a __func__ macro"
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/src/buffer.c:36:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:46:4:
 error: #error "no strtoull function found"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:207:4:
 error: #error "Your system must provide a __func__ macro"
 make[2]: *** [src/CMakeFiles/ssh.dir/base64.c.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.6/include/libssh/priv.h:207:4:
 error: #error "Your system must provide a __func__ macro"
 make[2]: *** [src/CMakeFiles/ssh.dir/bignum.c.o] Error 1
 make[2]: *** [src/CMakeFiles/ssh.dir/callbacks.c.o] Error 1
 make[2]: *** [src/CMakeFiles/ssh.dir/buffer.c.o] Error 1
 make[2]: *** [src/CMakeFiles/ssh.dir/agent.c.o] Error 1
 make[2]: *** [src/CMakeFiles/ssh.dir/auth.c.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/build'
 make[1]: *** [src/CMakeFiles/ssh.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/build'
 make: *** [all] Error 2
 }}}

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


More information about the macports-tickets mailing list