- Package:
- src:libevent
- Source:
- src:libevent
- Submitter:
- Samuel Thibault
- Date:
- 2023-09-11 11:48:05 UTC
- Severity:
- normal
- Tags:
Hello, libevent fails to build against glibc 2.38: dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below dpkg-gensymbols: warning: debian/libevent-core-2.1-7/DEBIAN/symbols doesn't match completely debian/libevent-core-2.1-7.symbols --- debian/libevent-core-2.1-7.symbols (libevent-core-2.1-7_2.1.12-stable-8_hurd-amd64) +++ dpkg-gensymbols1xbUd2 2023-08-06 03:24:48.473512483 +0000 @@ -309,7 +309,7 @@ event_set_mem_functions@Base 2.1.8-stable event_sock_err@Base 2.1.8-stable event_sock_warn@Base 2.1.8-stable - (arch=!musl-linux-any)event_strlcpy_@Base 2.1.8-stable +#MISSING: 2.1.12-stable-8# (arch=!musl-linux-any)event_strlcpy_@Base 2.1.8-stable event_warn@Base 2.1.8-stable event_warnx@Base 2.1.8-stable evmap_check_integrity_@Base 2.1.8-stable (and similar for libevent-2.1-7.symbols) strlcpy was indeed added to glibc in version 2.38, so it's not surprising that libevent-core doesn't define its internal version any more, and the attached patch can probably be applied? Samuel
We believe that the bug you reported is fixed in the latest version of
libevent, 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 1043108@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nicolas Mora <babelouest@debian.org> (supplier of updated libevent 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 14 Aug 2023 08:59:46 -0400
Source: libevent
Architecture: source
Version: 2.1.12-stable-9
Distribution: experimental
Urgency: medium
Maintainer: Nicolas Mora <babelouest@debian.org>
Changed-By: Nicolas Mora <babelouest@debian.org>
Closes: 1043108
Changes:
libevent (2.1.12-stable-9) experimental; urgency=medium
.
* d/symbols: Remove event_strlcpy_ symbol, now provided by glibc 2.38
(Closes: #1043108)
Checksums-Sha1:
053f788664ba852dee3464009051e99c1156c3b2 2377 libevent_2.1.12-stable-9.dsc
cd55656a9b5bed630b08f05495230affb7996b21 1100847 libevent_2.1.12-stable.orig.tar.gz
6fccc9c769ed12878f5c7ca67f68ffbb47af04ee 17676 libevent_2.1.12-stable-9.debian.tar.xz
b60fdcdb4d53852d04e34d1018ca72ac8e6bc542 9747 libevent_2.1.12-stable-9_amd64.buildinfo
Checksums-Sha256:
c32e58408339e71a7b4c186b9390404dd9a68af75b449178ae43cb447c69f145 2377 libevent_2.1.12-stable-9.dsc
92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb 1100847 libevent_2.1.12-stable.orig.tar.gz
615526dd4baa482f5540dea766c104996593140bff1c94dbb82b20915a03b252 17676 libevent_2.1.12-stable-9.debian.tar.xz
267967ecee19ceec0eab6b12929a7abb1ca622457b7c4cd48f4c4c5f99f6c7d2 9747 libevent_2.1.12-stable-9_amd64.buildinfo
Files:
29e8fea21b2112ef9ba37c9db0a3ad82 2377 libs optional libevent_2.1.12-stable-9.dsc
b5333f021f880fe76490d8a799cd79f4 1100847 libs optional libevent_2.1.12-stable.orig.tar.gz
57b8a5218563dbae5341a5c3c3bd5fb7 17676 libs optional libevent_2.1.12-stable-9.debian.tar.xz
b56f1e724e087de766564d6df7407248 9747 libs optional libevent_2.1.12-stable-9_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEhAWwL8wo75dEyPJT/oITlEC9IrkFAmTc01MACgkQ/oITlEC9
Irkaug//YlLJ0vACcd0Mj8jfyq+DWq5Uo9FlO9mgku6fPN2OQI1AXPCp9bMbTUae
mdDydBs9H4quKFp2i+v06vbBzRZ/tn94bQSfNL25CF8bvk76D+gQc1w7LUkQKHQN
+WeecYPkSkeDXEb88IKpeT1Oo1HBpxITPzua+8QHTbzf2HMUNzP9x+KoYy4O+3mf
eIhLzyhdRbZtD9pIWsgcYx+7ggD1mytcqc59467lw64VjnI+HcOpoXtm9kwQOVYA
LMwdJISB6rfNHLjnV1b/FKPyHp76E+7ej465HIiJtXJrnrLeDQi6GIp2EIPJFc+/
yanDd3uBFwsEHizTgw3Xcx2VULlQCDmpXvtDRE5aoBa36vDyZkov26BwggDZ59dL
kosDy+EvQO17XSXyxEx7ll9Nm4BypN+pF/dHp6HTTHtOy+P9SEKq5eVFo0boV0++
OLBwKck5tR8F2ak+kg39r60yyJM6OSXja3NSIZ4NntZE7Z+cEQi1O+rLkJxddT13
oInMKCmsoimnzWfHi1axHsgFblhV3mQ2uvsb4QJkfNaXQvLcjosGLInOI27/3cnb
LsJrlhqda+Url7htLc9ztQDafa3xBVXhkdgC6XVan0L/b6wy2oOMZ71vyNlFG/mc
zRdziV4wbUUBP3C/wNCSskLeIhsmurlRIYLu8xzF9V0EdxqIpCw=
=BYA2
-----END PGP SIGNATURE-----
Hi, I don't understand why it's safe to drop this symbol. I think the bug is same as https://bugs.debian.org/1023284, which needs workaround to keep the exported symbol with new glibc.
Shengjing Zhu, le ven. 08 sept. 2023 00:05:23 +0800, a ecrit: Because it's not exposed in the API to other packages: ./strlcpy-internal.h:#define strlcpy event_strlcpy_ is the only exposure, and that file is not installed, so there is no way for another package to produce a reference to it. I did check on the archive in the amd64 case, no package does. Yes, because evutil_secure_rng_add_bytes was really exposed in the API, in /usr/include/event2/util.h Samuel
Hello, Le 2023-09-07 12:05, Shengjing Zhu a écrit : According to libevent's source code, the function event_strlcpy_ isn't used anywhere in libevent, it's only exported, so the change may break other packages. Although as in #1023284, I'll ask the question upstream first to get their opinion on this. Thanks! /Nicolas
Thanks, that's indeed not possible to use.
Shengjing Zhu, le ven. 08 sept. 2023 13:39:10 +0800, a ecrit: That being said, like #1043184 you will need to make libevent-core-2.1-7 Break the previous versions of the other libevent packages, to make sure they get upgraded to the version that doesn't use event_strlcpy_ any more. Samuel
Le 2023-09-08 à 02 h 51, Samuel Thibault a écrit : in the d/control file will make the other packages rebuild then. /Nicolas
It looks like there is no need for Breaks. $ apt rdepends libevent-core-2.1-7 |grep libevent libevent-core-2.1-7 Depends: libevent-dev (= 2.1.12-stable-8) Depends: libevent-pthreads-2.1-7 (= 2.1.12-stable-8) Depends: libevent-openssl-2.1-7 (= 2.1.12-stable-8) Depends: libevent-extra-2.1-7 (= 2.1.12-stable-8) All these packages have strict equal dependency on libevent-core-2.1-7.