"!HAVE_STRLCPY" will fail is strlcpy exists
Bug #2036822 reported by
Sergio Durigan Junior
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-cacher-ng (Debian) |
New
|
Unknown
|
|||
apt-cacher-ng (Ubuntu) |
Fix Released
|
High
|
Sergio Durigan Junior |
Bug Description
Ubuntu Mantic (current development version) already has glibc 2.38 which
provides its own version of strlcpy. This makes cmake define
HAVE_STRLCPY with an empty value, which in turn causes apt-cacher-ng to
FTBFS due to:
--8<---
/<<PKGBUILDDIR
326 | #if !defined(
| ^
--8<---
Changed in apt-cacher-ng (Debian): | |
status: | Unknown → New |
To post a comment you must log in.
This bug was fixed in the package apt-cacher-ng - 3.7.4-1ubuntu1
---------------
apt-cacher-ng (3.7.4-1ubuntu1) mantic; urgency=medium
* d/p/0001- Adjust- HAVE_STRLCPY- macro-check. patch:
Adjust check of "!HAVE_STRLCPY" for when strlcpy actually
exists. (LP: #2036822)
-- Sergio Durigan Junior <email address hidden> Wed, 20 Sep 2023 16:55:51 -0400