Unable to build with libssl1.0-dev dependancy Bionic 18.04

Asked by ckti on 2018-03-08

Am building packages for bionic and have run into a alight problem. My packages depend on libssl1.0-dev but this will not install in either launchpad or Bionic itself. If I install libssl1.0-dev by itself the compilation works. These packages need to be on launchpad. Here are the errors:

$ dpkg-buildpackage

dpkg-buildpackage: info: source package ioncoin
dpkg-buildpackage: info: source version
dpkg-buildpackage: info: source distribution bionic
dpkg-buildpackage: info: source changed by ckti.ion <email address hidden>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build ioncoin-
dpkg-checkbuilddeps: error: Unmet build dependencies: libssl1.0-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

Control File Dependencies:

Build-Depends: debhelper (>=9),autotools-dev,dh-autoreconf,pkg-config,libdb4.8-dev,libdb4.8++-dev,libboost-all-dev,qt5-qmake,qt5-default,qtchooser,libssl1.0-dev,qttools5-dev-tools,protobuf-compiler,libtool,automake,libevent-dev,bsdmainutils,libqrencode-dev,libminiupnpc-dev,libgmp-dev,software-properties-common

Works with:

$ sudo apt-get install libssl1.0-dev
Setting up libssl1.0-dev:amd64 (1.0.2n-1ubuntu4) ...

$ dpkg-buildpackage
successfully builds the package

Therefore this package will neither compile on launchpad nor natively compile without explicitly installing libssl1.0-dev

Any ideas out there?

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:

This question was reopened

  • 2018-03-08 by ckti
ckti (ckti) said : #1

Got it working....not sure how it happened but compiles on launchpad now

ckti (ckti) said : #2

and it's not working again
-- from launchpad
The following packages have unmet dependencies:
 sbuild-build-depends-ion-qt-dummy : Depends: libssl1.0-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I suggest you report a bug. Bionic is not ready and not stable.

Manfred Hampl (m-hampl) said : #4

What is the output of the command

apt-cache policy libssl1.0-dev

ckti (ckti) said : #5

actionparsnip -> Yes, I know bionic is not released yet, just trying to get ahead of the curve on this particular project that i'm working on.

Manfred Hampl ->
apt-cache policy libssl1.0-dev
  Installed: (none)
  Candidate: 1.0.2n-1ubuntu4
  Version table:
     1.0.2n-1ubuntu4 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Manfred Hampl (m-hampl) said : #6

Maybe I found the cause:

The buildlog of one of your failed builds

Merged Build-Depends: ..., libssl-dev, libssl1.0-dev, ...

but the control file for libssl1.0-dev states:

Package: libssl1.0-dev
Source: openssl1.0
Version: 1.0.2n-1ubuntu4
Architecture: amd64
Maintainer: Ubuntu Developers <email address hidden>
Installed-Size: 7073
Depends: libssl1.0.0 (= 1.0.2n-1ubuntu4)
Conflicts: libssl-dev
Section: libdevel

ckti (ckti) said : #7

Looks like a problem with bionic packaging. The software will not compile under libssl-dev. Raise a bug with the ubuntu MOTU?

Manfred Hampl (m-hampl) said : #8

Are you aware that in bionic there are two different source packages - openssl and openssl1.0 ?

openssl (1.1.0g-2ubuntu2) provides
libcrypto1.1-udeb Secure Sockets Layer toolkit - libcrypto udeb
libssl-dev Secure Sockets Layer toolkit - development files
libssl-doc Secure Sockets Layer toolkit - development documentation
libssl1.1 Secure Sockets Layer toolkit - shared libraries
libssl1.1-dbgsym debug symbols for libssl1.1
libssl1.1-udeb ssl shared library - udeb
openssl Secure Sockets Layer toolkit - cryptographic utility
openssl-dbgsym debug symbols for openssl

openssl1.0 (1.0.2n-1ubuntu4) provides
libcrypto1.0.0-udeb Secure Sockets Layer toolkit - libcrypto udeb
libssl1.0-dev Secure Sockets Layer toolkit - development files
libssl1.0.0 Secure Sockets Layer toolkit - shared libraries
libssl1.0.0-dbgsym debug symbols for libssl1.0.0
libssl1.0.0-udeb ssl shared library - udeb
openssl1.0 Secure Sockets Layer toolkit 1.0 - cryptographic utility
openssl1.0-dbgsym debug symbols for openssl1.0

It is not a surprise to me that you cannot install libssl-dev from openssl and libssl1.0-dev from openssl1.0 at the same time.

I assume that you have to re-check which dependencies you really need.

ckti (ckti) said : #9

didn't realize that there were 2 different packages openssl1.0 and openssl will re-test under bionic and see what happens

ckti (ckti) said : #10

added in q dependency for libcurl-openssl1.0-dev and it now compiles under Launchpad.
TY Manfred Hampl for pointing me in the right direction