[Pkg-pascal-devel] Bug#1094182: Bug#1094182: Bug#1094182: lazarus-src-3.8: Package install fails with error "Syntax error: "fi" unexpected"

Abou Al Montacir abou.almontacir at sfr.fr
Sun Jan 26 10:09:45 GMT 2025


Hi,

On Sat, 2025-01-25 at 18:17 +0000, Peter B wrote:
> On 25/01/2025 17:22, Thorsten de Jong wrote:
> > (Lese Datenbank ... 900231 Dateien und Verzeichnisse sind derzeit
> > installiert.)
> > Vorbereitung zum Entpacken von .../lazarus-src-3.8_3.8+dfsg1-1_all.deb ...
> > /var/lib/dpkg/tmp.ci/preinst: 10: Syntax error: "fi" unexpected
> > dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/lazarus-
> > src-3.8_3.8+dfsg1-1_all.deb (--unpack):
> >   »neues pre-installation-Skript des Paketes lazarus-src-3.8«-Unterprozess
> > gab
> > den Fehlerwert 2 zurück
> 
> See also the piuparts pipeline job on Salsa
> https://salsa.debian.org/pascal-team/lazarus/-/jobs/6978166
It seems that something has broken the divertion list generations
set -e

LAZARUS_DIR=/usr/lib/lazarus/3.8

if test upgrade != "$1" || dpkg --compare-versions "$2" lt "3.8"
then
#DPKG_DIVERT_FILES#
fi

# Debhelper code

In the code above, #DPKG_DIVERT_FILES# should have been replaced by a list of
commands within the build process.
Some recent changes did probably break this.

I'll have a look at this.
-- 
Cheers,
Abou Al Montacir


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20250126/21233757/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20250126/21233757/attachment-0001.sig>


More information about the Pkg-pascal-devel mailing list