Opened 12 years ago

Closed 3 years ago

#35368 closed defect (wontfix)

unable to build opencv with llvm-gcc-4.2

Reported by: jdilyshen@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: opencv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am unable to build OpenCV. I have selfupdate and updated outdated. Log file attached.

[ mac macteki-MacBook-Pro ~ ] sudo port install opencv +python27
--->  Computing dependencies for opencv
--->  Fetching archive for opencv
--->  Attempting to fetch opencv-2.4.2_0+python27.darwin_10.x86_64.tbz2 from http://packages.macports.org/opencv
--->  Fetching distfiles for opencv
--->  Verifying checksum(s) for opencv
--->  Extracting opencv
--->  Applying patches to opencv
--->  Configuring opencv
--->  Building opencv
Error: org.macports.build for port opencv returned: command execution failed
Please see the log file for port opencv for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log

Attachments (1)

main.log (2.7 MB) - added by jdilyshen@… 12 years ago.

Change History (7)

Changed 12 years ago by jdilyshen@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: opencv added
Priority: HighNormal

The log says:

:info:build i686-apple-darwin10-llvm-g++-4.2: Internal error: Segmentation fault (program cc1plus)
:info:build Please submit a full bug report.
:info:build See <URL:http://developer.apple.com/bugreporter> for instructions.

If you're using the latest Xcode for Snow Leopard, you could file a bug report with Apple, but since they've already released Mountain Lion I doubt they're interested in fixing Snow Leopard bugs anymore. You could try using a different compiler.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Summary: unable to build opencv under MacOS 10.6.8unable to build opencv with llvm-gcc-4.2

Since you're defaulting to llvm-gcc-4.2 you must be using Xcode 4.0 or 4.1. (Your exact Xcode version is a very helpful thing to include in a bug report BTW.) 4.2 is the latest Xcode for 10.6, but it can be hard to get ahold of. 3.2.6 is the most tested version.

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

Owner: changed from macports-tickets@… to stromnov@…

comment:4 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

This issue is very old, but it should no longer be applicable, since llvm-gcc-4.2 is blacklisted as of [3120e9aeff/macports-ports]. Can this now be closed?

comment:5 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

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

Resolution: wontfix
Status: newclosed

eight years on, we will never be fixing opencv to build with llvm-gcc-.4.2

Note: See TracTickets for help on using tickets.