[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#844835: orthanc: FTBFS: build-dependency not installable: libssl-dev



UPDATE - The following patch makes pbuilder happy again:

>>>>>
diff --git a/debian/control b/debian/control
index 3741d90..302af99 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Build-Depends: cmake,
                libpng-dev,
                libpugixml-dev,
                libsqlite3-dev,
-               libssl-dev,
+               libssl1.0-dev | libssl-dev,
                libwrap0-dev,
                unzip,
                uuid-dev,
<<<<<

To be fair, I don't understand why this patch works (shouldn't "libssl-dev" abstract versioning?), and whether this is the correct solution to the bug report. Please could someone review the patch?

BTW, the same problem will likely also affect the "orthanc-wsi" package that has been pending in the NEW queue for about 3 weeks:
https://ftp-master.debian.org/new/orthanc-wsi_0.1+dfsg-1.html

Sébastien-



On Sat, Nov 19, 2016 at 10:30 AM, Sébastien Jodogne <s.jodogne@gmail.com> wrote:
Dear all,

I have a problem understanding what is going wrong in the attached bug report.

If I open the "debian/control" file of the "orthanc" package, I indeed see that the package Build-Depends on "libssl-dev":

However, if I run the following session of commands, I see that "libssl-dev" is still available in unstable:

>>>>>
jodogne@debian-unstable:~$ sudo apt-get update
Hit:1 http://ftp.belnet.be/debian unstable InRelease
Reading package lists... Done
jodogne@debian-unstable:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jodogne@debian-unstable:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jodogne@debian-unstable:~$ apt-cache search libssl-dev
libssl-dev - Secure Sockets Layer toolkit - development files
<<<<<

As a consequence, I don't understand why the rebuild failed. Is it a transient issue? Please could someone kindly give me an explanation? Thanks in advance!

Regards,
Sébastien-



---------- Forwarded message ----------
From: Lucas Nussbaum <lucas@debian.org>
Date: Sat, Nov 19, 2016 at 7:26 AM
Subject: Bug#844835: orthanc: FTBFS: build-dependency not installable: libssl-dev
To: submit@bugs.debian.org


Source: orthanc
Version: 1.1.0+dfsg-2
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> +------------------------------------------------------------------------------+
> | Install package build dependencies                                           |
> +------------------------------------------------------------------------------+
>
>
> Setup apt archive
> -----------------
>
> Merged Build-Depends: cmake, debhelper (>= 9), doxygen, libboost-all-dev, libcharls-dev, libcurl4-openssl-dev | libcurl4-dev, libdcmtk-dev, libgtest-dev, libjpeg-dev, libjs-jquery, libjsoncpp-dev, liblua5.1-0-dev, libpng-dev, libpugixml-dev, libsqlite3-dev, libssl-dev, libwrap0-dev, unzip, uuid-dev, zlib1g-dev, yui-compressor
> Filtered Build-Depends: cmake, debhelper (>= 9), doxygen, libboost-all-dev, libcharls-dev, libcurl4-openssl-dev, libdcmtk-dev, libgtest-dev, libjpeg-dev, libjs-jquery, libjsoncpp-dev, liblua5.1-0-dev, libpng-dev, libpugixml-dev, libsqlite3-dev, libssl-dev, libwrap0-dev, unzip, uuid-dev, zlib1g-dev, yui-compressor
> dpkg-deb: building package 'sbuild-build-depends-orthanc-dummy' in '/<<BUILDDIR>>/resolver-IyPUCn/apt_archive/sbuild-build-depends-orthanc-dummy.deb'.
> dpkg-scanpackages: warning: Packages in archive but missing from override file:
> dpkg-scanpackages: warning:   sbuild-build-depends-orthanc-dummy
> dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
> Ign:1 copy:/<<BUILDDIR>>/resolver-IyPUCn/apt_archive ./ InRelease
> Get:2 copy:/<<BUILDDIR>>/resolver-IyPUCn/apt_archive ./ Release [957 B]
> Ign:3 copy:/<<BUILDDIR>>/resolver-IyPUCn/apt_archive ./ Release.gpg
> Get:4 copy:/<<BUILDDIR>>/resolver-IyPUCn/apt_archive ./ Sources [476 B]
> Get:5 copy:/<<BUILDDIR>>/resolver-IyPUCn/apt_archive ./ Packages [557 B]
> Fetched 1990 B in 0s (0 B/s)
> Reading package lists...
> W: No sandbox user '_apt' on the system, can not drop privileges
> Reading package lists...
>
> Install orthanc build dependencies (apt-based resolver)
> -------------------------------------------------------
>
> Installing build dependencies
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  sbuild-build-depends-orthanc-dummy : Depends: libssl-dev but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
> apt-get failed.

The full build log is available from:
   http://aws-logs.debian.net/2016/11/18/orthanc_1.1.0+dfsg-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: