Opened 8 years ago
Closed 8 years ago
#53816 closed defect (invalid)
llvm-3.9 @3.9.1: error: 'future_error' is unavailable: introduced in macOS 10.8
Reported by: | cullub | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | llvm-3.9 |
Description
I originally got this error after running sudo port upgrade outdated
. I then tried cleaning, uninstalling, and reinstalling (a few times), but got the same error each time it tried to build.
$ sudo port upgrade outdated ---> Computing dependencies for llvm-3.9 ---> Fetching distfiles for llvm-3.9 ---> Verifying checksums for llvm-3.9 ---> Extracting llvm-3.9 ---> Applying patches to llvm-3.9 ---> Configuring llvm-3.9 ---> Building llvm-3.9 Error: Failed to build llvm-3.9: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.9/llvm-3.9/main.log for details. Error: Problem while installing llvm-3.9 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
I attached the referenced /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.9/llvm-3.9/main.log
Some highlights:
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.9/llvm-3.9/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON
(line 894)
Any ideas?
Attachments (1)
Change History (7)
Changed 8 years ago by cullub
comment:1 Changed 8 years ago by cullub
Note: I'm on MacOS 10.12.3 (16D32). My macports.conf is as follows:
buildfromsource always macosx_deployment_target 10.7 cxx_stdlib libc++
comment:2 Changed 8 years ago by cullub
Update: If I remove the line macosx_deployment_target 10.7
, it starts working.
Any ideas why this would be?
comment:3 Changed 8 years ago by kencu (Ken)
See line 812.
You can delete that deployment target line....it will do you nothing good and may cause troubles like you have found now.
comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to jeremyhu |
---|---|
Status: | new → assigned |
Summary: | Failed to build llvm-3.9: command execution failed → llvm-3.9 @3.9.1: error: 'future_error' is unavailable: introduced in macOS 10.8 |
comment:5 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Yep. This is behaving correctly. future_error doesn't exist on Lion. If you want to use llvm-3.9, set your deployment target to 10.8 or higher.
comment:6 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Log file for upgrading/installing llvm-3.9