New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12996 (closed defect: wontfix)

Opened 4 years ago

Last modified 2 years ago

OpenSSH fails to build due to libssh2 installed

Reported by: revalia@… Owned by: pmq@…
Priority: Low Milestone:
Component: ports Version: 1.6.0
Keywords: openssh, libssh2 Cc: revalia@…
Port:

Description

system:~ john$ sudo port -d install openssh Password: DEBUG: Found port in  file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/openssh DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/openssh DEBUG: Requested variant powerpc is not provided by port openssh. DEBUG: Requested variant macosx is not provided by port openssh. DEBUG: Executing variant darwin provides darwin DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Found port in  file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl DEBUG: Requested variant powerpc is not provided by port openssl. DEBUG: Requested variant macosx is not provided by port openssl. DEBUG: Executing variant darwin provides darwin DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: openssl DEBUG: Found Dependency: receipt exists for openssl DEBUG: Found port in  file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Requested variant powerpc is not provided by port zlib. DEBUG: Requested variant darwin is not provided by port zlib. DEBUG: Requested variant macosx is not provided by port zlib. DEBUG: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Skipping completed org.macports.main (openssh) DEBUG: Skipping completed org.macports.fetch (openssh) DEBUG: Skipping completed org.macports.checksum (openssh) DEBUG: Skipping completed org.macports.extract (openssh) DEBUG: Skipping completed org.macports.patch (openssh) DEBUG: Skipping completed org.macports.configure (openssh) ---> Building openssh with target all DEBUG: Executing org.macports.build (openssh) DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_openssh/work/openssh-4.7p1" && make all' if test ! -z ""; then \

/opt/local/bin/perl ./fixprogs ssh_prng_cmds ; \

fi (cd openbsd-compat && make) make[1]: Nothing to be done for `all'. /usr/bin/gcc-4.0 -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lssh -lopenbsd-compat -lcrypto -lz /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib//libssh.2.dylib is not prebound /usr/bin/ld: Undefined symbols: _a2port _a2tun _auth_request_forwarding _buffer_append _buffer_clear _buffer_get_char _buffer_get_int _buffer_init _buffer_len _buffer_ptr _buffer_put_cstring _buffer_put_int _channel_register_confirm _channel_request_remote_forwarding _channel_request_start _channel_send_open _channel_set_af _channel_setup_local_fwd_listener _cipher_number _ciphers_valid _cleanhostname _compat20 _datafellows _debug _debug2 _debug3 _error _fatal _hpdelim _init_rng _key_free _key_load_private_type _key_load_public _log_init _logit _mac_valid _match_pattern _mm_send_fd _packet_close _packet_disconnect _packet_get_int _packet_put_cstring _packet_put_int _packet_put_string _packet_remaining _packet_set_interactive _packet_start _packet_start_compression _packet_write_wait _percent_expand _permanently_set_uid _pwcopy _sanitise_stdfd _seed_rng _set_nonblock _ssh_agent_present _ssh_msg_recv _ssh_msg_send _tilde_expand_filename _tty_make_modes _x11_request_forwarding_with_spoofing _xcalloc _xfree _xstrdup _convtime _key_names_valid2 _log_level_number _proto_spec _strdelim _xmalloc _ask_permission _atomicio _buffer_consume _buffer_get_string _buffer_put_char _channel_after_select _channel_cancel_cleanup _channel_connect_by_listen_address _channel_free_all _channel_input_close _channel_input_close_confirmation _channel_input_data _channel_input_extended_data _channel_input_ieof _channel_input_oclose _channel_input_open_confirmation _channel_input_open_failure _channel_input_port_open _channel_input_window_adjust _channel_lookup _channel_not_very_much_buffered_data _channel_open_message _channel_output_poll _channel_prepare_select _channel_register_cleanup _channel_register_filter _channel_request_rforward_cancel _channel_send_window_changes _channel_still_open _channel_stop_listening _compat13 _deny_input_open _dispatch_init _dispatch_protocol_error _dispatch_run _dispatch_set _kex_input_kexinit _kex_send_kexinit _max_packet_size _mm_receive_fd _packet_get_char _packet_get_connection_in _packet_get_connection_out _packet_get_string _packet_have_data_to_write _packet_need_rekeying _packet_not_very_much_data_to_write _packet_process_incoming _packet_put_char _packet_write_poll _read_passphrase _ssh_get_authentication_socket _tun_open _unset_nonblock _x11_connect_display _x11_input_open _add_host_to_hostfile _check_host_in_hostfile _chop _compat_datafellows _enable_compat13 _enable_compat20 _key_equal _key_fingerprint _key_new _key_type _lookup_key_in_hostfile_by_type _packet_set_connection _packet_set_nonblocking _permanently_drop_suid _put_host_port _verify_host_key_dns _xasprintf _cipher_mask_ssh1 _cipher_name _derive_ssh1_session_id _packet_get_bignum _packet_put_bignum _packet_read_expect _packet_set_encryption_key _packet_set_protocol_flags _rsa_private_decrypt _rsa_public_encrypt _ssh_close_authentication_connection _ssh_decrypt_challenge _ssh_get_authentication_connection _ssh_get_first_identity _ssh_get_next_identity _buffer_put_string _compat_cipher_proposal _dispatch_range _get_local_name _kex_setup _kexdh_client _kexgex_client _key_from_blob _key_sign _key_ssh_name _key_to_blob _key_type_from_name _match_list _packet_add_padding _packet_connection_is_on_socket _packet_put_raw _packet_set_rekey_limit _ssh_agent_sign _verbose collect2: ld returned 1 exit status make: *** [ssh] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_openssh/work/openssh-4.7p1" && make all " returned error 2 Command output: _packet_set_encryption_key _packet_set_protocol_flags _rsa_private_decrypt _rsa_public_encrypt _ssh_close_authentication_connection _ssh_decrypt_challenge _ssh_get_authentication_connection _ssh_get_first_identity _ssh_get_next_identity _buffer_put_string _compat_cipher_proposal _dispatch_range _get_local_name _kex_setup _kexdh_client _kexgex_client _key_from_blob _key_sign _key_ssh_name _key_to_blob _key_type_from_name _match_list _packet_add_padding _packet_connection_is_on_socket _packet_put_raw _packet_set_rekey_limit _ssh_agent_sign _verbose collect2: ld returned 1 exit status make: *** [ssh] Error 1

Warning: the following items did not execute (for openssh): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

Change History

Changed 4 years ago by revalia@…

This is a dependency for git-core, which fails to build becuase openssh fails to build.

Changed 4 years ago by ryandesign@…

  • cc revalia@… added
  • milestone set to Port Bugs

Changed 4 years ago by callahad@…

OpenSSH works for me (at least as far as builds go; auth is broken. #13092), both with and without the apple-x11 and hpn variants.

I'm on OS X 10.5 Leopard.

Changed 4 years ago by pmq@…

  • owner changed from macports-tickets@… to pmq@…

This is caused by libssh2 being currently installed on your system. Please deactivate it, then install OpenSSH, then you can reactivate libssh2.

Changed 4 years ago by pmq@…

  • priority changed from Normal to Low
  • keywords libssh2 added; build fail removed
  • version changed from 1.5.2 to 1.6.0
  • summary changed from OpenSSH fails to build to OpenSSH fails to build due to libssh2 installed

BTW, next time in your description, use the WikiFormatting so it can be read by humans ;)

Changed 4 years ago by pmq@…

  • status changed from new to closed
  • resolution set to wontfix

Closing because I think I gave a workaround + no answer.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.