Bug#986539: libre-dev depends on zlib1g-dev
Nicholas Brown
nickbroon at gmail.com
Wed Apr 7 09:45:55 BST 2021
Package: libre-dev
Version: 1.1.0-1
Severity: important
Tags: patch
Specifically re_crc32.h includes zlib.h
Discovered while trying to build https://github.com/alfredh/repcpd
```
[ 68s] make[1]: Entering directory '/usr/src/packages/BUILD'
[ 68s] CC [M] build-x86_64/modules/announce/announce.o
[ 68s] In file included from /usr/include/re/re.h:27,
[ 68s] from modules/announce/announce.c:7:
[ 68s] /usr/include/re/re_crc32.h:9:10: fatal error: zlib.h: No such file
or directory
[ 68s] 9 | #include <zlib.h>
[ 68s] | ^~~~~~~~
[ 68s] compilation terminated.
```
I opened a merge request to fix this, but appears it was removed as merge
requests were later disabled on the repo. I was notified of this removal. (
https://salsa.debian.org/pkg-voip-team/libre/-/merge_requests/1)
My proposed fix is:
https://salsa.debian.org/nickbroon/libre/-/commit/438b34da2f2147b4db6b2521d580598e226cd29e
diff --git a/debian/control b/debian/control
index 6c0f773..1b02b64 100644
--- a/debian/control
+++ b/debian/control
@@ -55,6 +55,7 @@ Multi-Arch: same
Section: libdevel
Depends:
libre0 (= ${binary:Version}),
+ zlib1g-dev,
${misc:Depends},
${shlibs:Depends},
Description: generic library for real-time communications (development
files)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20210407/5775d5cc/attachment.htm>
More information about the Pkg-voip-maintainers
mailing list