libssh-dev is missing cmake find module

Bug #1800135 reported by 8p-k26-gj
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libssh (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Confirmed
Undecided
Unassigned

Bug Description

libssh-dev: 0.8.0~20170825.94fa1e38-1ubuntu0.1

There is no libssh-config.cmake packaged in libssh-dev package leading to find_package calls for LibSSH failing.

The build output [1] lists a /<<PKGBUILDDIR>>/debian/tmp-gcrypt/usr/lib/x86_64-linux-gnu/cmake/libssh/libssh-config.cmake file was installed, however.

[1] https://launchpadlibrarian.net/356107564/buildlog_ubuntu-bionic-amd64.libssh_0.8.0~20170825.94fa1e38-1build1_BUILDING.txt.gz

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libssh (Ubuntu):
status: New → Confirmed
Revision history for this message
Rik Mills (rikmills) wrote :

In Bionic version 0.8.0~20170825.94fa1e38-1ubuntu0.1 the cnake files are not installed to anywhere.

In Cosmic version 0.8.1-1ubuntu0.1 they are installed in the libssh-gcrypt-dev package, which initially strikes me as a bit odd.

Installed by debian commit: https://salsa.debian.org/debian/libssh/commit/c361a3020cc3f639f5c77644ab00a1b7ecc08558

Revision history for this message
Harald Sitter (apachelogger) wrote :
Download full text (3.3 KiB)

Are you sure this is still incorrect in cosmic? It seems to me this is only broken in bionic.

Cosmic build log has

libssh-dev_0.8.1-1_amd64.deb
----------------------------

 new debian package, version 2.0.
 size 217956 bytes: control archive=1172 bytes.
     918 bytes, 21 lines control
     845 bytes, 12 lines md5sums
 Package: libssh-dev
 Source: libssh
 Version: 0.8.1-1
 Architecture: amd64
 Maintainer: Ubuntu Developers <email address hidden>
 Original-Maintainer: Laurent Bigonville <email address hidden>
 Installed-Size: 1064
 Depends: libssh-4 (= 0.8.1-1), libssl-dev, zlib1g-dev
 Suggests: libssh-doc
 Conflicts: libssh-gcrypt-dev
 Section: libdevel
 Priority: optional
 Homepage: https://www.libssh.org/
 Description: tiny C SSH library. Development files (OpenSSL flavor)
  The ssh library was designed to be used by programmers needing a working SSH
  implementation by the mean of a library. The complete control of the client
  is made by the programmer. With libssh, you can remotely execute programs,
  transfer files, use a secure and transparent tunnel for your remote programs.
  With its SFTP implementation, you can play with remote files easily.
  .
  This package contains development files to build the OpenSSL flavor.

drwxr-xr-x root/root 0 2018-08-14 07:43 ./
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/include/
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/include/libssh/
-rw-r--r-- root/root 37596 2018-08-09 09:18 ./usr/include/libssh/callbacks.h
-rw-r--r-- root/root 6867 2016-03-03 19:05 ./usr/include/libssh/legacy.h
-rw-r--r-- root/root 29642 2018-08-13 20:21 ./usr/include/libssh/libssh.h
-rw-r--r-- root/root 20102 2018-08-10 11:23 ./usr/include/libssh/libsshpp.hpp
-rw-r--r-- root/root 12393 2018-08-09 09:18 ./usr/include/libssh/server.h
-rw-r--r-- root/root 31787 2018-08-10 09:06 ./usr/include/libssh/sftp.h
-rw-r--r-- root/root 2735 2018-08-10 11:23 ./usr/include/libssh/ssh2.h
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/cmake/
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/cmake/libssh/
-rw-r--r-- root/root 377 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/cmake/libssh/libssh-config-version.cmake
-rw-r--r-- root/root 493 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/cmake/libssh/libssh-config.cmake
-rw-r--r-- root/root 906476 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/libssh.a
lrwxrwxrwx root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/libssh.so -> libssh.so.4
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/pkgconfig/
-rw-r--r-- root/root 121 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/pkgconfig/libssh.pc
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/share/
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/share/doc/
drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/share/doc/libssh-dev/
lrwxr...

Read more...

Revision history for this message
Rik Mills (rikmills) wrote : Re: [Bug 1800135] Re: libssh-dev is missing cmake find module

On 30/10/2018 15:42, Harald Sitter wrote:
> Are you sure this is still incorrect in cosmic? It seems to me this is
> only broken in bionic.

Seems .cmake are installed in both -dev packages in cosmic, with a
conflicts to prevent both being installed at the same time.

I would guess I was looking at the wrong build log or file list in a tab
when it looked like this was not the case.

Changed in libssh (Ubuntu Bionic):
status: New → Confirmed
Changed in libssh (Ubuntu):
status: Confirmed → Fix Released
Will Cooke (willcooke)
tags: added: rls-bb-notfixing
Revision history for this message
Sebastien Bacher (seb128) wrote :

It's not an user visible problem nor impacting our default desktop, rls-bb-notfixing from a desktop team perspective

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.