Your message dated Sun, 07 Jan 2024 21:53:22 +0000
with message-id <e1rmb58-00ft0e...@fasolo.debian.org>
and subject line Bug#1056380: fixed in reprepro 5.4.3-1
has caused the Debian Bug report #1056380,
regarding reprepro hangs on Ubuntu package, unzstd process waiting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1056380: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056380
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: reprepro
Version: 5.3.1-1+deb12u1

reprepro hangs when adding one package, but it does not hang when
reprepro runs under strace. Also it does not hang with every package.
When it hangs, I see unzstd process not finishing.

I'm using 5.3.1-1+deb12u1 on a bookworm system. I have a small
directory containing:

./grub-pc_2.06-2ubuntu7.2_amd64.deb
./M
./M/conf
./M/conf/distributions

$ file grub-pc_2.06-2ubuntu7.2_amd64.deb
grub-pc_2.06-2ubuntu7.2_amd64.deb: Debian binary package (format 2.0), with 
control.tar.zs, data compression zst

$ cat M/conf/distributions
Codename: cskoeln
Architectures: amd64
Components: main
DebIndices: Packages Release .
Description: Package repository created by fai-mirror
Label: fai-project.org
Origin: fai-mirror


[~]$ reprepro -V --ignore=extension -b M includedeb cskoeln 
grub-pc_2.06-2ubuntu7.2_amd64.deb
Created directory "M/db"
<then it hangs>


In another teminal I can see
$ pgrep -a unzst
47472 /usr/bin/unzstd

$ pstree -p
───bash(42341)───reprepro(47461)───unzstd(47472)─┬─{unzstd}(47473)
                                                 └─{unzstd}(47474)


$ find -ls
 36880744      4 drwxr-xr-x   3 lange    user      4096 Nov 22 02:57 .
 36880795    132 -rw-r--r--   1 lange    user    131820 Nov 22 02:57 
./grub-pc_2.06-2ubuntu7.2_amd64.deb
 36880796      4 drwxr-xr-x   4 lange    user      4096 Nov 22 03:02 ./M
 36880763      4 drwxr-xr-x   2 lange    user      4096 Nov 22 03:02 ./M/db
 36880808     64 -rw-r--r--   1 lange    user     65536 Nov 22 03:02 
./M/db/contents.cache.db
 36880803     64 -rw-r--r--   1 lange    user     65536 Nov 22 03:02 
./M/db/packages.db
 36880805     64 -rw-r--r--   1 lange    user     65536 Nov 22 03:02 
./M/db/references.db
 36880801      0 -rw-------   1 lange    user         0 Nov 22 03:02 
./M/db/lockfile
 36880806     64 -rw-r--r--   1 lange    user     65536 Nov 22 03:02 
./M/db/checksums.db
 36880804      4 -rw-r--r--   1 lange    user        31 Nov 22 03:02 
./M/db/version
 36880797      4 drwxr-xr-x   2 lange    user      4096 Nov 22 02:56 ./M/conf
 36880798      4 -rw-r--r--   1 lange    user       184 Nov 22 02:56 
./M/conf/distributions


Now I interrupt the reprepo call. After typing ^C I see

Interruption in progress, interrupt again to force-stop it (and risking 
database corruption!)

grub-pc_2.06-2ubuntu7.2_amd64.deb: component guessed as 'main'
Created directory "M/pool"
Created directory "M/pool/main"
Created directory "M/pool/main/g"
Created directory "M/pool/main/g/grub2"
There have been errors!

faime[~]$ find
.
./grub-pc_2.06-2ubuntu7.2_amd64.deb
./M
./M/db
./M/db/contents.cache.db
./M/db/packages.db
./M/db/references.db
./M/db/checksums.db
./M/db/version
./M/pool
./M/pool/main
./M/pool/main/g
./M/pool/main/g/grub2
./M/pool/main/g/grub2/grub-pc_2.06-2ubuntu7.2_amd64.deb
./M/conf
./M/conf/distributions

The indices are not created.

When I run the same command under strace it does not hang but finished
without errors. Very strange!


$ strace -o /tmp/lll reprepro --ignore=extension -b M includedeb cskoeln 
grub-pc_2.06-2ubuntu7.2_amd64.deb



Now I install an older version of reprepo from bullseye on my bookworm machine:
ii  reprepro       5.3.1-1~bpo11+1 amd64        Debian package repository 
producer


faime[~]$ reprepro -V --ignore=extension -b M includedeb cskoeln 
grub-pc_2.06-2ubuntu7.2_amd64.deb
Created directory "M/db"
zstd: error 70 : Write error : cannot write block : Broken pipe
grub-pc_2.06-2ubuntu7.2_amd64.deb: component guessed as 'main'
Created directory "M/pool"
Created directory "M/pool/main"
Created directory "M/pool/main/g"
Created directory "M/pool/main/g/grub2"
Exporting indices...
Created directory "M/dists"
Created directory "M/dists/cskoeln"
Created directory "M/dists/cskoeln/main"
Created directory "M/dists/cskoeln/main/binary-amd64"


$ find
.
./grub-pc_2.06-2ubuntu7.2_amd64.deb
./M
./M/db
./M/db/contents.cache.db
./M/db/packages.db
./M/db/release.caches.db
./M/db/references.db
./M/db/checksums.db
./M/db/version
./M/dists
./M/dists/cskoeln
./M/dists/cskoeln/Release
./M/dists/cskoeln/main
./M/dists/cskoeln/main/binary-amd64
./M/dists/cskoeln/main/binary-amd64/Release
./M/dists/cskoeln/main/binary-amd64/Packages
./M/pool
./M/pool/main
./M/pool/main/g
./M/pool/main/g/grub2
./M/pool/main/g/grub2/grub-pc_2.06-2ubuntu7.2_amd64.deb
./M/conf
./M/conf/distributions


Although I got an error messages from zstd, it does not hang and
everything looks fine.


-- 
regards Thomas

--- End Message ---
--- Begin Message ---
Source: reprepro
Source-Version: 5.4.3-1
Done: Bastian Germann <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
reprepro, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1056...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <b...@debian.org> (supplier of updated reprepro package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 07 Jan 2024 21:17:35 +0000
Source: reprepro
Architecture: source
Version: 5.4.3-1
Distribution: experimental
Urgency: medium
Maintainer: Bastian Germann <b...@debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Closes: 1045567 1056380
Changes:
 reprepro (5.4.3-1) experimental; urgency=medium
 .
   * Drop manual autoreconf (Closes: #1045567)
   * uncompress: prevent reprepro from hanging on unzstd (Closes: #1056380)
   * Adapt to shunit2 being Multi-Arch: foreign
Checksums-Sha1:
 643590a2ca3074f382d8cff93b254cf6f45a45bc 1757 reprepro_5.4.3-1.dsc
 8b9fcfce459829716ad778803680ba61f09ecda9 461632 reprepro_5.4.3.orig.tar.xz
 aed8dbef0acfddf5ef720e15b28a2ecf27648508 14848 reprepro_5.4.3-1.debian.tar.xz
 cdd6faed419372c9f63437a98c44acd240dd5267 6785 reprepro_5.4.3-1_source.buildinfo
Checksums-Sha256:
 7fbb74ef7c3048b826b6814c5fb97072de04e8ca4e5b45902c0dc96ac7c3bfcf 1757 
reprepro_5.4.3-1.dsc
 2879ac4a218c7db78a5390f3d356eed15ebc41fa4a7cf05bf63239981d70ebcc 461632 
reprepro_5.4.3.orig.tar.xz
 d6984a39251fe42d1bb7afdb9b45ce51f647ede12614dd8325d3f548bf6a69df 14848 
reprepro_5.4.3-1.debian.tar.xz
 86ebec10de6049f528694b72c836d87646343bd63211edb6fc2a3cf4309789bc 6785 
reprepro_5.4.3-1_source.buildinfo
Files:
 5d6bc6cbfad9e081d5793b2356446f18 1757 utils optional reprepro_5.4.3-1.dsc
 21806b774a2b3ef20ced73dd6ff35a26 461632 utils optional 
reprepro_5.4.3.orig.tar.xz
 bec3ee4497f4e3a7cd652a79c075b9a8 14848 utils optional 
reprepro_5.4.3-1.debian.tar.xz
 cd2311c5e5e4e264a704a049505a9802 6785 utils optional 
reprepro_5.4.3-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmWbG1AQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFPq5DACu/C8jFwW8w7qAhqgmvjbaDa6KfDVy2Vts
isfw2TUIpgJNnw2EcyX6oSljhi+vxzfDLyRHfYmBYwe9iFL4FMiyXyiNt0HZp0YG
4Q5q6Rxqfd7bt7DG232wEA6sAdDrUJbuisfvzbfLL8lKMP8kPvrXzEKXNA4q0knV
yb+VzNqZ0H5XfFo0e/7LdgtNafsLodF7RLpN7BLS8u6RXCjZFhGJeIXpJA7jzMeo
zx2fwgYvfm0idEmN0o2GysIrffO6FPD66OAwcFnv3YXN1U0zdeDhWsibdcCxnnZC
umhcYCSxJbpoifhpn2W64hKx91VoP6AFFP46K22ywKsTUfex4nPvwRN5SBTBOhL1
zBL996QvrKNRV2tUcB4Wrl17rHx7EqK3JjbUTze/5Ij6Sy3j+0/CcBMuVEG7AM1t
tHvhlDH1PNeDL5Ezg8U3maNeqK3JNg0/0BTRz40GgFCiQKIAHQGEfOyX8usTDwyq
tcRo6fBA0NTHZGx0gZf4UWeYGv3+S44=
=ALH2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to