Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.devel > #119676

ORed build profiles

From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.devel
Subject ORed build profiles
Date 2025-11-23 08:10 +0100
Message-ID <LUcop-f5T8-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Trying to work with ORed build profiles, either I fail to understand how 
to work with these, or something is wrong with the implementation.

llvm-toolchain-21 in unstable introduces a pkg.llvm.noclang build 
profile, to be able to only build the llvm related packages, not 
building anything else clang, flang, bolt, lld, lldb related.  That works.

However when adding additional pkg.llvm.noflang, pkg.llvm.nolld, ... 
build profiles for some more fine grained control (attached diff), as in

   Package: lld-21
   Build-Profiles: <!pkg.llvm.noclang> + <!pkg.llvm.nolld>

then all the packages with an ORed build profile are NOT built by 
default.  I'm not expecting this.  dpkg doesn't complain about the 
syntax of this field.

Looking at
https://wiki.debian.org/BuildProfileSpec#The_Package-List_field

the spec seems to be a little bit ambiguous about that field, not giving 
a spec, but just some examples, and no example for ORed build profiles, 
and not explaining what the examples are supposed to do.

There's also nothing told about the precedence of the operators, (NOT 
(!), OR (+), AND (,)).

If there's a better place to talk about this spec (better in a bug 
report), please let me know.

Matthias

Back to linux.debian.devel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

ORed build profiles Matthias Klose <doko@debian.org> - 2025-11-23 08:10 +0100
  Re: ORed build profiles Bastian Blank <waldi@debian.org> - 2025-11-23 08:40 +0100
  Re: ORed build profiles Ben Hutchings <ben@decadent.org.uk> - 2025-11-24 00:10 +0100
    Re: ORed build profiles Johannes Schauer Marin Rodrigues <josch@debian.org> - 2025-11-24 00:20 +0100
      Re: ORed build profiles Matthias Klose <doko@debian.org> - 2025-11-24 06:50 +0100
  Re: ORed build profiles Simon McVittie <smcv@debian.org> - 2025-11-24 18:30 +0100
    Re: ORed build profiles Guillem Jover <guillem@debian.org> - 2025-12-03 02:30 +0100

csiph-web