Created attachment 778805 [details] Build log gcc gives up with an error message: ./tensorflow/lite/schema/schema_generated.h:3382:32: error: no matching function for call to 'tflite::QuantizationParameters::VerifyField<uint8_t>(flatbuffers::Verifier&, tflite::QuantizationParameters::FlatBuffersVTableOffset) const' [...] /usr/include/flatbuffers/table.h:115:8: note: candidate expects 3 arguments, 2 provided (full build log is attached) The build succeeds after masking >=dev-libs/flatbuffers-2.0.1 (using dev-libs/flatbuffers-2.0.0-r1)
Created attachment 778808 [details] emerge --info output
See also: https://github.com/tensorflow/tensorflow/issues/55740
Will need to bring back older flatbuffers for now given TF isn't really flexible wrt its deps.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=574879c3f0e8fc498b503ca00d7ca5163dbcdfb3 commit 574879c3f0e8fc498b503ca00d7ca5163dbcdfb3 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-17 18:00:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-17 18:00:31 +0000 sci-libs/tensorflow: restrict flatbuffers dep Bug: https://bugs.gentoo.org/844196 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/tensorflow/tensorflow-2.5.0-r3.ebuild | 2 +- sci-libs/tensorflow/tensorflow-2.7.0.ebuild | 2 +- sci-libs/tensorflow/tensorflow-2.8.0.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db48002639cfc740f32be76605cc264dedd42213 commit db48002639cfc740f32be76605cc264dedd42213 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-17 17:58:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-17 17:58:56 +0000 dev-libs/flatbuffers: restore 2.0.0-r1 Needed for TF. This reverts commit d9104d1176f8add1d1a8a8fd13db0b51693537b9. Bug: https://bugs.gentoo.org/844196 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/flatbuffers/Manifest | 1 + dev-libs/flatbuffers/flatbuffers-2.0.0-r1.ebuild | 33 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922afe884c6c8cb91c38f71777a69891d29db9d8 commit 922afe884c6c8cb91c38f71777a69891d29db9d8 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-06-15 17:51:04 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-12-26 08:50:40 +0000 dev-libs/flatbuffers: Drop 2.0.0-r1 Bug: https://bugs.gentoo.org/844196 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-libs/flatbuffers/Manifest | 1 - dev-libs/flatbuffers/flatbuffers-2.0.0-r1.ebuild | 33 ------------------------ 2 files changed, 34 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57039ebc84c40eddf9f6a63afbbf86a8b3c42da commit f57039ebc84c40eddf9f6a63afbbf86a8b3c42da Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2024-02-24 12:47:06 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2024-02-24 12:47:06 +0000 sci-libs/tensorflow: treeclean Bug: https://bugs.gentoo.org/807625 Closes: https://bugs.gentoo.org/906609 Closes: https://bugs.gentoo.org/905673 Closes: https://bugs.gentoo.org/913731 Closes: https://bugs.gentoo.org/882617 Closes: https://bugs.gentoo.org/881445 Closes: https://bugs.gentoo.org/915621 Closes: https://bugs.gentoo.org/909002 Closes: https://bugs.gentoo.org/705712 Closes: https://bugs.gentoo.org/873295 Closes: https://bugs.gentoo.org/907031 Closes: https://bugs.gentoo.org/909003 Closes: https://bugs.gentoo.org/909767 Closes: https://bugs.gentoo.org/913534 Closes: https://bugs.gentoo.org/818766 Closes: https://bugs.gentoo.org/830167 Closes: https://bugs.gentoo.org/854354 Closes: https://bugs.gentoo.org/851573 Closes: https://bugs.gentoo.org/780468 Closes: https://bugs.gentoo.org/910029 Closes: https://bugs.gentoo.org/897228 Closes: https://bugs.gentoo.org/844196 Closes: https://bugs.gentoo.org/910030 Closes: https://bugs.gentoo.org/897230 Closes: https://bugs.gentoo.org/788064 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> profiles/package.mask | 1 - sci-libs/tensorflow/Manifest | 57 -- ...dd-rules-docker-http_archive-bazel-toolch.patch | 37 - ...emlib-Latest-absl-LTS-has-split-cord-libs.patch | 32 - ...Must-link-against-libm-for-round-and-log2.patch | 29 - ...ensorflow_cc-Add-systemlib-nsync-linkopts.patch | 35 - ...systemlib-Updates-for-Abseil-20220623-LTS.patch | 71 -- ...0006-systemlib-Update-targets-for-absl_py.patch | 24 - ...temlib-Add-well_known_types_py_pb2-target.patch | 28 - ...-0008-Relax-setup.py-version-requirements.patch | 86 -- ....0-0009-systemlib-update-targets-for-absl.patch | 365 -------- ...010-systemlib-fix-missing-osx-in-pybind11.patch | 25 - ...temlib-fix-missing-LICENSE-in-flatbuffers.patch | 25 - ...nstallation-remove-cp_local_config_python.patch | 68 -- ...2.15.0-0013-build-use-non-hermetic-python.patch | 990 --------------------- sci-libs/tensorflow/metadata.xml | 15 - sci-libs/tensorflow/tensorflow-2.15.0.ebuild | 464 ---------- 17 files changed, 2352 deletions(-)