FS#70872 - [python-pytorch] got undefined symbol: _ZN6google21kLogSiteUninitializedE due to google-glog update

Attached to Project: Community Packages
Opened by DarcyHu (DarcyHu) - Saturday, 15 May 2021, 01:53 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 15 May 2021, 03:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
google-glog was updated to 0.5.0-1 at 20210512, while python-pytorch 1.8.1-5 was build at 20210508.

Additional info:
* python-pytorch 1.8.1-5
* google-glog 0.5.0-1
Steps to reproduce:

```python
from torch._C import *
```
error log:
```text
Traceback (most recent call last):
File "<input>", line 1, in <module>
from torch._C import *
File "/usr/lib/python3.9/site-packages/torch/__init__.py", line 196, in <modu
le>
from torch._C import *
ImportError: /usr/lib/python3.9/site-packages/torch/lib/libc10.so: undefined sy
mbol: _ZN6google21kLogSiteUninitializedE
```
`c++filt _ZN6google21kLogSiteUninitializedE` outputs:
```text
google::kLogSiteUninitialized
```
It's from google-glog. Rebuilding python-pytorch with the updated google-glog should fix it.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 15 May 2021, 03:25 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#70861 

Loading...