From nobody Thu Nov 30 03:20:28 2023 X-Original-To: ports-bugs@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 4SghK91BD5z52fdX for ; Thu, 30 Nov 2023 03:20:29 +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 4SghK908Vnz3g3Y for ; Thu, 30 Nov 2023 03:20:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701314429; 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; bh=X0N2oTIkWLer09qK2bRhJ9UDaiclDRvZzkbOAJcOy0o=; b=OFDoSYreBabgekRmL7e/MZJqB6riYL80KZNIiRyXO4E6S106vruXMHdSU+QCsoZ+rr7zon CgHpR1YocGWVB+fxB+FhbdHuQDQqe6T77PfPqKU/y5PWAn/svWf/AaHS9EzspsiCCl9I4b lfOd8yfeLaPtJuYiJY5HkXt+T95cipjT077vU2GazvSW5mxvHNjKYcaHJmg3NfSycCvMRb tpop5Uv/y4zjObM7r+PEtH0snC5tAvUSQecd2M35tQEANppHKAPwLkYIBhbB0xvvXz0+1L q2yX8i2oC4GA2x3AJWfDNPYAVOLTwkNUoQH8fK83EvLi2F3VRg+coP7MLkUG5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701314429; a=rsa-sha256; cv=none; b=g8RoKmIz7040zkPX0r0zbc0aU3b0xKfCyW3zu9/IcGAcoC+w69t/jw83+ptJcBf8n8+uEX EfFAP0cIs8CzO+/AaPsIdwZMVzI1OMEHmhzQosS26vKZQ/ZtiKd5psFsaejdblfToDp/OW MtLTjpRkChK9TGvcPTD6JjFEv0d+KqI83oHVte8qHUnRWxaDV4046DY4D9R/qlExLoadR/ 1mDKEbbgvaNHWyWmAYaBbRavTGNlaHaDyc/wBzY6ElLpiCB5OCHlOiESvUsIT6bFrfi56g XhoO4mOM6tYRV9vxqwrwO5FMGRR4L7FvgGEPY3OGEtWDJO5V84kqf9voY+e5rw== 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 4SghK86Nf1zYFX for ; Thu, 30 Nov 2023 03:20:28 +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 3AU3KS6V094102 for ; Thu, 30 Nov 2023 03:20:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AU3KSfw094101 for ports-bugs@FreeBSD.org; Thu, 30 Nov 2023 03:20:28 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: ports-bugs@FreeBSD.org Subject: [Bug 275443] graphics/mesa-dri: tries to use devel/elfutils API against base elftoolchain ABI Date: Thu, 30 Nov 2023 03:20:28 +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: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc blocked attachments.created 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275443 Bug ID: 275443 Summary: graphics/mesa-dri: tries to use devel/elfutils API against base elftoolchain ABI Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: regression Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: cem@freebsd.org, x11@FreeBSD.org Blocks: 273803 CC: cem@freebsd.org, x11@FreeBSD.org Created attachment 246680 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246680&action= =3Dedit workaround (prefer elfutils) Mixing ABIs between different projects with compatible API can lead to instability or crashes. While -Dlibelf=3Ddisabled prevents Meson (pkg-confi= g) from using devel/elfutils other dependencies add -I/usr/local/include which= end up overriding C preprocessor search order. $ pkg install elfutils $ echo '#error API trap' >>/usr/local/include/libelf.h $ make clean all -C graphics/mesa-dri [...] FAILED: src/amd/common/libamd_common.a.p/ac_rtld.c.o In file included from ../src/amd/common/ac_rtld.c:32: In file included from /usr/local/include/gelf.h:32: /usr/local/include/libelf.h:523:2: error: API trap #error API trap ^ In file included from ../src/amd/common/ac_rtld.c:33: /usr/local/include/libelf.h:523:2: error: API trap #error API trap ^ 2 errors generated. See also PKG_CONFIG_SYSTEM_INCLUDE_PATH in pkgconf(1) manpage https://wiki.freebsd.org/WarnerLosh/UsrLocal#Include_paths https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273803 [Bug 273803] graphics/mesa-dri: mesa-dri is missing a required shared libra= ry: libelf.so.1 --=20 You are receiving this mail because: You are the assignee for the bug.=