From nobody Tue Jun 28 18:59:19 2022 X-Original-To: multimedia@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 5D2A187FA1E for ; Tue, 28 Jun 2022 18:59:20 +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 4LXYmS1GcCz3k6r for ; Tue, 28 Jun 2022 18:59:20 +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 C57A1227C5 for ; Tue, 28 Jun 2022 18:59:19 +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 25SIxJsP016350 for ; Tue, 28 Jun 2022 18:59:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25SIxJWp016349 for multimedia@FreeBSD.org; Tue, 28 Jun 2022 18:59:19 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: multimedia@FreeBSD.org Subject: [Bug 259787] sched.h: unknown type name 'cpu_set_t' after 160b4b922b6021848b6b48afc894d16b879b7af2 Date: Tue, 28 Jun 2022 18:59:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kib@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656442760; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OV5Q0+NrgjL4LNsj824tdiUxQJ2bI4H/xAhQE1wBZcI=; b=Y2DrHvpEhSTp8YVwN6Z4ZUva8NUB7IElaa8zkXOzjmI08DUFj6cumGkaY5LOSblbAW4smm QyzwYTQN/cy8LLF9tHbbQJc9enrW7sT6Shs+HFypZQwJaPd8ORYY2/gsLhQzNF4lsyNgtg MP/WcGlsP9gwfWlsgkpqRQumHqNwW7J70dA4ojTMywV/rFWVqeED8tqtXeGImEvu5PgZKy 81Of+pLyLVgHFEjOlrY0Ph9+FAelGusXkY10c+xuRS2fIJscurrOEloBgWjZnJjMosOvfF bNjGxJDRRfOuJ26Udw0KS0f7oYr/WhVB8nW+aN7RiRmPj84UFu0nu8aqwquGUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656442760; a=rsa-sha256; cv=none; b=m/ysYO5NznmZUHvaLnJUHqcSNF8qBR3ZWFVh0Uo+30Cm0ZAeQSz1Knka0HwmWaDBNJtzc2 9mRZLBoXUXBMLpBaQBUD3Q00nSZTY5sRIoXUL2vX/bJa7qzZ+2CldNdXNtCcyEGgVOdPPv 2D73AnTtsLK3g3u3dCX5eXDTn5OJca4N3bc7SXsNkiHks2NGTyNCJ3A0InGmTzv3c4kJVX jtyyWhl++hv5TYqg2apE3Qm+xXerVS9DzE3zOR7pIjzIBdKD5mTL4V8czJwhYuXYoYAiOd hdz5gi+WPpb+FBqAh/b2zmNMsBLf1Kis6Gq3ek6A1eV4jDUYXy5tERfKw3Fmrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259787 --- Comment #47 from Stefan E=C3=9Fer --- (In reply to Eugene Grosbein from comment #44) Thank you for providing the build log and options. I have just rebuilt squid-5.6 on -CURRENT/amd64 with default options and th= en with the options provided in comment 46. Both builds succeeded without issue, as did the "poudriere testport" builds= in=20 my 3 test jails: amd64/12.3 amd64/13.1 i386/13.0 The 12.3 and 13.0 releases did not have the GLIBC compatible CPU_SET functi= ons, 13.1 and -CURRENT do. I'm using this mix of releases in order to cover different compilers and system headers of the currently supported releases. There are packages of squid-5.6 for many releases and architectures, see: https://www.freshports.org/www/squid/ And this is near the end of the successful "poudriere testport" run on amd/13.1: > gmake[3]: Leaving directory '/wrkdirs/usr/ports/www/squid/work/squid-5.6' > gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/squid/work/squid-5.6' > gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/squid/work/squid-5.6' > install -m 0644 /wrkdirs/usr/ports/www/squid/work/squid-5.6/src/auth/bas= ic/DB/passwd.sql /wrkdirs/usr/ports/www/squid/work/stage/usr/local/share/e= xamples/squid > (cd /wrkdirs/usr/ports/www/squid/work/squid-5.6 && install -m 0644 QUICK= START README RELEASENOTES.html doc/debug-sections.txt /wrkdirs/usr/ports/ww= w/squid/work/stage/usr/local/share/doc/squid) > =3D=3D=3D=3D> Compressing man pages (compress-man) > =3D=3D=3D> Staging rc.d startup script(s) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > =3D=3D=3D=3D> Running Q/A tests (stage-qa) > =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) > =3D=3D=3D> Parsing plist > =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist > =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR > =3D=3D=3D> No pkg-plist issues found (check-plist) > =3D>> Checking for staging violations... done > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D env: DEVELOPER_MODE=3Dyes PACKAGES=3D/tmp/pkgs PKGREPOSIT= ORY=3D/tmp/pkgs PKGLATESTREPOSITORY=3D/tmp/pkgs/Latest 'PKG_NOTES=3Dbuild_t= imestamp built_by' 'PKG_NOTE_build_timestamp=3D2022-06-28T18:09:38+0000' 'P= KG_NOTE_built_by=3Dpoudriere-git-3.3.99.20220617' STRICT_DEPENDS=3Dyes USER= =3Droot UID=3D0 GID=3D0 > =3D=3D=3D> Building package for squid-5.6 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > =3D>> Recording filesystem state for preinst... done > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D env: DEVELOPER_MODE=3Dyes STRICT_DEPENDS=3Dyes USER=3Droo= t UID=3D0 GID=3D0 > =3D=3D=3D> Installing for squid-5.6 > =3D=3D=3D> Checking if squid is already installed The build log on other architectures and releases differs in the order of execution of the compiler due to the parallel make, but not in other aspect= s. One thing that I noticed is that the compiler is invoked with different opt= ions in my successful tests and your log file. Your failed compilation: > depbase=3D`echo CpuAffinity.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > c++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=3D\"/usr/local/etc/squid/squid.= conf\" -DDEFAULT_SQUID_DATA_DIR=3D\"/usr/local/etc/squid\" -DDEFAULT_SQUID_= CONFIG_DIR=3D\"/usr/local/etc/squid\" -I.. -I../include -I../lib -I../src= -I../include -I../libltdl -I../src -I../libltdl -isystem /usr/local/inc= lude -D_REENTRANT -O2 -pipe -fstack-protector-strong -isystem /usr/local/in= clude -fno-strict-aliasing -isystem /usr/local/include -I/usr/local/inclu= de -MT CpuAffinity.o -MD -MP -MF $depbase.Tpo -c -o CpuAffinity.o CpuAffini= ty.cc &&\ > mv -f $depbase.Tpo $depbase.Po > In file included from CpuAffinity.cc:15: > In file included from ../src/CpuAffinitySet.h:12: > ../compat/cpu.h:42:31: error: unknown type name 'cpu_set_t'; did you mean= 'cpusetid_t'? > inline void CpuSet(int, const cpu_set_t *) {} > ^~~~~~~~~ > cpusetid_t > /usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here > typedef __cpusetid_t cpusetid_t; > ^ My successful invocation explicitly includes /usr/include: > depbase=3D`echo CpuAffinity.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > c++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=3D\"/usr/local/etc/squid/squid.= conf\" -DDEFAULT_SQUID_DATA_DIR=3D\"/usr/local/etc/squid\" -DDEFAULT_SQUID_= CONFIG_DIR=3D\"/usr/local/etc/squid\" -I.. -I../include -I../lib -I../src= -I../include -I/usr/include -I/usr/include -I../libltdl -I../src -I../l= ibltdl -I/usr/include -I/usr/include -I/usr/include -isystem /usr/local/i= nclude -D_REENTRANT -I/usr/include -I/usr/include -O2 -pipe -fstack-protect= or-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/l= ocal/include -I/usr/local/include -MT CpuAffinity.o -MD -MP -MF $depbase.T= po -c -o CpuAffinity.o CpuAffinity.cc &&\ > mv -f $depbase.Tpo $depbase.Po That's the only difference that I could spot. Since this issue does not seem to exist on the official package builders and has not been reported by anybody else, it seems mostly likely that there is= a local issue on your build host ... --=20 You are receiving this mail because: You are on the CC list for the bug.=