Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190623 - stabilize net-libs/libssh-0.2 and remove =net-libs/libssh-0.11
Summary: stabilize net-libs/libssh-0.2 and remove =net-libs/libssh-0.11
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2007-08-29 10:24 UTC by Lothar Braun
Modified: 2007-10-02 08:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lothar Braun 2007-08-29 10:24:09 UTC
Libssh is available at three versions: 0.1, 0.11 and 0.2

Where 0.1 is the oldest and 0.2 is the newest version. When you have version 0.2 installed and do an "emerge --update world", then emerge will try to "upgrade" libssh-0.2 -> libssh-0.11, which is acutally a downgrade (see: http://0xbadc0de.be/wiki/libssh:libssh)

Reproducible: Always

Steps to Reproduce:
1. Unmask libssh-0.2
2. emerge =net-libs/libssh-0.2
3. emerge -u libssh

Actual Results:  
Installs version 0.11

Expected Results:  
Installs nothing :-)

Would it be possible to turn libssh-0.11 into libssh-0.1.1 (which it acutally is)?
Comment 1 Jurek Bartuszek (RETIRED) gentoo-dev 2007-09-03 22:12:53 UTC
Of course - rename the ebuild and use versionator to do its job. Do you still want the 0.11 version removed?
Comment 2 Lothar Braun 2007-09-04 07:48:26 UTC
(In reply to comment #1)
> Of course - rename the ebuild and use versionator to do its job. Do you still
> want the 0.11 version removed?

It would be ok for _me_ to remove the old version (since i want to develop a new application that uses libssh). But it might be a problem for other people to remove 0.11, because 0.2 and 0.11 seem to be incompatible (quote from homepage: "The list of changes are very numerous, the API was modified for better design, ..."

I don't know if there are any apps that need 0.11, but if so there would be a problem. Maybe a sollted installation of both libs would be a good solution?
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-09-05 19:03:58 UTC
only dep is net-analyzer/hydra so if that app works, it should be good to go.

So give it a shot and report back please
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-14 06:52:50 UTC
(In reply to comment #3)
> only dep is net-analyzer/hydra so if that app works, it should be good to go.
> 
> So give it a shot and report back please

hydra-ssh2.c:10:2: warning: #warning "If compilation of hydra-ssh2 fails, you are not using v0.11. Download from http://www.0xbadc0de.be/"
hydra-ssh2.c: In function ‘start_ssh2’:
hydra-ssh2.c:34: warning: implicit declaration of function ‘options_new’
hydra-ssh2.c:34: warning: assignment makes pointer from integer without a cast
hydra-ssh2.c:44: warning: implicit declaration of function ‘options_set_wanted_method’
hydra-ssh2.c:44: error: ‘KEX_COMP_C_S’ undeclared (first use in this function)
hydra-ssh2.c:44: error: (Each undeclared identifier is reported only once
hydra-ssh2.c:44: error: for each function it appears in.)
hydra-ssh2.c:45: error: ‘KEX_COMP_S_C’ undeclared (first use in this function)
hydra-ssh2.c:46: warning: implicit declaration of function ‘options_set_port’
hydra-ssh2.c:47: warning: implicit declaration of function ‘options_set_host’
hydra-ssh2.c:48: warning: implicit declaration of function ‘options_set_username’
hydra-ssh2.c:50: warning: passing argument 1 of ‘ssh_connect’ from incompatible pointer type
hydra-ssh2.c:50: warning: assignment makes pointer from integer without a cast
hydra-ssh2.c:82: warning: implicit declaration of function ‘ssh_error_code’
distcc[8285] ERROR: compile hydra-ssh2.c on localhost failed
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-23 07:20:43 UTC
(In reply to comment #3)
> only dep is net-analyzer/hydra so if that app works, it should be good to go.

 net-mon, hydra does not work as it rquires 0.11.  Period.  So either don't stable libssh-0.2 or make a hard-dep on 0.11.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-02 08:25:21 UTC
No reaction from maintainers and stabilising 0.2 when only reverse dependency wants 0.11 is just useless.  removing arches and closing.