From nobody Sat Feb 3 11:21:20 2024 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 4TRqw13HJlz59BsZ for ; Sat, 3 Feb 2024 11:21:21 +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 4TRqw10Xjlz4kPX for ; Sat, 3 Feb 2024 11:21:21 +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=1706959281; 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=uSIiFt2xbiB+E3mT1SCNb/MPm4Q4iHr4wf2z6Ga+/ao=; b=QdPnDLeAOAITLd33ZpHilbwFFvKPCfj+ZxzGKerRIAMqkG3wIE50Sz1NtdAX0TX08o0mKK bAGUWDPoshJV3pslSEiIiusbhwzVdbVNdIFw4VKKJ3Zttmnu9Uzmb3ycG9xPdBuup4TRTW JOtOxbnp59cSDJlqlMcVWQSyQe5OdNkyfXsdh9iVNdLBXYFXtxoL+0BIpv67WM86W8Eo3H 9vpGG37YuGqE0fdktLySE+v1TSt8VY4C6UFFbG1V9Xsu6yhRRmaManVcaKZHS2O5DulPmK mXauQWyCNF2XAaue567QIwwlL/6Tj4LiVNM0TBlvwJheUV5V8wNz8BYvy2FFag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706959281; a=rsa-sha256; cv=none; b=wurzdGJv5XKGHWP4DKWUqVTxGGibEpSF0zt1e358uulnO8m5wDQh4787MqqN+6tYnvalGC JZXl7JqNkuTxKVjRE+6adyrSlpqWNob00vT145RAp1q6zSwTQ/q59xzP8weEagh3ygrXTq 3lEuy/F0OfKCP/x54YK3YWopT7RuZq/w9d2K7IdHieicSVqyv65E6e2MwPp47uKiVnDUkd SuMmyKV0W9JgfvCjkOozTzbu5bm3lNTCPKuJqiRP2Eq6BNhsmxqfw+AWurELhX5w5s/gB3 8hPgb9Ij9Ho8F2TGXuJAp2Wyh1lp3LFy+bJWmQREWQtAcrPUTujxQ23gp77/FA== 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 4TRqw06kP8z19qK for ; Sat, 3 Feb 2024 11:21:20 +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 413BLKn2048060 for ; Sat, 3 Feb 2024 11:21:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 413BLKQG048059 for ports-bugs@FreeBSD.org; Sat, 3 Feb 2024 11:21:20 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 276800] science/py-tweedledum: Does not build with lang/gcc13: error: 'uint16_t' in namespace 'std' does not name a type; did you mean 'wint_t' Date: Sat, 03 Feb 2024 11:21:20 +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 Only Me X-Bugzilla-Who: salvadore@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 bug_severity priority component assigned_to reporter cc blocked 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=3D276800 Bug ID: 276800 Summary: science/py-tweedledum: Does not build with lang/gcc13: error: 'uint16_t' in namespace 'std' does not name a type; did you mean 'wint_t' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org CC: yuri@freebsd.org Blocks: 273397 CC: yuri@freebsd.org This bug report blocks the update of GCC_DEFAULT to 13. This webpage can he= lp finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html [ 17%] Building CXX object CMakeFiles/_tweedledum.dir/python/tweedledum/bindings.cpp.o In file included from /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:45, from /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/python/= tweedledum/bindings.h:7, from /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/python/= tweedledum/bindings.cpp:5: /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h:199:10: error: 'uint16_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 199 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h:202:10: error: 'uint16_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 202 | std::uint16_t nargs_kw_only =3D 0; | ^~~~~~~~ | wint_t /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h:205:10: error: 'uint16_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 205 | std::uint16_t nargs_pos_only =3D 0; | ^~~~~~~~ | wint_t /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h: In constructor 'pybind11::detail::function_call::function_call(const pybind11::detail::function_record&, pybind11::handle)': /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h:310:20: error: 'const struct pybind11::detail::function_record' has no member named 'nargs'; did you mean 'args'? 310 | args.reserve(f.nargs); | ^~~~~ | args /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h:311:28: error: 'const struct pybind11::detail::function_record' has no member named 'nargs'; did you mean 'args'? 311 | args_convert.reserve(f.nargs); | ^~~~~ | args /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h: In function 'void pybind11::detail::process_kw_only_arg(const pybind11::arg= &, function_record*)': /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h:382:10: error: 'struct pybind11::detail::function_record' has no member named 'nargs_kw_only' 382 | ++r->nargs_kw_only; | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h: In static member function 'static void pybind11::detail::process_attribute::init(const pybind11::pos_only&, pybind11::detail::function_record*)': /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h:439:12: error: 'struct pybind11::detail::function_record' has no member named 'nargs_pos_only' 439 | r->nargs_pos_only =3D static_cast(r->args.si= ze()); | ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/attr.h:439:46: error: 'uint16_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 439 | r->nargs_pos_only =3D static_cast(r->args.si= ze()); | ^~~~~~~~ | wint_t /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::cpp_function::initialize_generic(unique_function_record&&, const char*, const std::type_info* const*, pybind11::size_t)': /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:311:26: error: 'struct pybind11::detail::function_record' has no member named 'nargs_kw_only' 311 | if (rec->nargs_kw_only > 0 && arg_index + rec->nargs_kw_only =3D=3D args) | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:311:64: error: 'struct pybind11::detail::function_record' has no member named 'nargs_kw_only' 311 | if (rec->nargs_kw_only > 0 && arg_index + rec->nargs_kw_only =3D=3D args) |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:329:26: error: 'struct pybind11::detail::function_record' has no member named 'nargs_pos_only' 329 | if (rec->nargs_pos_only > 0 && (arg_index + 1) =3D= =3D rec->nargs_pos_only) | ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:329:72: error: 'struct pybind11::detail::function_record' has no member named 'nargs_pos_only' 329 | if (rec->nargs_pos_only > 0 && (arg_index + 1) =3D= =3D rec->nargs_pos_only) |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:371:14: error: 'struct pybind11::detail::function_record' has no member named 'narg= s'; did you mean 'args'? 371 | rec->nargs =3D (std::uint16_t) args; | ^~~~~ | args /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:371:28: error: 'uint16_t' is not a member of 'std'; did you mean 'wint_t'? 371 | rec->nargs =3D (std::uint16_t) args; | ^~~~~~~~ | wint_t /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h: In static member function 'static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)': /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:604:40: error: 'const struct pybind11::detail::function_record' has no member named 'nargs'; did you mean 'args'? 604 | size_t num_args =3D func.nargs; // Number of positional arguments that we need | ^~~~~ | args /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:607:51: error: 'const struct pybind11::detail::function_record' has no member named 'nargs_kw_only' 607 | size_t pos_args =3D num_args - func.nargs_kw_only; | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:657:40: error: 'const struct pybind11::detail::function_record' has no member named 'nargs_pos_only' 657 | if (args_copied < func.nargs_pos_only) { | ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:658:47: error: 'const struct pybind11::detail::function_record' has no member named 'nargs_pos_only' 658 | for (; args_copied < func.nargs_pos_only; ++args_copied) { | ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:672:44: error: 'const struct pybind11::detail::function_record' has no member named 'nargs_pos_only' 672 | if (args_copied < func.nargs_pos_only) | ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/externa= l/pybind11/include/pybind11/pybind11.h:760:53: error: 'const struct pybind11::detail::function_record' has no member named 'nargs'; did you mean 'args'? 760 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/_skbuil= d/freebsd-14.0-RELEASE-p2-i386-3.9/cmake-build *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/_skbuil= d/freebsd-14.0-RELEASE-p2-i386-3.9/cmake-build *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/_skbuil= d/freebsd-14.0-RELEASE-p2-i386-3.9/cmake-build Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 642, in setup cmkr.make(make_args, install_target=3Dcmake_install_target, env=3Denv) File "/usr/local/lib/python3.9/site-packages/skbuild/cmaker.py", line 679= , in make self.make_impl(clargs=3Dclargs, config=3Dconfig, source_dir=3Dsource_di= r, install_target=3Dinstall_target, env=3Denv) File "/usr/local/lib/python3.9/site-packages/skbuild/cmaker.py", line 710= , in make_impl raise SKBuildError( An error occurred while building with CMake. Command: /usr/local/bin/cmake --build . --target install --config Release -- Install target: install Source directory: /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1 Working directory: =20=20=20 /wrkdirs/usr/ports/science/py-tweedledum/work-py39/tweedledum-1.1.1/_skbuil= d/freebsd-14.0-RELEASE-p2-i386-3.9/cmake-build Please check the install target is valid and see CMake's output for more information. *** Error code 1 Stop. make: stopped in /usr/ports/science/py-tweedledum If the issue needs time to be fixed, please consider introduce USE_GCC=3D12= as a temporary solution. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273397 [Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc. --=20 You are receiving this mail because: You are the assignee for the bug.=