Bug#952533: llvm: broken symlinks to manual pages
Andreas Beckmann
anbe at debian.org
Tue May 4 13:26:40 BST 2021
Followup-For: Bug #952533
Control: tag -1 patch
Broken symlinks reported by adequate before applying the patch:
llvm: broken-symlink /usr/share/man/man1/bugpoint.1.gz -> bugpoint-11.1.gz
llvm: broken-symlink /usr/share/man/man1/dsymutil.1.gz -> dsymutil-11.1.gz
llvm: broken-symlink /usr/share/man/man1/lit.1.gz -> lit-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llc.1.gz -> llc-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-ar.1.gz -> llvm-ar-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-as.1.gz -> llvm-as-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-bcanalyzer.1.gz -> llvm-bcanalyzer-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-config.1.gz -> llvm-config-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-cov.1.gz -> llvm-cov-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-diff.1.gz -> llvm-diff-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-dis.1.gz -> llvm-dis-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-exegesis.1.gz -> llvm-exegesis-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-extract.1.gz -> llvm-extract-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-lib.1.gz -> llvm-lib-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-link.1.gz -> llvm-link-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-mca.1.gz -> llvm-mca-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-nm.1.gz -> llvm-nm-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-pdbutil.1.gz -> llvm-pdbutil-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-profdata.1.gz -> llvm-profdata-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-readobj.1.gz -> llvm-readobj-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-stress.1.gz -> llvm-stress-11.1.gz
llvm: broken-symlink /usr/share/man/man1/llvm-symbolizer.1.gz -> llvm-symbolizer-11.1.gz
llvm: broken-symlink /usr/share/man/man1/opt.1.gz -> opt-11.1.gz
llvm: broken-symlink /usr/share/man/man1/tblgen.1.gz -> tblgen-11.1.gz
libllvm-ocaml-dev: broken-symlink /usr/lib/ocaml/METAS/META.llvm -> ../llvm-11/META.llvm
lldb: broken-symlink /usr/bin/lldb-mi -> lldb-mi-11
lldb: broken-symlink /usr/share/man/man1/lldb-mi.1.gz -> lldb-mi-11.1.gz
The attached patch fixes them all. I intend to NMU this in a few days.
Andreas
-------------- next part --------------
diff -Nru llvm-defaults-0.51+nmu4/debian/changelog llvm-defaults-0.51+nmu5/debian/changelog
--- llvm-defaults-0.51+nmu4/debian/changelog 2021-01-14 16:39:00.000000000 +0100
+++ llvm-defaults-0.51+nmu5/debian/changelog 2021-04-30 16:57:22.000000000 +0200
@@ -1,3 +1,14 @@
+llvm-defaults (0.51+nmu5) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * llvm: Drop broken manpage symlinks, targets removed since llvm-9.
+ (Closes: #952533)
+ * lldb: Drop lldb-mi symlink, target removed since lldb-10.
+ * libllvm-ocaml-dev: Fix /usr/lib/ocaml/METAS/META.llvm symlink.
+ (Closes: #857768)
+
+ -- Andreas Beckmann <anbe at debian.org> Fri, 30 Apr 2021 16:57:22 +0200
+
llvm-defaults (0.51+nmu4) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru llvm-defaults-0.51+nmu4/debian/rules llvm-defaults-0.51+nmu5/debian/rules
--- llvm-defaults-0.51+nmu4/debian/rules 2021-01-09 18:16:50.000000000 +0100
+++ llvm-defaults-0.51+nmu5/debian/rules 2021-04-30 16:57:22.000000000 +0200
@@ -194,11 +194,9 @@
# To know if there is a manpage or not
# for f in $L; do if test -f /usr/share/man/man1/$f-7.1.gz; then echo $f; fi; done|tr "\n" " "
for man in \
- bugpoint lit llc llvm-ar llvm-as llvm-bcanalyzer llvm-config \
- llvm-diff llvm-dis llvm-extract llvm-link llvm-nm llvm-profdata \
- llvm-ranlib opt tblgen llvm-symbolizer llvm-cov llvm-dwarfdump \
- llvm-objdump llvm-rtdyld llvm-size llvm-mc dsymutil llvm-exegesis \
- llvm-lib llvm-mca llvm-pdbutil llvm-readobj llvm-stress; do \
+ llvm-ranlib llvm-dwarfdump \
+ llvm-objdump llvm-rtdyld llvm-size llvm-mc \
+ ; do \
dh_link -pllvm \
/usr/share/man/man1/$$man-$(PV_LLVM).1.gz \
/usr/share/man/man1/$$man.1.gz ; \
@@ -241,7 +239,7 @@
done
for man in \
- lldb lldb-mi; do \
+ lldb; do \
dh_link -plldb \
/usr/share/man/man1/$$man-$(PV_LLVM).1.gz \
/usr/share/man/man1/$$man.1.gz ; \
@@ -298,7 +296,7 @@
dh_installdirs -plibllvm-ocaml-dev \
/usr/lib/ocaml/METAS
dh_link -plibllvm-ocaml-dev \
- /usr/lib/ocaml/llvm-$(PV_LLVM)/META.llvm /usr/lib/ocaml/METAS/META.llvm
+ /usr/lib/ocaml/META.llvm /usr/lib/ocaml/METAS/META.llvm
# clang
@@ -381,9 +379,6 @@
/usr/bin/lldb-argdumper-$(PV_LLVM) \
/usr/bin/lldb-argdumper
dh_link -plldb \
- /usr/bin/lldb-mi-$(PV_LLVM) \
- /usr/bin/lldb-mi
- dh_link -plldb \
/usr/bin/lldb-server-$(PV_LLVM) \
/usr/bin/lldb-server
More information about the Pkg-llvm-team
mailing list