On 2024/06/06 21:11, Antoine Jacoutot wrote:
> On Wed, Jun 05, 2024 at 05:47:39PM -0600, Stuart Henderson wrote:
> > CVSROOT: /cvs
> > Module name: ports
> > Changes by: [email protected] 2024/06/05 17:47:39
> >
> > Modified files:
> > devel/llvm/13 : Makefile
> >
> > Log message:
> > disable lldb for llvm/13, afaik this pprt is only there until gcc
> > build can be fixed with newer clang on i386, and building lldb has
> > problems with forthcoming opaque stdio diffs.
>
> Failed to package.
> Log attached.
I don't understand why dpb tries to build that - the only port depending
on ,-lldb is rust-gdb but that uses llvm/16, and without a dependency on
that, why would it try to build?
<symphytum:/usr/ports/devel/llvm>$ make show='BUILD_PACKAGES PKGNAMES'
===> devel/llvm/13
-main -python
llvm-13.0.0p29 py3-llvm-13.0.0p6
===> devel/llvm/16
-main -python -lldb
llvm-16.0.6p27 py3-llvm-16.0.6p3 lldb-16.0.6p6
===> devel/llvm/17
-main -python -lldb
llvm-17.0.6p9 py3-llvm-17.0.6p1 lldb-17.0.6p2
Otherwise we can try the diff below, though I don't think it is quite
how no_XX should be used, or just get rid of the lldb subpackage
completely for 13.
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/devel/llvm/Makefile.inc,v
diff -u -p -r1.16 Makefile.inc
--- Makefile.inc 5 Jun 2024 23:43:07 -0000 1.16
+++ Makefile.inc 7 Jun 2024 12:22:50 -0000
@@ -35,8 +35,6 @@ WANTLIB += ${COMPILER_LIBCXX} c edit exe
SITES =
https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/
EXTRACT_SUFX = .tar.xz
-MULTI_PACKAGES = -main -python -lldb
-
PSEUDO_FLAVORS = no_lldb
FLAVOR ?=
@@ -63,8 +61,10 @@ RUN_DEPENDS += lang/gcc/${MODGCC4_VERSIO
.if ${FLAVOR:Mno_lldb}
PROJECTS = clang;lld
+MULTI_PACKAGES = -main -python
.else
PROJECTS = clang;lld;lldb
+MULTI_PACKAGES = -main -python -lldb
.endif
CONFIGURE_STYLE += cmake