Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63544 closed defect (fixed)

py39-pytorch @1.8.1_1+mkl won't compile

Reported by: diochnos Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: mascguy (Christopher Nielsen)
Port: py-pytorch

Description

I am not really sure what the issue is as I see at least a couple of different failures in the build process.

Attachments (1)

main.log (944.9 KB) - added by diochnos 3 years ago.
The log file

Download all attachments as: .zip

Change History (9)

Changed 3 years ago by diochnos

Attachment: main.log added

The log file

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Keywords: bigsur removed
Port: py-pytorch added; py39-pytorch removed
Summary: Pytorch won't compilepy39-pytorch @1.8.1_1+mkl won't compile
:info:build Undefined symbols for architecture x86_64:
:info:build   "google::glog_internal_namespace_::IsGoogleLoggingInitialized()", referenced from:
:info:build       c10::InitCaffeLogging(int*, char**) in Logging.cpp.o

comment:3 Changed 3 years ago by essandess (Steve Smith)

Owner: set to essandess
Resolution: fixed
Status: newclosed

In 677238996326f646fee8004bca66e55a8f6dfc28/macports-ports (master):

py-pytorch: Fix build issue by using google-glog version 0.4.0

Fixes: #63544
See: https://github.com/pytorch/pytorch/issues/58054

comment:4 Changed 3 years ago by essandess (Steve Smith)

In 0d1e53f9de7b7e35fdb38da0ee9c78af455ffdb1/macports-ports (master):

google-glog: Fix py-pytorch build issue by adding google-glog version 0.4 subport

Fixes: #63544
See: https://github.com/pytorch/pytorch/issues/58054

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:6 Changed 3 years ago by Christopher Nielsen <mascguy@…>

In 1b550d78b1ec2b0dbf6d97a200c50a23fd055bbe/macports-ports (master):

py-pytorch: add patch for google-glog breaking API change

See: #63544

comment:7 Changed 3 years ago by Christopher Nielsen <mascguy@…>

In 2eb32c0af475811351d0940a8f8fd8410d9a35f0/macports-ports (master):

google-glog-0.4: obsolete subport

See: #63544

comment:8 Changed 3 years ago by Christopher Nielsen <mascguy@…>

Note: See TracTickets for help on using tickets.