Opened 10 months ago

Last modified 7 months ago

#53543 assigned defect

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

Reported by: fmw42 (Fred Weinhaus) Owned by: stromnov (Andrew Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: snowleopard Cc:
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) 10 months ago.
opencv log file found after trying to upgrade opencv to 3.2.0

Download all attachments as: .zip

Change History (4)

Changed 10 months ago by fmw42 (Fred Weinhaus)

opencv log file found after trying to upgrade opencv to 3.2.0

comment:1 Changed 10 months ago by fmw42 (Fred Weinhaus)

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

comment:2 Changed 10 months ago by ryandesign (Ryan Schmidt)

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

comment:3 Changed 7 months 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.

Note: See TracTickets for help on using tickets.