New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29888 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

libssh 0.5.0 build error

Reported by: pierre-andre.cornillon@… Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: dave.strickland@…, dpdawson@…
Port: libssh

Description

The libssh failed to install on mac 10.5.8 (build error ?). The Xcode version is 3.1.4. The debug log is the following (obtained with sudo port -d install libssh)

version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main cmake 2.8.4_0 exists in the ports tree
:debug:main cmake 2.8.4_0  is the latest installed
:debug:main cmake 2.8.4_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/cmake
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! cmake 2.8.4_0 >= cmake 2.8.4_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libidn 1.22_0 exists in the ports tree
:debug:main libidn 1.22_0  is the latest installed
:debug:main libidn 1.22_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/libidn
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! libidn 1.22_0 >= libidn 1.22_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.13.1_0 exists in the ports tree
:debug:main libiconv 1.13.1_0  is the latest installed
:debug:main libiconv 1.13.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main gettext 0.18.1.1_2 exists in the ports tree
:debug:main gettext 0.18.1.1_2  is the latest installed
:debug:main gettext 0.18.1.1_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! gettext 0.18.1.1_2 >= gettext 0.18.1.1_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 5.9_0 exists in the ports tree
:debug:main ncurses 5.9_0  is the latest installed
:debug:main ncurses 5.9_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! ncurses 5.9_0 >= ncurses 5.9_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main expat 2.0.1_1 exists in the ports tree
:debug:main expat 2.0.1_1  is the latest installed
:debug:main expat 2.0.1_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! expat 2.0.1_1 >= expat 2.0.1_1
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.0.0d_0 exists in the ports tree
:debug:main openssl 1.0.0d_0  is the latest installed
:debug:main openssl 1.0.0d_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! openssl 1.0.0d_0 >= openssl 1.0.0d_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.5_0 exists in the ports tree
:debug:main zlib 1.2.5_0  is the latest installed
:debug:main zlib 1.2.5_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
:debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
:msg:main --->  Computing dependencies for libssh:msg:main 
:debug:main Searching for dependency: cmake
:debug:main Found Dependency: receipt exists for cmake
:debug:main Searching for dependency: openssl
:debug:main Found Dependency: receipt exists for openssl
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Executing org.macports.main (libssh)
:debug:main Skipping completed org.macports.fetch (libssh)
:debug:main Skipping completed org.macports.checksum (libssh)
:debug:main Skipping completed org.macports.extract (libssh)
:debug:main Skipping completed org.macports.patch (libssh)
:debug:main Skipping completed org.macports.configure (libssh)
:msg:main --->  Building libssh
:debug:build build phase started at Tue Jun 21 13:47:45 CEST 2011
:debug:build Executing org.macports.build (libssh)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build" && /usr/bin/make -j2 all'
:info:build /opt/local/bin/cmake -H/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build --check-build-system CMakeFiles/Makefile.cmake 0
:info:build /opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/CMakeFiles /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/CMakeFiles/progress.marks
:info:build /usr/bin/make -f CMakeFiles/Makefile2 all
:info:build /usr/bin/make -f src/CMakeFiles/ssh_shared.dir/build.make src/CMakeFiles/ssh_shared.dir/depend
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/src/CMakeFiles/ssh_shared.dir/DependInfo.cmake --color=
:info:build /usr/bin/make -f src/CMakeFiles/ssh_shared.dir/build.make src/CMakeFiles/ssh_shared.dir/build
:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/CMakeFiles 11
:info:build [  1%] /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/CMakeFiles 12
:info:build Building C object src/CMakeFiles/ssh_shared.dir/agent.c.o
:info:build [  3%] cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/src && /usr/bin/gcc-4.0  -DLIBSSH_EXPORTS -O2 -arch i386  -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -arch i386 -isysroot / -mmacosx-version-min=10.5 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build -I/opt/local/include   -fvisibility=hidden -o CMakeFiles/ssh_shared.dir/agent.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src/agent.c
:info:build Building C object src/CMakeFiles/ssh_shared.dir/auth.c.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/src && /usr/bin/gcc-4.0  -DLIBSSH_EXPORTS -O2 -arch i386  -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -arch i386 -isysroot / -mmacosx-version-min=10.5 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build -I/opt/local/include   -fvisibility=hidden -o CMakeFiles/ssh_shared.dir/auth.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src/auth.c
:info:build In file included from //usr/include/i386/_structs.h:38,
:info:build                  from //usr/include/machine/_structs.h:31,
:info:build                  from //usr/include/sys/_structs.h:57,
:info:build                  from //usr/include/sys/signal.h:154,
:info:build                  from //usr/include/sys/wait.h:116,
:info:build                  from //usr/include/stdlib.h:65,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src/auth.c:25:
:info:build //usr/include/mach/i386/_structs.h:91: error: type of bit-field '__invalid' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:92: error: type of bit-field '__denorm' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:93: error: type of bit-field '__zdiv' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:94: error: type of bit-field '__ovrfl' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:95: error: type of bit-field '__undfl' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:96: error: type of bit-field '__precis' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:97: error: type of bit-field '<anonymous>' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:98: error: type of bit-field '__pc' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:104: error: type of bit-field '__rc' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:111: error: type of bit-field '<anonymous>' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:112: error: type of bit-field '<anonymous>' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:149: error: type of bit-field '__invalid' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:150: error: type of bit-field '__denorm' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:151: error: type of bit-field '__zdiv' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:152: error: type of bit-field '__ovrfl' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:153: error: type of bit-field '__undfl' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:154: error: type of bit-field '__precis' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:155: error: type of bit-field '__stkflt' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:156: error: type of bit-field '__errsumm' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:157: error: type of bit-field '__c0' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:158: error: type of bit-field '__c1' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:159: error: type of bit-field '__c2' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:160: error: type of bit-field '__tos' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:161: error: type of bit-field '__c3' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:162: error: type of bit-field '__busy' is a GCC extension
:info:build In file included from //usr/include/i386/_structs.h:38,
:info:build                  from //usr/include/machine/_structs.h:31,
:info:build                  from //usr/include/sys/_structs.h:57,
:info:build                  from //usr/include/sys/signal.h:154,
:info:build                  from //usr/include/sys/wait.h:116,
:info:build                  from //usr/include/stdlib.h:65,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src/agent.c:39:
:info:build //usr/include/mach/i386/_structs.h:91: error: type of bit-field '__invalid' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:92: error: type of bit-field '__denorm' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:93: error: type of bit-field '__zdiv' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:94: error: type of bit-field '__ovrfl' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:95: error: type of bit-field '__undfl' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:96: error: type of bit-field '__precis' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:97: error: type of bit-field '<anonymous>' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:98: error: type of bit-field '__pc' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:104: error: type of bit-field '__rc' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:111: error: type of bit-field '<anonymous>' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:112: error: type of bit-field '<anonymous>' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:149: error: type of bit-field '__invalid' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:150: error: type of bit-field '__denorm' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:151: error: type of bit-field '__zdiv' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:152: error: type of bit-field '__ovrfl' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:153: error: type of bit-field '__undfl' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:154: error: type of bit-field '__precis' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:155: error: type of bit-field '__stkflt' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:156: error: type of bit-field '__errsumm' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:157: error: type of bit-field '__c0' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:158: error: type of bit-field '__c1' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:159: error: type of bit-field '__c2' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:160: error: type of bit-field '__tos' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:161: error: type of bit-field '__c3' is a GCC extension
:info:build //usr/include/mach/i386/_structs.h:162: error: type of bit-field '__busy' is a GCC extension
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/include/libssh/priv.h:97,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src/auth.c:33:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/include/libssh/callbacks.h:319: warning: declaration of 'signal' shadows a global declaration
:info:build //usr/include/sys/signal.h:413: warning: shadowed declaration is here
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/include/libssh/callbacks.h:345: warning: declaration of 'signal' shadows a global declaration
:info:build //usr/include/sys/signal.h:413: warning: shadowed declaration is here
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/include/libssh/priv.h:97,
:info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/src/agent.c:51:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/include/libssh/callbacks.h:319: warning: declaration of 'signal' shadows a global declaration
:info:build //usr/include/sys/signal.h:413: warning: shadowed declaration is here
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/libssh-0.5.0/include/libssh/callbacks.h:345: warning: declaration of 'signal' shadows a global declaration
:info:build //usr/include/sys/signal.h:413: warning: shadowed declaration is here
:info:build make[2]: *** [src/CMakeFiles/ssh_shared.dir/agent.c.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [src/CMakeFiles/ssh_shared.dir/auth.c.o] Error 1
:info:build make[1]: *** [src/CMakeFiles/ssh_shared.dir/all] Error 2
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/work/build" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for libssh): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for libssh is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libssh/main.log

Change History

comment:1 Changed 3 years ago by dave.strickland@…

  • Cc dave.strickland@… added

Cc Me!

comment:2 Changed 3 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to snc@…

comment:3 follow-up: ↓ 5 Changed 3 years ago by jmr@…

It uses both -std=gnu99 and -pedantic? How confusing. Removing -pedantic-errors should fix the build anyway.

comment:4 Changed 3 years ago by dpdawson@…

  • Cc dpdawson@… added

Cc Me!

comment:5 in reply to: ↑ 3 Changed 3 years ago by dave.strickland@…

Replying to jmr@…:

It uses both -std=gnu99 and -pedantic? How confusing. Removing -pedantic-errors should fix the build anyway.

How would I do this? (I couldn't find how to change compile options in the main macports documentation or on google).

Thanks.

comment:6 Changed 3 years ago by snc@…

sudo port edit libssh

Then, if there isn't a configure.args line, add it. Put the flags from above in the configure.args line and try installing it again.

comment:7 Changed 3 years ago by snc@…

  • Status changed from new to assigned

comment:8 Changed 3 years ago by snc@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Removed -pedantic-errors in r79968.

Note: See TracTickets for help on using tickets.