[Bug 211045] lang/rust fails to build with llvm from ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 12 20:00:03 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211045

            Bug ID: 211045
           Summary: lang/rust fails to build with llvm from ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: riggs at FreeBSD.org
          Reporter: osidorkin at gmail.com
             Flags: maintainer-feedback?(riggs at FreeBSD.org)
          Assignee: riggs at FreeBSD.org

New rust 1.10 fails to build with llvm36 due to constness issues.
With the following patch it builds fine (however it builds fine with llvm37
also)


Index: lang/rust/Makefile
===================================================================
--- lang/rust/Makefile  (revision 418337)
+++ lang/rust/Makefile  (working copy)
@@ -80,7 +80,7 @@
 PORT_LLVM_DESC=        Build against devel/llvm${LLVM_VER} instead of bundled
version
 PORT_LLVM_BUILD_DEPENDS=      
${LLVM_PREFIX}/bin/FileCheck:devel/llvm${LLVM_VER}
 PORT_LLVM_CONFIGURE_ON=                --llvm-root=${LLVM_PREFIX}
-LLVM_VER?=                     36 # XXX Move to DEFAULT_VERSIONS
+LLVM_VER?=                     38 # XXX Move to DEFAULT_VERSIONS
 LLVM_PREFIX=                   ${LOCALBASE}/llvm${LLVM_VER}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list