Your message dated Mon, 04 Feb 2019 03:52:37 +0000
with message-id <e1gqvjf-000653...@fasolo.debian.org>
and subject line Bug#920648: fixed in ntopng 3.8+dfsg1-2.1
has caused the Debian Bug report #920648,
regarding ntopng: missing libssl-dev dependency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
920648: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920648
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ntopng
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch
Version: 3.8+dfsg1-2
Severity: serious
Tags: patch

Hello, I'm filing this bug as serious, even if the build failure is not 
experienced in Debian builds, just by luck.
Problem is that the embedded mongoose library, directly uses ssl features, but 
the package lacks of a libssl-dev dependency

For some luck, mariadb-default pulls libssl-dev and this is why you are not 
experiencing the build failure, but this is a bug
since mariadb might drop that dependency in the future, or people might have a 
default, different sql implementation on their system.

Trivial patch:

diff -Nru ntopng-3.8+dfsg1/debian/changelog ntopng-3.8+dfsg1/debian/changelog
--- ntopng-3.8+dfsg1/debian/changelog   2019-01-26 08:36:22.000000000 +0000
+++ ntopng-3.8+dfsg1/debian/changelog   2019-01-27 19:36:30.000000000 +0000
@@ -1,3 +1,9 @@
+ntopng (3.8+dfsg1-2ubuntu1) disco; urgency=medium
+
+  * Build depend on libssl-dev too, used in the build process (Closes: #-1)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Sun, 27 Jan 2019 
20:36:30 +0100
+
 ntopng (3.8+dfsg1-2) unstable; urgency=medium
 
   * Fix missing space in postinst migration script (Closes: #920281).
diff -Nru ntopng-3.8+dfsg1/debian/control ntopng-3.8+dfsg1/debian/control
--- ntopng-3.8+dfsg1/debian/control     2019-01-22 01:55:35.000000000 +0000
+++ ntopng-3.8+dfsg1/debian/control     2019-01-27 19:36:28.000000000 +0000
@@ -20,6 +20,7 @@
                libpcap-dev,
                librrd-dev,
                libsqlite3-dev,
+               libssl-dev,
                libzmq3-dev,
                node-source-map,
                node-uglify,

Example of build failure:
https://launchpadlibrarian.net/408670618/buildlog_ubuntu-disco-amd64.ntopng_3.8+dfsg1-2_BUILDING.txt.gz

g++ -g -Wall -I/<<BUILDDIR>>/ntopng-3.8+dfsg1 
-I/<<BUILDDIR>>/ntopng-3.8+dfsg1/include -I/usr/local/include 
-D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis -I/usr/include/hiredis 
-I/<<BUILDDIR>>/ntopng-3.8+dfsg1/third-party/mongoose -I/usr/include/json-c  
-I/usr/include/ndpi -I/usr/include/lua5.3   -I/usr/include/mysql -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/<<BUILDDIR>>/ntopng-3.8+dfsg1 
-I/<<BUILDDIR>>/ntopng-3.8+dfsg1/include -I/usr/local/include 
-I/<<BUILDDIR>>/ntopng-3.8+dfsg1/third-party/http-client-c/src/  
-I/usr/include/openssl  -DDATA_DIR='"/usr/share"' 
-I/<<BUILDDIR>>/ntopng-3.8+dfsg1/third-party/libgeohash 
-I/<<BUILDDIR>>/ntopng-3.8+dfsg1/third-party/patricia  -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/ntopng-3.8+dfsg1=. -fstack-protector-strong 
-Wformat -Werror=format-security -c src/HTTPserver.cpp -o src/HTTPserver.o
In file included from src/HTTPserver.cpp:25:
src/../third-party/mongoose/mongoose.c:362:10: fatal error: openssl/ssl.h: No 
such file or directory
 #include <openssl/ssl.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:145: src/HTTPserver.o] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/ntopng-3.8+dfsg1'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/ntopng-3.8+dfsg1'
make: *** [debian/rules:11: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------


thanks for caring,

Gianfranco

--- End Message ---
--- Begin Message ---
Source: ntopng
Source-Version: 3.8+dfsg1-2.1

We believe that the bug you reported is fixed in the latest version of
ntopng, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 920...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Michael Green <plugw...@debian.org> (supplier of updated ntopng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 04 Feb 2019 01:10:39 +0000
Source: ntopng
Binary: ntopng ntopng-data ntopng-dbgsym ntopng-doc
Architecture: source
Version: 3.8+dfsg1-2.1
Distribution: unstable
Urgency: high
Maintainer: Ludovico Cavedon <cave...@debian.org>
Changed-By: Peter Michael Green <plugw...@debian.org>
Description:
 ntopng     - High-Speed Web-based Traffic Analysis and Flow Collection Tool
 ntopng-data - High-Speed Web-based Traffic Analysis and Flow Collection Tool (d
 ntopng-doc - High-Speed Web-based Traffic Analysis and Flow Collection Tool (d
Closes: 920648
Changes:
 ntopng (3.8+dfsg1-2.1) unstable; urgency=high
 .
   * Non-maintainer upload.
   * Add build-depends on libssl-dev (Closes: 920648)
Checksums-Sha1:
 f52326cecdd186f2ab646681c17c101e736b8206 2370 ntopng_3.8+dfsg1-2.1.dsc
 1aa1d28e95c26c93b62bd1f144745de54d2c74bb 27928 
ntopng_3.8+dfsg1-2.1.debian.tar.xz
Checksums-Sha256:
 820389faf66b6ef01c391a6f7c833b46ada098cc89ee67d9cc4fe7e2d9eb1b6e 2370 
ntopng_3.8+dfsg1-2.1.dsc
 7268286560786676dd5e31122ab3c41a03803ed0a1f4f5e5ae01cd0e1f7b4c4d 27928 
ntopng_3.8+dfsg1-2.1.debian.tar.xz
Files:
 cf1941303fdfb890bf9d0bc7ddc4c47b 2370 net optional ntopng_3.8+dfsg1-2.1.dsc
 6ca43d67492a8ecb4986a3b1d01fbed3 27928 net optional 
ntopng_3.8+dfsg1-2.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEU0DQATYMplbjSX63DEjqKnqP/XsFAlxXr7gUHHBsdWd3YXNo
QGRlYmlhbi5vcmcACgkQDEjqKnqP/XswAA//aQr5+9yXa5bE1tltrjdqX8ERhHto
GtYWB/eu1mQeNgqj/XAxwpFL7/UUC/cWUqVB5qDkmzs+EtgUWpzpacUTp6EB3rbX
gMRV5kcb8MvjW/MftVIvD/o6AkGwsUrD79ZAUBIz3FWXQo6pIdlK5vLH7uK4NXG+
iRSuhQOPJbpRw3ZVo3OYMhgpWsk05a4f45R29h2cYWjFIVE341evhnApn+XxpnHP
RqxlRoE8cA74dy2oz0oKpw2Kdh2otNOQ4Ynt984tNp2yXObRTTU5uOm7pVY5qK1E
7pg4+QD1GyjqfUWt5Pc+7lurHaMCE4xQKODJeX0s4IiGmk0gbduMpkOsMWnaeEt/
IT7XFvtgROM1NoZpPnmOZErwL+fdYfnjJd+V8JG47P1wfZD7T/ka6SbesbkJuHbP
a3rKE41bber5Eh3Uswhi7wu53PRuiXF306RSk7z17wMLtRNWTen3y8zLBqxQ6//G
b0c/AyQlVday31ZfdksD7ccwBu5gYvfbW1Y8D6tLCeuFIrexxNpNkuJsSyhxKi+h
9YMU3kKjzdW+8LV+Ad/YqYMEXk9+0v+HA9hSdYUl0KLgWFcqAoqnRVrDnhl4Jyzc
F8AapjKZc6EU2KjywKc9GYue9xDiP5QDw7JnaAXYEH4oT5ziIFy3cg4Z4gQ1SPKA
v1cpOOUlmGheMCM=
=26BN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to