public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] "The sound of Silence" by glibc
@ 2017-12-05 17:54 tuxic
  2017-12-06  6:55 ` [gentoo-user] " Nikos Chantziaras
  2017-12-06  7:10 ` [gentoo-user] " Raffaele Belardi
  0 siblings, 2 replies; 3+ messages in thread
From: tuxic @ 2017-12-05 17:54 UTC (permalink / raw
  To: Gentoo

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...

Cheers
Meino



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: "The sound of Silence" by glibc
  2017-12-05 17:54 [gentoo-user] "The sound of Silence" by glibc tuxic
@ 2017-12-06  6:55 ` Nikos Chantziaras
  2017-12-06  7:10 ` [gentoo-user] " Raffaele Belardi
  1 sibling, 0 replies; 3+ messages in thread
From: Nikos Chantziaras @ 2017-12-06  6:55 UTC (permalink / raw
  To: gentoo-user

On 05/12/17 19:54, tuxic@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

Use "emerge -a --resume --keep-going". This should continue the world 
rebuild, and will not abort the emerge when pulseaudio (or any other 
packages) fail to build. Then at the end, emerge will print a list of 
packages that failed to build. You should then fix those if you can. How 
urgent it is to fix them depends on the packages, of course.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] "The sound of Silence" by glibc
  2017-12-05 17:54 [gentoo-user] "The sound of Silence" by glibc tuxic
  2017-12-06  6:55 ` [gentoo-user] " Nikos Chantziaras
@ 2017-12-06  7:10 ` Raffaele Belardi
  1 sibling, 0 replies; 3+ messages in thread
From: Raffaele Belardi @ 2017-12-06  7:10 UTC (permalink / raw
  To: Gentoo

tuxic@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-06  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-05 17:54 [gentoo-user] "The sound of Silence" by glibc tuxic
2017-12-06  6:55 ` [gentoo-user] " Nikos Chantziaras
2017-12-06  7:10 ` [gentoo-user] " Raffaele Belardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox