From nobody Thu Nov 18 20:19:05 2021 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DC79B188D385 for ; Thu, 18 Nov 2021 20:19:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HwB2x5pgPz4hxy for ; Thu, 18 Nov 2021 20:19:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A7F6D1B58C for ; Thu, 18 Nov 2021 20:19:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1AIKJ4Fj040868 for ; Thu, 18 Nov 2021 20:19:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AIKJ4lL040867 for desktop@FreeBSD.org; Thu, 18 Nov 2021 20:19:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: maintainer-feedback requested: [Bug 259925] graphics/cairo: rror: implicit declaration of function 'sched_getaffinity' is invalid in C99 Date: Thu, 18 Nov 2021 20:19:05 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-desktop (Team) for maintainer-feedback: Bug 259925: graphics/cairo: rror: implicit declaration of function 'sched_getaffinity' is invalid in C99 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259925 --- Description --- On CURRENT, FreeBSD 14.0-CURRENT #6 main-n250822-4fdc5b8494b4: Thu Nov 18 06:00:15 CET 2021 amd64, port graphics/cairo fails to build to to the error shown below: [...] /bin/sh ../libtool --tag=3DCC --mode=3Dlink cc -O2 -pipe=20 -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o libcairoperf.la cairo-perf.lo cairo-perf-report.lo cairo-stats.lo cairo-time.lo -lrt -lm libtool: link: ar cru .libs/libcairoperf.a .libs/cairo-perf.o .libs/cairo-perf-report.o .libs/cairo-stats.o .libs/cairo-time.o=20 libtool: link: ranlib .libs/libcairoperf.a libtool: link: ( cd ".libs" && rm -f "libcairoperf.la" && ln -s "../libcairoperf.la" "libcairoperf.la" ) --- cairo-analyse-trace --- --- cairo-perf-micro.o --- cairo-perf-micro.c:418:5: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'? cpu_set_t affinity; ^~~~~~~~~ cpusetid_t /usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here typedef __cpusetid_t cpusetid_t; ^ cairo-perf-micro.c:421:9: error: implicit declaration of function 'sched_getaffinity' is invalid in C99 [-Werror,-Wimplicit-function-declarat= ion] if (sched_getaffinity(0, sizeof(affinity), &affinity)) { ^ cairo-perf-micro.c:426:35: error: use of undeclared identifier 'CPU_SETSIZE' for(i =3D 0, cpu_count =3D 0; i < CPU_SETSIZE; ++i) { ^ cairo-perf-micro.c:427:6: error: implicit declaration of function 'CPU_ISSE= T' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (CPU_ISSET(i, &affinity)) ^ --- cairo-analyse-trace ---