Opened 3 years ago
Closed 3 years ago
#18368 closed defect (fixed)
alsa-utils-1.29 FTBFS with glibc-2.38
| Reported by: | Joe Locash | Owned by: | Xi Ruoyao |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.0 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
Upstream commit that fixes the issue:
https://github.com/alsa-project/alsa-utils/commit/d6a71bfbde9e1710743d3a446c6ea3b41c45234e
Change History (3)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
We don't need the fancy GLIBC_PREREQ thing because BLFS instruction is never guaranteed to be compatible with earlier version of dependencies. We only need to remove the strlcpy in alsa-utils and then the glibc version will be used.
comment:3 by , 3 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed at r11.3-1240-g2ef502d007.
Note:
See TracTickets
for help on using tickets.

Could be implemented with a sed:
sed -e '/size_t strlcpy/i#if !(__GLIBC_PREREQ(2, 38))' \ -e '/#endif \/\* __GLIBC__ \*\//i#endif /* !(__GLIBC_PREREQ(2, 38)) */' \ -i alsactl/init_sysdeps.c