1500 303.554/322.880 Kb Used
(10001) PPU Loading /usr/lib/fpc/3.0.0/units/x86_64-linux/fcl-net/sslsockets.ppu
(10011) PPU Source: sslsockets.pp not available
(10028) Recompiling sslsockets, checksum changed for OpenSSL
Fatal: (10022) Can't find unit sslsockets used by fphttpclient
I'm seeing the issue in the Debian reproducable builds log for unstable but not for testing. The following analysis is based on information taken from the build logs from the reproducable builds tests.

A quick diff shows that the version of freepascal remained the same between the testing and unstable logs but the version of lazarus changed.

It seems the immediate cause of the build failure is that cqrlog is using it's own "openssl" unit (I see "(3104) Compiling ./lnet/lib/openssl.pas" in the build log. Freepascal also provides an openssl unit. Since the units have different "interface checksums" ppus built against one unit can't be used with the other.

As to why is this happening now when it didn't before my guess would be that some lazarus unit has picked up a dependency on fphttpclient.

Diffing the two openssl units the freepascal openssl unit seems to be an updated version of the same unit that is present in the cqrlog source tree. So I expect the most sensible fix is to ditch the local unit and add a build-dependency on fp-units-net.

Attatched is a debdiff that does just that. The package built successfully. I have not tested whether the resulting binaries actually work.
diff -Nru cqrlog-1.9.1/debian/changelog cqrlog-1.9.1/debian/changelog
--- cqrlog-1.9.1/debian/changelog       2016-03-01 10:39:12.000000000 +0000
+++ cqrlog-1.9.1/debian/changelog       2016-03-17 00:09:32.000000000 +0000
@@ -1,3 +1,10 @@
+cqrlog (1.9.1-1.1) UNRELEASED; urgency=medium
+
+  * Remove local copy of openssl unit and add build-dependency
+    on fp-units-net to resolve unit conflict (Closes: 818391).
+
+ -- Peter Michael Green <plugw...@debian.org>  Thu, 17 Mar 2016 00:08:24 +0000
+
 cqrlog (1.9.1-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru cqrlog-1.9.1/debian/control cqrlog-1.9.1/debian/control
--- cqrlog-1.9.1/debian/control 2016-03-01 10:39:26.000000000 +0000
+++ cqrlog-1.9.1/debian/control 2016-03-17 00:10:10.000000000 +0000
@@ -7,7 +7,7 @@
                lcl (>= 0.9.30) | lcl-0.9.30, fp-utils, fp-units-misc,
                fp-units-gfx, fp-units-gtk2, fp-units-db, libhamlib-dev (>= 
1.2.10),
                fp-units-math, libx11-dev, libgdk-pixbuf2.0-dev, libgtk2.0-dev,
-               libcairo2-dev, libpango1.0-dev, libatk1.0-dev
+               libcairo2-dev, libpango1.0-dev, libatk1.0-dev, fp-units-net
 Standards-Version: 3.9.7
 Homepage: http://www.cqrlog.com
 
diff -Nru cqrlog-1.9.1/debian/rules cqrlog-1.9.1/debian/rules
--- cqrlog-1.9.1/debian/rules   2014-01-27 20:26:52.000000000 +0000
+++ cqrlog-1.9.1/debian/rules   2016-03-17 00:09:53.000000000 +0000
@@ -15,4 +15,5 @@
 override_dh_clean:
        rm -rf src/ipc
        rm -rf src/mysql
+       rm -rf src/lnet/lib/openssl.pas
        dh_clean

Reply via email to