[From nobody Tue Nov 24 12:03:11 2026
Received: (at submit) by bugs.debian.org; 19 Sep 2025 15:35:55 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.0 required=4.0 tests=BAYES_00,SPF_HELO_NONE,
 SPF_PASS autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 107; spammy,
 0. spammytokens: hammytokens:0.000-+--UD:orig.tar.xz,
 0.000-+--UD:tar.xz, 0.000-+--dpkgsource, 0.000-+--dpkg-source,
 0.000-+--UD:xz
Return-path: &lt;duck@duckcorp.org&gt;
Received: from toushirou-hivane.duckcorp.org ([193.200.42.177]:58416
 helo=mx4.duckcorp.org) by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;duck@duckcorp.org&gt;) id 1uzd9P-00GpE5-03
 for submit@bugs.debian.org; Fri, 19 Sep 2025 15:35:55 +0000
Received: by mx4.duckcorp.org (Postfix) id 4cSxRM3yxMzLd
 for &lt;submit@bugs.debian.org&gt;; Fri, 19 Sep 2025 17:35:43 +0200 (CEST)
MIME-Version: 1.0
Date: Sat, 20 Sep 2025 00:35:43 +0900
From: =?UTF-8?Q?Marc_Dequ=C3=A8nes_=28duck=29?= &lt;duck@duckcorp.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: llvm-toolchain: please make some improvements to the build doc/scripts
Reply-To: duck@duckcorp.org
Mail-Reply-To: duck@duckcorp.org
Message-ID: &lt;10c9fcc1ce048fe0c4307e78579f664c@duckcorp.org&gt;
X-Sender: duck@duckcorp.org
Organization: DuckCorp
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spamd-Result: default: False [-0.10 / 15.00]; MIME_GOOD(-0.10)[text/plain];
 BAYES_HAM(-0.00)[25.35%];
 ASN(0.00)[asn:34019, ipnet:2001:67c:1740::/48, country:FR];
 MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1];
 RCVD_COUNT_ZERO(0.00)[0]; MID_RHS_MATCH_FROM(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[];
 FROM_EQ_ENVFROM(0.00)[]; HAS_REPLYTO(0.00)[duck@duckcorp.org];
 REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 REPLYTO_DOM_NEQ_TO_DOM(0.00)[]
X-Rspamd-Queue-Id: 4cSxRM3yxMzLd
X-Rspamd-Action: no action
X-Rspamd-Server: Toushirou
Delivered-To: submit@bugs.debian.org

Source: llvm-toolchain-19
Version: 1:19.1.7-6
Severity: wishlist


Quack,

Due to #1115194 I wanted to rebuild llvm myself but that did not go so=20
well.

Running ./19/debian/orig-tar.sh to get the sources ends-up in:
Compressing to llvm-toolchain-19_19.1.7.orig.tar.xz
=2E/19/debian/orig-tar.sh: 168: time: not found

The documentation mentions prefixing the command with sh but `time` is=20
not available in dash apparently and bash (or some other shell) is=20
needed.

Then the script does a dch as Sylvestre Ledru, so clearly this script is=20
not really meant to be used by any other; I was expecting to just get=20
the sources and be able to run sbuild right after.

But anyway building fails too:
dpkg-source: info: building llvm-toolchain-19 using existing=20
=2E/llvm-toolchain-19_19.1.7.orig.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: the patch has fuzz which is not allowed, or is=20
malformed
dpkg-source: info: if patch 'powerpc-fix-sigill.diff' is correctly=20
applied by quilt, use 'quilt refresh' to update it
dpkg-source: info: if the file is present in the unpacked source, make=20
sure it is also present in the orig tarball
dpkg-source: error: cannot read=20
19.orig.dowxPV/debian/patches/powerpc-fix-sigill.diff: No such file or=20
directory

debian/patches/powerpc-fix-sigill.diff does not exist, but=20
debian/patches/powerpc-fix-SIGILL.diff does, are you working on a case=20
insensitive filesystem?

I renamed the file and the build started but I also noted patches seem=20
to already be applied without setting the .pc metadata, so using quilt=20
is impossible; I'm not really sure how you manage patches but=20
fortunately my changes did not conflict with any patch and the build was=20
able to proceed. It would be nice to clarify how it should be done.

That is to say: I really appreciated finding docs in debian/README=20
because the build steps are very specific to this package but there's a=20
few things that could make things easier to external contributors.

Regards.
\_o&lt;

--=20
Marc Dequ=C3=A8nes
]