From nobody Wed Mar 22 22:25:51 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 4PhjjX1RB1z41Nh0 for ; Wed, 22 Mar 2023 22:25:52 +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 4PhjjW5V9wz3h36 for ; Wed, 22 Mar 2023 22:25:51 +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=1679523951; 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=0yVvzL+hNUWSlSZ8l2XKtrMM6ZteKr+nue2ra83MZqs=; b=kC3KMoNz9q9QSjxcoW401JK38dqPn+rxfY5oIZtHHmMzqtx+7ALv5UZDPDZo7pSlj5wf/X uciI+tyaEuxwxqTJWQCJm2OauvVZHHXKZyRbWNq5wvGFvhxrV/1hA2TVZOQKd9ZZUEEQnO 7C50sQkZUjMay3bFmTE51cwpthEpADKEAmFpwBVAYgy5pm6CCahj+6xQKUgvtUxc7lBCFY WMh4WSY86N42vXDSXxJuQIXjhax6zWRXwg3nVFT9UlaS/7Kzx/jeFCmn8SM5fzHTIZvUsu zUM4R4P/R+cN/9DQI4Z4JJDZ6Jb+DueiasPh4sShtsX64mtoxIx0Vqhq2CYkcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679523951; a=rsa-sha256; cv=none; b=wWtM7xqKuVa83MnmbFtli84DdbVogln0YBXZG/E/HcIL+ecXlSEhrL452fLxVltcbo0I2G Puk0LHqBIDHwlFgfx7jJ6UNkNDqKWN7YMXdF03m7lvzvbBS4KDXPzAW21p8E5cDxNWL5ig MnmYW2zRcIKByCCK62ELiX19yA67vEOqr/nwh9WSNd11F5Vv99L0K0XbqW2SZKw+Bdz07+ R0HC6j6N3wC8A1LdkivR+PmVxIXOA6UCuqFbeFnJEhEbzTqM4CuEGXV0fQHbHaYZIPEuWR jCib8X/wyJwMInm3lmJWYyEm5fdaZSAnQWbvpRxyhRXJEfPtXKHwMWkQEXW1Lg== 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 4PhjjW4R5Pz1BM3 for ; Wed, 22 Mar 2023 22:25:51 +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 32MMPpWm071581 for ; Wed, 22 Mar 2023 22:25:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32MMPpaa071580 for ports-bugs@FreeBSD.org; Wed, 22 Mar 2023 22:25:51 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 270411] science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2 Date: Wed, 22 Mar 2023 22:25:51 +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: ivan@drm.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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 cc 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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270411 Bug ID: 270411 Summary: science/py-tensorflow:2.9.1 fix build on FreeBSD 13.2 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ivan@drm.su CC: amzo1337@gmail.com Flags: maintainer-feedback?(amzo1337@gmail.com) CC: amzo1337@gmail.com Hello! Here is an information for whom it can help and also for the port maintaine= r. To fix the build add path /usr/local/llvm-devel/lib/clang/16/include to /usr/ports/science/py-tensorflow/files/freebsd/cc_toolchain_config.bzl on line 228 So it looks now like this: cxx_builtin_include_directories =3D ["/usr/local/llvm-devel/lib/clang/16.0.= 0", "/usr/local/llvm-devel/lib/clang/16/include", "/usr/include/c++/v1", "/usr/local/include", "/usr/include"] That path contains builtin headers for native optimizations. I also did a hack for abseil library: fetch https://raw.githubusercontent.com/abseil/abseil-cpp/master/absl/meta/type_t= raits.h -o /usr/local/include/absl/meta/type_traits.h Because that file was almost completely rewritten by authors. And current p= orts version does not support clang 16. --=20 You are receiving this mail because: You are the assignee for the bug.=