Opened 7 years ago

Closed 6 years ago

#53543 closed defect (fixed)

opencv @3.2.0: error: thread-local storage is unsupported for the current target

Reported by: fmw42 (Fred Weinhaus) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: snowleopard Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: opencv

Description

I am getting an error message when trying to upgrade to Opencv 3.2 (from Opencv 3.1). I had previously done a selfupdate (2.4.0) and updated python 3.5 and other python related tools.

sudo port clean opencv
--->  Cleaning opencv
Fred-Weinhauss-Mac-mini:~ fred$ sudo port upgrade opencv
--->  Computing dependencies for opencv
--->  Fetching archive for opencv
--->  Attempting to fetch opencv-3.2.0_1+contrib+python35.darwin_10.x86_64.tbz2 from https://packages.macports.org/opencv
--->  Attempting to fetch opencv-3.2.0_1+contrib+python35.darwin_10.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/opencv
--->  Attempting to fetch opencv-3.2.0_1+contrib+python35.darwin_10.x86_64.tbz2 from http://nue.de.packages.macports.org/opencv
--->  Fetching distfiles for opencv
--->  Verifying checksums for opencv
--->  Extracting opencv
--->  Applying patches to opencv
--->  Configuring opencv
--->  Building opencv
Error: Failed to build opencv: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attachments (1)

macports_opencv_log_file.txt (169.3 KB) - added by fmw42 (Fred Weinhaus) 7 years ago.
opencv log file found after trying to upgrade opencv to 3.2.0

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by fmw42 (Fred Weinhaus)

opencv log file found after trying to upgrade opencv to 3.2.0

comment:1 Changed 7 years ago by fmw42 (Fred Weinhaus)

Sorry forgot to mention I am on Mac OSX 10.6.8 (snow leopard)

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: snowleopard added; opencv removed
Owner: set to stromnov
Port: 3.2.0 removed
Status: newassigned
Summary: Cannot Install OpenCV 3.2.0opencv @3.2.0: error: thread-local storage is unsupported for the current target

comment:3 Changed 7 years ago by kencu (Ken)

Its true ... thread local storage is not available on 10.6 via clang. There might be a way to do it. gcc can offer TLS, but there could be standard library issues. Clang-3.9 *might* be able to build it against libgcc with fancy tricks and get you tls. See the cxx11 portgroup for thoughts on this.

comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:5 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In 63e2fa243f81911c233249374562c099e3993b54/macports-ports (master):

opencv: update version 3.3.1->3.4.1

Fixes #53543
Fixes #53562

Note: See TracTickets for help on using tickets.