Opened 3 years ago
Closed 3 years ago
#62909 closed defect (fixed)
current protobuf3-cpp v3.17.0 causes build failure in current py-pytorch v1.8.1
Reported by: | webbp (Webb Phillips) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-pytorch protobuf3-cpp |
Description (last modified by webbp (Webb Phillips))
This is a known open issue with pytorch: https://github.com/pytorch/pytorch/issues/20206
Temporary workaround (verified): install protobuf v3.11.4
For other users: how to install protobuf v3.11.4: wiki:howto/InstallingOlderPort
Build environment:
macOS 10.13.6 Xcode 10.1 Build version 10B61 Apple LLVM version 10.0.0 (clang-1000.10.44.4) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin MacPorts version 2.6.4 Port: py37-pytorch @1.8.1_2
Todo: attempt to fix by varying potentially relevant cmake vars
USE_LITE_PROTO CAFFE2_LINK_LOCAL_PROTOBUF BUILD_CUSTOM_PROTOBUF USE_SYSTEM_LIBS
Current Portfile has
CMAKE_LIBRARY_PATH=${prefix}/lib:${prefix}/lib/libomp \ LIBRARY_PATH=${prefix}/lib:${prefix}/lib/libomp \ USE_LITE_PROTO=ON \
which also might be relevant.
Change History (9)
comment:1 Changed 3 years ago by webbp (Webb Phillips)
Summary: | protobuf3-cpp 3.17 breaks py-pytorch → current protobuf3-cpp v3.17.0 breaks current py-pytorch v1.8.1 |
---|
comment:2 Changed 3 years ago by webbp (Webb Phillips)
Summary: | current protobuf3-cpp v3.17.0 breaks current py-pytorch v1.8.1 → current protobuf3-cpp v3.17.0 causes build failure in current py-pytorch v1.8.1 |
---|
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:4 Changed 3 years ago by webbp (Webb Phillips)
Description: | modified (diff) |
---|
comment:5 Changed 3 years ago by webbp (Webb Phillips)
Description: | modified (diff) |
---|
comment:6 Changed 3 years ago by webbp (Webb Phillips)
Description: | modified (diff) |
---|
comment:7 Changed 3 years ago by webbp (Webb Phillips)
Description: | modified (diff) |
---|
comment:8 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | set to mascguy |
---|---|
Status: | new → assigned |
comment:9 Changed 3 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
AFAIK this is no longer an issue with the current versions of
py-pytorch
andprotobuf3-cpp
.If you're still seeing issues, please don't hesitate to reopen this ticket.