Date: Wed, 22 Jun 2022 16:16:01 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264828] science/py-tensorflow fails to build against Google protobuf: error: too many arguments to function call Message-ID: <bug-264828-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264828 Bug ID: 264828 Summary: science/py-tensorflow fails to build against Google protobuf: error: too many arguments to function call 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: cbraeunl@marco.de CC: amzo1337@gmail.com Flags: maintainer-feedback?(amzo1337@gmail.com) CC: amzo1337@gmail.com The following happens at two machines of mine: ERROR: /usr/ports/science/py-tensorflow/work-py38/tensorflow-1.15.5/tensorflow/cor= e/BUILD:2453:1: C++ compilation of rule '//tensorflow/core:lib_internal_impl' failed (Exit = 1) tensorflow/core/platform/env.cc:518:49: error: too many arguments to functi= on call, expected single argument 'total_bytes_limit', have 2 arguments coded_stream.SetTotalBytesLimit(1024LL << 20, 512LL << 20); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ bazel-out/freebsd-opt/bin/external/com_google_protobuf/google/protobuf/io/c= oded_stream.h:407:3: note: 'SetTotalBytesLimit' declared here void SetTotalBytesLimit(int total_bytes_limit); ^ 1 error generated. INFO: Elapsed time: 251.544s, Critical Path: 56.36s INFO: 150 processes: 150 local. FAILED: Build did NOT complete successfully *** Error code 1 Stop. make[1]: stopped in /usr/ports/science/py-tensorflow *** Error code 1 Stop. make: stopped in /usr/ports/science/py-tensorflow ERROR: /usr/ports/science/py-tensorflow/work-py38/tensorflow-1.15.5/tensorflow/cor= e/BUILD:2453:1: C++ compilation of rule '//tensorflow/core:lib_internal_impl' failed (Exit = 1) tensorflow/core/platform/env.cc:518:49: error: too many arguments to functi= on call, expected single argument 'total_bytes_limit', have 2 arguments coded_stream.SetTotalBytesLimit(1024LL << 20, 512LL << 20); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ =20=20=20 bazel-out/freebsd-opt/bin/external/com_google_protobuf/google/protobuf/io/c= oded_stream.h:407:3: note: 'SetTotalBytesLimit' declared here void SetTotalBytesLimit(int total_bytes_limit); ^ 1 error generated. INFO: Elapsed time: 251.544s, Critical Path: 56.36s INFO: 150 processes: 150 local. FAILED: Build did NOT complete successfully *** Error code 1 Stop. make[1]: stopped in /usr/ports/science/py-tensorflow *** Error code 1 Stop. make: stopped in /usr/ports/science/py-tensorflow --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264828-7788>