FTBFS due new glibc and strlcpy

Bug #2055399 reported by Danilo Egea Gondolfo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
android-platform-art (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This package had it's own implementation of strlcpy. glibc added it in 2.38 and now it's failing to build.

In file included from runtime/debugger.cc:37:
libartbase/base/strlcpy.h:31:22: error: static declaration of 'strlcpy' follows non-static declaration
static inline size_t strlcpy(char* dst, const char* src, size_t size) {
                     ^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:150:8: note: previous definition is here
__NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
       ^

Related to https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2035195

Related branches

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package android-platform-art - 14.0.0+r15-1ubuntu1

---------------
android-platform-art (14.0.0+r15-1ubuntu1) noble; urgency=medium

  * debian/patches/fix-ftbfs-strlcpy-glibc.patch (LP: #2055399):
    Don't build the custom strlcpy function with newer glibc. Since version
    2.38, glibc has its own strlcpy.

 -- Danilo Egea Gondolfo <email address hidden> Thu, 29 Feb 2024 10:17:20 +0000

Changed in android-platform-art (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.