Re: debuginfod.artixlinux.org isn't updated with the repository (valgrind)
Reply #1 –
From what I gather, 2.36-7 doesn't have a -debug package.
commit
- options=(debug staticlibs !lto)
+ options=(staticlibs !lto)
Now, I tried putting the debug back into it, but makepkg fails (with and without debug too).That was just /etc/makepkg.conf being out of date
In file included from <command-line>:
syslog.c: In function ‘__vsyslog_internal’:
syslog.c:94:30: error: inlining failed in call to ‘always_inline’ ‘syslog’: function not inlinable
94 | ldbl_strong_alias (__syslog, syslog)
| ^~~~~~
./../include/libc-symbols.h:143:26: note: in definition of macro ‘_strong_alias’
143 | extern __typeof (name) aliasname __attribute__ ((alias (#name))) \
| ^~~~~~~~~
../sysdeps/generic/math_ldbl_opt.h:14:44: note: in expansion of macro ‘strong_alias’
14 | #define ldbl_strong_alias(name, aliasname) strong_alias (name, aliasname)
| ^~~~~~~~~~~~
syslog.c:94:1: note: in expansion of macro ‘ldbl_strong_alias’
94 | ldbl_strong_alias (__syslog, syslog)
| ^~~~~~~~~~~~~~~~~
syslog.c:134:7: note: called from here
134 | syslog (INTERNALLOG, "syslog: unknown facility/priority: %x", pri);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
And pointers on how to fix this are appreciated.
After mv /etc/makepkg.conf.pacnew /etc/makepkg.conf the package builds but fails on check due to resolv/tst-resolv-edns.
Building with --nocheck skips that and produces a glibc and glibc-debug package. And of course this doesn't build the lib32-glibc-debug package.
So in short, to build glibc-debug:
1. clone https://gitea.artixlinux.org/pkgbuild/main.git
2. either edit glibc/x86_64/core/PKGBUILD options to include debug, or /etc/makepkg.conf from !debug to debug
3. makepkg --nocheck