New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12765 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

hydra needs libssh-0.11, won't compile with 0.2

Reported by: caimi.marco@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: matrixm@…
Port:

Description

Current hydra version 5.4 fails to compile with libssh 0.2, #defines KEXT_COMP_C_S and KEXT_COMP_S_C changed to SSH_COMP_C_S and SSH_COMP_S_C

current stable libssh version in macports is 0.2, so it is safe to patch the portfile:

I added
reinplace "s|KEX_COMP_C_S|SSH_COMP_C_S|g" ${worksrcpath}/hydra-ssh2.c
reinplace "s|KEX_COMP_S_C|SSH_COMP_S_C|g" ${worksrcpath}/hydra-ssh2.c

to the post-patch section and it compiled just fine

Change History

Changed 4 years ago by caimi.marco@…

no, sorry. LD returns errors.. some symbols are not resolved, so the final binary is 0 bytes.

still does not work

Changed 4 years ago by jmr@…

  • owner changed from macports-tickets@… to pmq@…
  • type changed from enhancement to defect
  • milestone set to Port Bugs

Assigning to maintainer.

Changed 4 years ago by ryandesign@…

It's been  suggested that we make a new port libssh01 just for hydra's dependency. We could do this, but would have to make sure that the files installed by libssh01 don't conflict with the files installed by libssh. Perhaps see the ports apr and apr0 for ideas.

Changed 4 years ago by matrixm@…

As another possible solution, remove the dependency on libssh from the portfile for hydra. If libssh can have an older version compiled at the same time without conflicts, then add either a +ssh variant to hydra to pull in that older version of libssh, or just update hydra's port to pull it in directly.

Changed 4 years ago by matrixm@…

  • cc matrixm@… added

Cc Me!

Changed 4 years ago by pmq@…

  • owner pmq@… deleted
  • version changed from 1.5.0 to 1.6.0
  • summary changed from hydra compile error with libssh 0.2 patch to hydra needs libssh-0.11, won't compile with 0.2

I just committed in r36653 the removal of the libssh dependency. Not closing the ticket as the port obviously won't be able to fully fulfill its duty.
As I'm not hydra's maintainer anymore, removing myself from Assignee. Feel free to step up and take ownership!

Changed 4 years ago by ryandesign@…

  • status changed from new to assigned
  • owner set to ryandesign@…

FYI: hydra still fails to compile if libssh is present. To work around this for now, deactivate libssh before installing hydra. I'm working on a better fix. Please stand by.

Changed 4 years ago by ryandesign@…

  • status changed from assigned to closed
  • resolution set to fixed

Committed a new port libssh01 and updates to hydra to use it in r37351. Several other fixes for hydra in that commit; read the log message.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.