From nobody Mon Apr 13 17:46:07 2026 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 4fvZZm0TFRz6ZTMY for ; Mon, 13 Apr 2026 17:46:08 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fvZZl6vMXz3Tg5 for ; Mon, 13 Apr 2026 17:46:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776102368; 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=koqjtRQvTTdV5ajhS4B6JtPEcHekSdxgbd1p6Ii49s4=; b=eDThN6bgj2WNKIMNp4g6yzUZ38Ig4yw0mWmLMjPc4HJNY2fqPK6mId3K530W10dZAwRwdc ZGjl1NCugukw6zrqs0KOQNAm1C7TnLAM5nj/nl8YhNWl1PTnDsPp3MsWAPr5Z4cxqt+/Ap g3ChnpEznlb1mdg+68knYoSbjC/HzzGf4Qf2CdDhOi3PZNsVazdkg4evwnmMpm7kIJ7G0U 1SQpq6JgK3ZoLZ366AhsGUMcAB5z+ThVsNoDqZs5tRwnjDhzDiHxndGH2ZleKVWOkLAZxC sFPHk+ymMHd7dTCuA+IhvEDm/dLHqtPmxlg73Bs3ZAxve2cAstaCEmSsnsjnnw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776102368; a=rsa-sha256; cv=none; b=sDyUf5teEXWE+iJnZdf+HluV0u2W1A/qXEVnStwQ7hJYOGKe0boicTa7G8NvGVZQIESYpU BsNrz3xI7t3ubGu9SNG5/qC/ZsPIQaOQzzh/oP8G1Os+SgzMIQoQLDgMDbbeigVbl56vjM Jru5BVWcPhpj/MGwMTM/IIeq4Ej6VZwtzdCSNroAHMcFBZozPZLfccNao3qd2enFTNrtQf hWL6z+unzRQ8xUojjk5OSTcNbsy4PdBJnG3U92Gf3zPT4058vm3pDKGqJizNSiVz+8lXox YnQkrYX9ki7qv1puhNXsHRt01h3LuvC1ia/jC9zvXrnMFuimbh7HsyEoXe/R0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776102368; 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=koqjtRQvTTdV5ajhS4B6JtPEcHekSdxgbd1p6Ii49s4=; b=iYVOIZWrMO3GEQ81kEPayRLLngGYv9hTc77EcDoGWvZY0BxiQIZtstMPwoe0pYFs8fW/8B 6fX2gWa5/jQunImNg64+1zfp6pyq4DhRBAJUD9CFkhVnLG8ghWikwcIs42tU/IbYdGDCfz mqBj7RKTV/TYiGymbik/XzPNXhT4viT4Jrzl4cIW4XHpXxAipILQYGjgfWuF8F9i7FCOuW GSnGikkgGbff4GeCqhhDH9Z6jwv6NoUfNEDPxkasOFOxMvt869fI2pq2X53K449tiltqB+ a5wPo4GY7LYA+6Fjnp2Z30WNuqebQdyb5mv9GTl0/rpGqPgXLlriuU47B78G4A== 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 4fvZZl6BPMz1CZK for ; Mon, 13 Apr 2026 17:46:07 +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 63DHk7pf023324 for ; Mon, 13 Apr 2026 17:46:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63DHk7G9023323 for ports-bugs@FreeBSD.org; Mon, 13 Apr 2026 17:46:07 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 294485] devel/pybind11: bad pkg-config (.pc) file and duplication with devel/py-pybind11 Date: Mon, 13 Apr 2026 17:46:07 +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 Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294485 Bug ID: 294485 Summary: devel/pybind11: bad pkg-config (.pc) file and duplication with devel/py-pybind11 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: jcfyecrayz@liamekaens.com Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org The pybind11.pc file that is installed is bad: - Installed in /share/pkgconfig instead of the standard freebsd location: /libdata/pkgconfig - The prefix value is bad (empty) - Conflicts with bin/pybind11-config (from devel/py-pybind11) result in confusion about which include paths should be used. For example, when both devel/py-pybind11 and devel/pybind11 are installed: - py-scipy's meson.build has: - pybind11_dep =3D dependency('pybind11', version: '>=3D2.13.2') - 'pkg-config --cflags pybind11' when devel/pybind11 is preferred over bin/pybind11-config. Currently that provides a bad set of -I flags because = of the bad .pc file. - But if only devel/py-pybind11 is installed, the -I flags produced by bin/pybind11-config are different (and they are not incorrect - although re= ad below about duplication of .h files) - meson's dependency() function will use the results from pkg-config --cflags first, resulting in a different set of -I flags than the set from pybind11-config. Currently this causes science/py-scipy 1.10.2 to fail to = find pybind11.h because of the bad pybind11.pc. Second, there is duplication between devel/pybind11 and devel/py-pybind11.= =20 They both install the same .h files in a include/pybind11/ directory. The former in /include. The latter in /pybind11/include/pybind11. Similarly, they both install .cmake files - and py-pybind11 also installs a .pc file as it turns= out (that is buried under site-packages, so will never be found by pkgconf by default, but it's prefix value is not empty). There may be a case for having just the header files for use by c++ projects (and probably the .cmake files). If it makes little sense to have a pkg with just header files and not /site-packages/ then maybe devel/pybind11 and devel/py-pybind11 sho= uld just be combined. But maybe there is a case for just having the /site-packages in one package (probably for py ports that would want it as a RUN_DEPEND) and a separate port with just the .h files (as a BUILD_DEPEND). If separate ports still make sense (really only if there is a run-time need= for the site-packages/pybind11/*.py files - it's not clear to me these are not = ONLY useful at build-time - apologies for the possibly confusing double negative= ), I am not sure which one should have the .cmake files - probably pybind11 as a BUILD_DEPEND since there's no need for .cmake files in a run-time context. = And keeping the .cmake and .h files out of a pure python package allows for concurrent installs of different python version for the py-pybind11 package. Either way (combined port or separate ports), pulling the cmake files and .h and .pc files out from under /site-packages into /include a= nd /share/cmake is probably best, although I don't know how much the pybind11 build process makes that harder to do. And fixing the .pc file, of course. --=20 You are receiving this mail because: You are the assignee for the bug.=