Bug#964550: clang-10: Version handling/naming for RC releases

Sedat Dilek sedat.dilek at gmail.com
Wed Jul 8 16:19:07 BST 2020


Package: clang-10
Version: 1:10.0.1~+rc3-1
Severity: wishlist

Dear Maintainer,

as reported in LLVM bug #38998 "llvm-toolchain: Include Debian version string like for gcc"
the version handling (naming) looks uncommon to me.

In comment #23 I listed all "rc" packages I have installed on my Debian/testing (sid) AMD64 system:

root# dpkg -l | grep 'rc[0-9]' | grep -v dileks | awk '/^ii/ {print $1 " " $2 " " $3}' | column -t

ii  asciidoc-base               9.0.0~rc2-1
ii  asciidoc-common             9.0.0~rc2-1
ii  clang-10                    1:10.0.1~+rc3-1
ii  libclang-common-10-dev      1:10.0.1~+rc3-1
ii  libclang-cpp10              1:10.0.1~+rc3-1
ii  libclang1-10                1:10.0.1~+rc3-1
ii  libllvm10:amd64             1:10.0.1~+rc3-1
ii  libpython3.8:amd64          3.8.4~rc1-1
ii  libpython3.8-minimal:amd64  3.8.4~rc1-1
ii  libpython3.8-stdlib:amd64   3.8.4~rc1-1
ii  libspeex1:amd64             1.2~rc1.2-1.1
ii  libspeexdsp1:amd64          1.2~rc1.2-1.1
ii  lld-10                      1:10.0.1~+rc3-1
ii  llvm-10                     1:10.0.1~+rc3-1
ii  llvm-10-runtime             1:10.0.1~+rc3-1
ii  lua-socket:amd64            3.0~rc1+git+ac3201d-4
ii  python3.8                   3.8.4~rc1-1
ii  python3.8-minimal           3.8.4~rc1-1

So it looks like "common sense" to have "upstream-version" plus "~rcX" followed by "-debian-revision".

More correct to me looks a version-string (here: "1:10.0.1~+rc3-1"):

(1:)10.0.1~rc3-1 (dropping "+" after "~")

To be read:
upstream-version: 10.0.1
"rc" release-no:  rc3
debian-revision:  1

As pointed out by Sylvestre in [3] he is trying to keep packages in the Debian repositories
in balance with <apt.llvm.org>.

As I am interested in having the best packages in Debian I am reporting here not upstream.

Thanks.

Regards,
- Sedat -

[1] https://bugs.llvm.org/show_bug.cgi?id=38998
[2] https://bugs.llvm.org/show_bug.cgi?id=38998#c23
[3] https://bugs.llvm.org/show_bug.cgi?id=38998#c29

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (99, 'buildd-unstable'), (99, 'buildd-experimental'), (99, 'experimental'), (99, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-rc4-4-amd64-llvm11-ias (SMP w/4 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clang-10 depends on:
ii  binutils                2.34.90.20200706-1
ii  libc6                   2.30-8
ii  libc6-dev               2.30-8
ii  libclang-common-10-dev  1:10.0.1~+rc3-1
ii  libclang-cpp10          1:10.0.1~+rc3-1
ii  libclang1-10            1:10.0.1~+rc3-1
ii  libgcc-9-dev            9.3.0-14
ii  libgcc-s1               10.1.0-4
ii  libllvm10               1:10.0.1~+rc3-1
ii  libobjc-9-dev           9.3.0-14
ii  libstdc++-9-dev         9.3.0-14
ii  libstdc++6              10.1.0-4

Versions of packages clang-10 recommends:
pn  libomp-10-dev  <none>
pn  llvm-10-dev    <none>
ii  python3        3.8.2-3

Versions of packages clang-10 suggests:
pn  clang-10-doc  <none>

-- no debconf information



More information about the Pkg-llvm-team mailing list