acedb FTBFS against glibc 2.38

Bug #2044385 reported by Olivier Gayot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acedb (Debian)
Fix Released
Unknown
acedb (Ubuntu)
Fix Released
Undecided
Olivier Gayot

Bug Description

../wh/utils.h:34:7: error: conflicting types for ‘strcasestr’; have ‘char *(char *, char *)’
   34 | char *strcasestr (char *str1, char *str2);
      | ^~~~~~~~~~
In file included from ../wh/mystdlib.h:227,
                 from ../wh/regular.h:51,
                 from utils.c:37:
/usr/include/string.h:380:14: note: previous declaration of ‘strcasestr’ with type ‘char *(const char *, const char *)’
  380 | extern char *strcasestr (const char *__haystack, const char *__needle)
      | ^~~~~~~~~~
utils.c:778:7: error: conflicting types for ‘strcasestr’; have ‘char *(char *, char *)’
  778 | char *strcasestr(char *str1, char *str2)
      | ^~~~~~~~~~
/usr/include/string.h:380:14: note: previous declaration of ‘strcasestr’ with type ‘char *(const char *, const char *)’
  380 | extern char *strcasestr (const char *__haystack, const char *__needle)

In earlier glibc versions, strcasestr was only defined when building with _GNU_SOURCE.
Starting with glibc 2.38, it is available by default.

Olivier Gayot (ogayot)
Changed in acedb (Ubuntu):
assignee: nobody → Olivier Gayot (ogayot)
status: New → In Progress
Revision history for this message
Olivier Gayot (ogayot) wrote :
Changed in acedb (Ubuntu):
status: In Progress → New
Changed in acedb (Debian):
status: Unknown → New
Changed in acedb (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package acedb - 4.9.39+dfsg.02-9

---------------
acedb (4.9.39+dfsg.02-9) unstable; urgency=medium

  [ Olivier Gayot ]
  * Build against glibc 2.38
    Closes: #1056591 (LP: #2044385)

  [ Andreas Tille ]
  Rely on pre-initialized dpkg-architecture variables.

 -- Andreas Tille <email address hidden> Fri, 24 Nov 2023 19:48:00 +0100

Changed in acedb (Ubuntu):
status: New → Fix Released
Revision history for this message
Olivier Gayot (ogayot) wrote (last edit ):

Unsubscribing sponsors since the patch was accepted in Debian and the package autosynced.

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.