tu...@posteo.de wrote: > Hi, > > emerge -e @world installs glibc > > On my system this kills the build of pulseaudio...which in turn make > my linux PC one of the most quiet ones...sigh: > >>From the compilation output of pulseaudio: > Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations > -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing > -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common > -fdiagnostics-show-option -fdiagnostics-color=auto -c -o > pulsecore/libpulsecommon_11.0_la-socket-util.lo `test -f > 'pulsecore/socket-util.c' || echo > '/var/tmp/portage/media-sound/pulseaudio-11.0/work/pulseaudio-11.0/src/'`pulsecore/socket-util.c > In file included from > /var/tmp/portage/media-sound/pulseaudio-11.0/work/pulseaudio-11.0/src/pulsecore/shm.c:48:0: > /var/tmp/portage/media-sound/pulseaudio-11.0/work/pulseaudio-11.0/src/pulsecore/memfd-wrappers.h:36:19: > error: static declaration of ‘memfd_create’ follows non-static declaration > static inline int memfd_create(const char *name, unsigned int flags) { > ^~~~~~~~~~~~ > In file included from /usr/include/bits/mman-linux.h:115:0, > from /usr/include/bits/mman.h:45, > from /usr/include/sys/mman.h:41, > from > /var/tmp/portage/media-sound/pulseaudio-11.0/work/pulseaudio-11.0/src/pulsecore/shm.c:37: > /usr/include/bits/mman-shared.h:46:5: note: previous declaration of > ‘memfd_create’ was here > int memfd_create (const char *__name, unsigned int __flags) __THROW; > ^~~~~~~~~~~~ > make[3]: *** [Makefile:7991: pulsecore/libpulsecommon_11.0_la-shm.lo] Error 1 > make[3]: *** Waiting for unfinished jobs.... > libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. > -I/var/tmp/portage/media-sound/pulseaudio-11.0/work/pulseaudio-11.0/src -I.. > -I/var/tmp/portage/media-sound/pulseaudio-11.0/work/pulseaudio-11.0/src > -I/var/tmp/portage/media-sound/pulseaudio-11.0/work/pulseaudio-11.0/src/modules > -I../src/modules -DPA_ALSA_PATHS > > > -rw-r--r-- 1 root root 1872 2017-12-05 17:30 mman.h > -rw-r--r-- 1 root root 4802 2017-12-05 17:30 mman-linux.h > -rw-r--r-- 1 root root 2730 2017-12-05 17:30 mman-shared.h > > include/bits>qfile /usr/include/bits/mman.h > sys-libs/glibc (/usr/include/bits/mman.h) > > > How can I get out of this...
Looks like pulseaudio is redefining a glibc function and it is doing it in the wrong way by adding the static keyword. To me it looks like a pulseaudio problem, not glibc. Not much you could do except maybe try to comment out the invalid or outdated 'static' declaration from the pulseaudio's memfd-wrappers.h, but that will probably bring out other problems. Better open a bug upstream. There's a pulseaudio-11.1 version in portage, have you tried that already? raffaele