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 E9E8A188D0E7 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 4HwB2x68Kbz4j13 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 AF55B1B68E 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 1AIKJ5nY040878 for ; Thu, 18 Nov 2021 20:19:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AIKJ5fs040877 for desktop@FreeBSD.org; Thu, 18 Nov 2021 20:19:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [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-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259925 Bug ID: 259925 Summary: graphics/cairo: rror: implicit declaration of function 'sched_getaffinity' is invalid in C99 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(desktop@FreeBSD.org) Assignee: desktop@FreeBSD.org 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 --- --=20 You are receiving this mail because: You are the assignee for the bug.=