[Bug 261428] multimedia/pipewire: Fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Jan 2022 13:46:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261428

            Bug ID: 261428
           Summary: multimedia/pipewire: Fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: arrowd@FreeBSD.org
          Reporter: iron.udjin@gmail.com
             Flags: maintainer-feedback?(arrowd@FreeBSD.org)
          Assignee: arrowd@FreeBSD.org
 Attachment #231271 text/plain
         mime type:

Created attachment 231271
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231271&action=edit
build log

OS: FreeBSD 13-STABLE stable/13-n249132-70201cc45dc7

Options        :
        GSTREAMER      : on
        MANPAGES       : off
        MEDIASESSION   : on
        PULSEAUDIO     : on
        SDL            : on
        VULKAN         : on

After update pipewire to 0.3.43 it fails to build:

[ 31% 184/589] cc -Ispa/tests/spa-stress-ringbuffer.p -Ispa/tests
-I../spa/tests -Ispa/include -I../spa/include -I/usr/local/include
-fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare -Wpointer-arith
-Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough
-Wmissing-braces -Wtype-limits -Wvariadic-macros
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic
-Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -O2 -march=native
-mtune=native -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o -MF
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o.d -o
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o -c
../spa/tests/stress-ringbuffer.c
FAILED: spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o 
cc -Ispa/tests/spa-stress-ringbuffer.p -Ispa/tests -I../spa/tests -Ispa/include
-I../spa/include -I/usr/local/include -fno-color-diagnostics
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3
-fvisibility=hidden -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat
-Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits
-Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-pedantic -Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe -O2
-march=native -mtune=native -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIE
-pthread -MD -MQ spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o -MF
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o.d -o
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o -c
../spa/tests/stress-ringbuffer.c
../spa/tests/stress-ringbuffer.c:17:12: error: static declaration of
'sched_getcpu' follows non-static declaration
static int sched_getcpu(void) { return -1; };
           ^
/usr/include/sched.h:45:5: note: previous declaration is here
int sched_getcpu(void);
    ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.