[MacPorts] #53816: Failed to build llvm-3.9: command execution failed

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #53816: Failed to build llvm-3.9: command execution failed

MacPorts
#53816: Failed to build llvm-3.9: command execution failed
--------------------+----------------------
 Reporter:  cullub  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  llvm-3.9
--------------------+----------------------
 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?

--
Ticket URL: <https://trac.macports.org/ticket/53816>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53816: Failed to build llvm-3.9: command execution failed

MacPorts
#53816: Failed to build llvm-3.9: command execution failed
-----------------------+-----------------
  Reporter:  cullub    |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  llvm-3.9  |
-----------------------+-----------------
Changes (by cullub):

 * Attachment "main.log" added.

 Log file for upgrading/installing llvm-3.9

--
Ticket URL: <https://trac.macports.org/ticket/53816>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53816: Failed to build llvm-3.9: command execution failed

MacPorts
In reply to this post by MacPorts
#53816: Failed to build llvm-3.9: command execution failed
-----------------------+-----------------
  Reporter:  cullub    |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  llvm-3.9  |
-----------------------+-----------------

Comment (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++
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53816#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53816: Failed to build llvm-3.9: command execution failed

MacPorts
In reply to this post by MacPorts
#53816: Failed to build llvm-3.9: command execution failed
-----------------------+-----------------
  Reporter:  cullub    |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  llvm-3.9  |
-----------------------+-----------------

Comment (by cullub):

 Update: If I remove the line `macosx_deployment_target 10.7`, it starts
 working.

 Any ideas why this would be?

--
Ticket URL: <https://trac.macports.org/ticket/53816#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53816: Failed to build llvm-3.9: command execution failed

MacPorts
In reply to this post by MacPorts
#53816: Failed to build llvm-3.9: command execution failed
-----------------------+-----------------
  Reporter:  cullub    |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  llvm-3.9  |
-----------------------+-----------------

Comment (by kencu):

 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.

--
Ticket URL: <https://trac.macports.org/ticket/53816#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53816: llvm-3.9 @3.9.1: error: 'future_error' is unavailable: introduced in macOS 10.8 (was: Failed to build llvm-3.9: command execution failed)

MacPorts
In reply to this post by MacPorts
#53816: llvm-3.9 @3.9.1: error: 'future_error' is unavailable: introduced in macOS
10.8
-----------------------+----------------------
  Reporter:  cullub    |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  llvm-3.9  |
-----------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:   => jeremyhu


--
Ticket URL: <https://trac.macports.org/ticket/53816#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53816: llvm-3.9 @3.9.1: error: 'future_error' is unavailable: introduced in macOS 10.8

MacPorts
In reply to this post by MacPorts
#53816: llvm-3.9 @3.9.1: error: 'future_error' is unavailable: introduced in macOS
10.8
-----------------------+----------------------
  Reporter:  cullub    |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  llvm-3.9  |
-----------------------+----------------------

Comment (by jeremyhu):

 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.

--
Ticket URL: <https://trac.macports.org/ticket/53816#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53816: llvm-3.9 @3.9.1: error: 'future_error' is unavailable: introduced in macOS 10.8

MacPorts
In reply to this post by MacPorts
#53816: llvm-3.9 @3.9.1: error: 'future_error' is unavailable: introduced in macOS
10.8
-----------------------+----------------------
  Reporter:  cullub    |      Owner:  jeremyhu
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  invalid   |   Keywords:
      Port:  llvm-3.9  |
-----------------------+----------------------
Changes (by jeremyhu):

 * status:  assigned => closed
 * resolution:   => invalid


--
Ticket URL: <https://trac.macports.org/ticket/53816#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...