Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56118 - [tensorflow] broken library / incomplete package

Attached to Project: Community Packages
Opened by Alexander Sago (cagelight) - Wednesday, 25 October 2017, 22:49 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 30 October 2017, 14:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
libtensorflow.so gives linker errors to libtensorflow_framework.so, which is not provided by this or any other package

/usr/bin/ld: warning: libtensorflow_framework.so, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libtensorflow.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libtensorflow.so: undefined reference to `google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libtensorflow.so: undefined reference to `tensorflow::DeviceProperties::InternalSwap(tensorflow::DeviceProperties*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libtensorflow.so: undefined reference to `tensorflow::TensorShapeUtils::MakeShape(tensorflow::gtl::ArraySlice<long long>, tensorflow::PartialTensorShape*)'
...
<thousands more lines of linker errors>

Additional info:
tested with tensorflow and tensorflow-cuda package ver. 1.4.0rc0-3

Steps to reproduce:
Attempt to link a C/C++ program with libtensorflow.so
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 30 October 2017, 14:40 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Thursday, 26 October 2017, 15:30 GMT
..."not provided by this or any other package"

Not entirely true.
% pkgfile libtensorflow_framework.so
community/python-tensorflow
community/python-tensorflow-cuda
community/python-tensorflow-opt
Comment by Alexander Sago (cagelight) - Thursday, 26 October 2017, 20:45 GMT
Sorry, meant to say it was not provided by any of the tensorflow packages (tensorflow, tensorflow-cuda, tensorflow-opt).

It seems to me that if that package is in the python-tensorflow packages, then libtensorflow_framework.so should be made a part of the tensorflow packages, and the python-tensorflow packages should depend on their respective tensorflow package.

Loading...