Bug#1056312: zlib1g makes tex-common fail to install due to fmtutil failing

2023-11-20 Thread Hilmar Preusse
Package: zlib1g
Version: 1:1.3.dfsg-2
Followup-For: Bug #1056312
X-Debbugs-Cc: debian-tex-ma...@lists.debian.org

Hello Mark,

In 1:1.2.6.dfsg-2 an "Breaks: ... texlive-binaries (<< 2009-12)" statement
was introduced to make sure the broken tl-bin packages are phased out.
We now need the same again: 2023.20230311.66589-7 is the last broken version;
2023.20230311.66589-8 contains the fix and has been uploaded this morning.

Please bump the version in that breaks statement!

Many thanks!

-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 6.1.21-v8+ (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zlib1g depends on:
ii  libc6  2.36-9+rpt2+deb12u3

zlib1g recommends no packages.

zlib1g suggests no packages.

-- no debconf information

-- 
sigmentation fault


signature.asc
Description: PGP signature


Bug#1056312: zlib1g makes tex-common fail to install due to fmtutil failing

2023-11-20 Thread Luca Boccassi
On Mon, 20 Nov 2023 11:57:20 + Luca Boccassi 
wrote:
> Control: found -1 1:1.3.dfsg-1
> 
> On Mon, 20 Nov 2023 12:20:55 +0100 Johannes Schauer Marin Rodrigues
>  wrote:
> > Package: zlib1g
> > Version: 1:1.3.dfsg-2
> > Severity: serious
> > 
> > Hi,
> > 
> > I didn't investigate this further yet but filing this as RC as it
is
> easy to
> > reproduce and it's easy to find out that only zlib1g changed using
> debbisect.
> > Downgrading to zlib1g 1:1.2.13.dfsg-3 makes the problem go away.
> Steps to
> > reproduce:
> > 
> > $ mmdebstrap --include=tex-common,texlive-base unstable /dev/null
> > Processing triggers for tex-common (6.18) ...
> > Running updmap-sys. This may take some time... done.
> > Running mktexlsr /var/lib/texmf ... done.
> > Building format(s) --all.
> >   This may take some time... 
> > fmtutil failed. Output has been stored in
> > /tmp/fmtutil.tcAsaQVq
> > Please include this file if you report a bug.
> > 
> > dpkg: error processing package tex-common (--configure):
> >  installed tex-common package post-installation script subprocess
> returned error exit status 1
> > Errors were encountered while processing:
> >  tex-common
> > E: Sub-process env returned an error code (1)
> 
> Looks like this was introduced by 1:1.3.dfsg-1, as it can be
reproduced
> in a minimal sid chroot by installing it from
>
https://snapshot.debian.org/archive/debian/20231118T151103Z/pool/main/z/zlib/zlib1g_1.3.dfsg-1_amd64.deb
> and then installing texlive-base:
> 
> <...>
> Processing triggers for tex-common (6.18) ...
> Running updmap-sys. This may take some time... done.
> Running mktexlsr /var/lib/texmf ... done.
> Building format(s) --all.
>   This may take some time... 
> fmtutil failed. Output has been stored in
> /tmp/fmtutil.ohLhbhu3
> Please include this file if you report a bug.
> 
> dpkg: error processing package tex-common (--configure):
>  installed tex-common package post-installation script subprocess
returned error exit status 1
> Errors were encountered while processing:
>  tex-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> # dpkg -l | grep zlib
> ii  zlib1g:amd64 1:1.3.dfsg-1  
amd64    compression library - runtime
> ii  zlib1g-dev:amd64 1:1.3.dfsg-1  
amd64    compression library - development
> 
> -- 

Looks like a problem in texlive itself, so this can probably be
moved/merged:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051243#48

-- 
Kind regards,
Luca Boccassi


signature.asc
Description: This is a digitally signed message part


Bug#1056312: zlib1g makes tex-common fail to install due to fmtutil failing

2023-11-20 Thread Luca Boccassi
Control: found -1 1:1.3.dfsg-1

On Mon, 20 Nov 2023 12:20:55 +0100 Johannes Schauer Marin Rodrigues
 wrote:
> Package: zlib1g
> Version: 1:1.3.dfsg-2
> Severity: serious
> 
> Hi,
> 
> I didn't investigate this further yet but filing this as RC as it is
easy to
> reproduce and it's easy to find out that only zlib1g changed using
debbisect.
> Downgrading to zlib1g 1:1.2.13.dfsg-3 makes the problem go away.
Steps to
> reproduce:
> 
> $ mmdebstrap --include=tex-common,texlive-base unstable /dev/null
> Processing triggers for tex-common (6.18) ...
> Running updmap-sys. This may take some time... done.
> Running mktexlsr /var/lib/texmf ... done.
> Building format(s) --all.
>   This may take some time... 
> fmtutil failed. Output has been stored in
> /tmp/fmtutil.tcAsaQVq
> Please include this file if you report a bug.
> 
> dpkg: error processing package tex-common (--configure):
>  installed tex-common package post-installation script subprocess
returned error exit status 1
> Errors were encountered while processing:
>  tex-common
> E: Sub-process env returned an error code (1)

Looks like this was introduced by 1:1.3.dfsg-1, as it can be reproduced
in a minimal sid chroot by installing it from
https://snapshot.debian.org/archive/debian/20231118T151103Z/pool/main/z/zlib/zlib1g_1.3.dfsg-1_amd64.deb
and then installing texlive-base:

<...>
Processing triggers for tex-common (6.18) ...
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time... 
fmtutil failed. Output has been stored in
/tmp/fmtutil.ohLhbhu3
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
 installed tex-common package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
# dpkg -l | grep zlib
ii  zlib1g:amd64 1:1.3.dfsg-1   amd64   
 compression library - runtime
ii  zlib1g-dev:amd64 1:1.3.dfsg-1   amd64   
 compression library - development

-- 
Kind regards,
Luca Boccassi


signature.asc
Description: This is a digitally signed message part


Bug#1056312: zlib1g makes tex-common fail to install due to fmtutil failing

2023-11-20 Thread Johannes Schauer Marin Rodrigues
Package: zlib1g
Version: 1:1.3.dfsg-2
Severity: serious

Hi,

I didn't investigate this further yet but filing this as RC as it is easy to
reproduce and it's easy to find out that only zlib1g changed using debbisect.
Downgrading to zlib1g 1:1.2.13.dfsg-3 makes the problem go away. Steps to
reproduce:

$ mmdebstrap --include=tex-common,texlive-base unstable /dev/null
Processing triggers for tex-common (6.18) ...
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time... 
fmtutil failed. Output has been stored in
/tmp/fmtutil.tcAsaQVq
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
 installed tex-common package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 tex-common
E: Sub-process env returned an error code (1)