Hi Robert, On 5/27/26 9:00 PM, Robert Lillack wrote: > Hi Volker, > > thanks for the feedback! > > Am Di, 26. Mai 2026, um 20:44, schrieb Volker Schlecht: > >> * My instinct would be to name the SUBDIRs 19 and 20 instead of 0.19 and 0.20 > > Looking at existing multi-version ports in the tree, the dotted > convention seems to be consistent: lang/lua/{5.1,5.2,5.3,5.4}, > lang/python/{2.7,3}, lang/ruby/{3.3,3.4,4.0}. I couldn't find a > precedent for stripping the dot, so I went with what's already > established. I didn't claim to have particularly good instincts... >> * I think that you need to add a "@pkgpath wayland/wlroots" to the PLISTs > > Added this to 0.19/pkg/PLIST. Following lang/lua/5.1/pkg/PLIST, only the > version that previously lived at the un-versioned path declares the old > pkgpath. Right? If by the time 8.0 is released, all wlroots consumers are using wlroots-0.20 I think it will be needed in 0.20 too, to provide an upgrade path from wlroots in 7.9-stable to 8.0-stable. It's very possible that I'm wrong, though. cheers, Volker
Wednesday, May 27, 2026
Re: [llvm22] Breakage 2026-05-26
On Wed, May 27, 2026 at 08:51:53PM +0200, Rafael Sadowski wrote: > On Wed May 27, 2026 at 08:13:50PM +0200, Rafael Sadowski wrote: > > On Wed May 27, 2026 at 04:36:40PM +0200, Christian Weisgerber wrote: > > > http://build-failures.rhaalovely.net/amd64-clang/2026-05-26/ > > > > > > $ awk '/->/ { a[$NF]++ } END { for(i in a) printf "%3d %s\n", a[i], i }' \ > > > summary.log | sort -nr > > > 133 audio/openal > > > > I think that is currently our best solution/pattern for the > > "CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND" error class: > > > > MODULES += lang/clang > > MODCLANG_COMPILER_LINKS = No > > CONFIGURE_ARGS+= -DCMAKE_CXX_COMPILER_CLANG_SCAN_DEPS=${LOCALBASE}/bin/clang-scan-deps-${MODCLANG_VERSION} > > > > Correction: the CONFIGURE_ARGS will be overwritten again by > Modules/Compiler/Clang-FindBinUtils.cmake because > MODCLANG_COMPILER_LINKS is set to "No" and the cmake module will force > the compiler version. > > Meaning: > > Will fail if we switch base to 22 and ports stay 19: > > > MODULES += lang/clang > > MODCLANG_COMPILER_LINKS = No > > CONFIGURE_ARGS+= -DCMAKE_CXX_COMPILER_CLANG_SCAN_DEPS=${LOCALBASE}/bin/clang-scan-deps-${MODCLANG_VERSION} > > This should work for the migration now: > > MODULES += lang/clang > MODCLANG_COMPILER_LINKS = No > MODCLANG_VERSION = 22 > CONFIGURE_ARGS+= -DCMAKE_CXX_COMPILER_CLANG_SCAN_DEPS=${LOCALBASE}/bin/clang-scan-deps-${MODCLANG_VERSION} > > # XXX remove after base has llvm/22 > BUILD_DEPENDS = devel/llvm/19 > > Tested with openal and it fallback to 19 for now and if > MODCLANG_COMPILER_LINKS = Yes (tested) or llvm22 is in base (untested) > it should pickup 22. > What is in tree is the above without the CONFIGURE_ARGS magic. This works because with llvmXX in base, clang-scan-deps-XX is selected and provided by the relevant devel/llvm/XX port. This has been tested for poppler in several bulks and I have also tested it for openal. I'm happy to switch to your approach for poppler and openal once the dust of the compiler switch has settled.