Opened 10 months ago
Closed 8 months ago
#69080 closed defect (worksforme)
libssh @0.10.6 fails to build with cmake-devel on old systems
Reported by: | barracuda156 | Owned by: | Ionic (Mihai Moldovan) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | tiger, leopard, snowleopard | Cc: | |
Port: | libssh, cmake-devel |
Description
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
Change History (8)
comment:1 Changed 10 months ago by barracuda156
comment:2 Changed 10 months ago by barracuda156
Owner: | set to Ionic |
---|---|
Status: | new → assigned |
comment:3 Changed 10 months ago by barracuda156
Hmm, it is C99, so maybe some header is just missing? https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/strtoull.3.html
comment:4 Changed 10 months ago by barracuda156
Hmm, ignore this for now, could be a cmake-devel issue. Let me make sure.
comment:6 Changed 10 months ago by barracuda156
Keywords: | powerpc removed |
---|---|
Port: | cmake-devel added |
Summary: | libssh @0.10.6 fails to build for ppc; error: #error "no strtoull function found" → libssh @0.10.6 fails to build with cmake-devel on old systems |
comment:7 Changed 10 months ago by barracuda156
This can be closed, there is no problem on libssh
side, it is a bug in CMake 3.28.
comment:8 Changed 8 months ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Adding
PortGroup legacysupport 1.1
fixed the build.