Opened 5 years ago

Closed 4 years ago

#58235 closed defect (fixed)

llvm-6.0: python27 dependency

Reported by: nerdling (Jeremy Lavergne) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: larryv (Lawrence Velázquez), kencu (Ken)
Port: llvm-6.0 llvm-7.0

Description (last modified by nerdling (Jeremy Lavergne))

Was compiling dependencies for lilypond-devel today (with trace mode) and had the build fail at llvm-6.0.

I checked the log, where I saw configure stopped after not finding python27. Adding python27 to the depends_lib resolved the issue.

CMake Error at CMakeLists.txt:629 (message):
  Python 2.7 or newer is required
--- a/lang/llvm-6.0/Portfile
+++ b/lang/llvm-6.0/Portfile
@@ -32,7 +32,7 @@ if {${subport} eq "llvm-${llvm_version}"} {
                         around a well specified code representation known as \
                         the LLVM intermediate representation ("LLVM IR").
 
-    depends_lib         port:libedit port:libffi port:ncurses path:lib/libxar.dylib:xar port:zlib
+    depends_lib         port:libedit port:libffi port:ncurses path:lib/libxar.dylib:xar port:zlib port:python27
     depends_run         bin:perl:perl5 port:llvm_select
 } elseif {${subport} eq "clang-${llvm_version}"} {
     homepage            https://clang.llvm.org/

This also impacts llvm-7.0.

Change History (5)

comment:1 Changed 5 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)

comment:2 Changed 5 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Port: llvm-7.0 added

comment:3 Changed 5 years ago by jeremyhu (Jeremy Huddleston Sequoia)

The system python should be able to satisfy this.

comment:4 Changed 4 years ago by kencu (Ken)

Cc: kencu added

comment:5 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.