Your message dated Tue, 12 Mar 2019 20:42:51 +0000
with message-id <e1h3oed-0004i1...@fasolo.debian.org>
and subject line Bug#923609: fixed in gdbm 1.18.1-4
has caused the Debian Bug report #923609,
regarding libgdbm6: binary incompatibility with old databases on at least i386
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.)


-- 
923609: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923609
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libgdbm6
Version: 1.18.1-3
Severity: serious
Control: block 923238 with -1

GDBM databases created on stretch (gdbm 1.8.3-14) are not
compatible with libgdbm in sid/buster (1.18.1-3) on at least
the i386 (32-bit x86) architecture, probably also armhf.

This means that any local user databases will break on upgrade from
stretch to buster. It also breaks a few Debian packages that use GDBM
files (known affected are libmarc-charset-perl and command-not-found).

Bug #910911 discussed a similar problem that applied to all architectures.
It seems probable that the fix for that never worked on i386 but this
was just not detected earlier. The incompatibility was reported recently
in bug #923238 and was found because Ubuntu has a better architecture
coverage on their autopkgtest setup.

Below are steps to reproduce, testing with Python 2, Python 3, and Perl.
We make a trivial GDBM database with each, containing just one key "foo"
with the value "bar". After upgrading to buster on i386, none of these
databases can be read and "Malformed database file header" is reported.
On amd64, everything works fine after the upgrade.

# start from stretch
# apt install python-gdbm python3-gdbm perl

python - <<'EOF'
import gdbm                                                   
gdbm.open("py2-stretch.gdbm", "c")["foo"] = "bar"
EOF

python3 <<'EOF'
import dbm.gnu
dbm.gnu.open("py3-stretch.gdbm", "c")["foo"] = "bar"
EOF

perl <<'EOF'
use GDBM_File;
tie %h,  q(GDBM_File), "perl-stretch.gdbm", &GDBM_WRCREAT, 0640
  or die "opening GDBM file failed: $!";
$h{foo} = "bar"
EOF

# ls -l *.gdbm
-rw-r----- 1 root root 12294 Mar  2 19:04 perl-stretch.gdbm
-rw-r--r-- 1 root root 12294 Mar  2 19:04 py2-stretch.gdbm
-rw-r--r-- 1 root root 12294 Mar  2 19:04 py3-stretch.gdbm

# upgrade to buster
# sed -i s/stretch/buster/ /etc/apt/sources.list && apt update && apt 
dist-upgrade && apt install gdbmtool

# test with gdbmtool
# gdbmtool py2-stretch.gdbm fetch foo
gdbmtool: stdin:1.1-10: cannot open database py2-stretch.gdbm: Malformed 
database file header
# gdbmtool py3-stretch.gdbm fetch foo
gdbmtool: stdin:1.1-10: cannot open database py3-stretch.gdbm: Malformed 
database file header
# gdbmtool perl-stretch.gdbm fetch foo
gdbmtool: stdin:1.1-10: cannot open database perl-stretch.gdbm: Malformed 
database file header

# similar results with any of these:

perl <<'EOF'
use GDBM_File;
 tie %h,  q(GDBM_File), "perl-stretch.gdbm", &GDBM_READER, 0640
  or die "opening GDBM file failed: $!";
print $h{foo}, "\n";
EOF

python <<'EOF'
import gdbm
print(gdbm.open("py2-stretch.gdbm", "r")["foo"])
EOF

python3 <<'EOF'
import dbm.gnu 
print(dbm.gnu.open("py3-stretch.gdbm", "r")["foo"])
EOF

-- 
Niko Tyni   nt...@debian.org

--- End Message ---
--- Begin Message ---
Source: gdbm
Source-Version: 1.18.1-4

We believe that the bug you reported is fixed in the latest version of
gdbm, 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 923...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Bogatov <kact...@debian.org> (supplier of updated gdbm 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: Tue, 12 Mar 2019 20:23:34 +0000
Source: gdbm
Architecture: source
Version: 1.18.1-4
Distribution: unstable
Urgency: medium
Maintainer: Dmitry Bogatov <kact...@debian.org>
Changed-By: Dmitry Bogatov <kact...@debian.org>
Closes: 923609
Changes:
 gdbm (1.18.1-4) unstable; urgency=medium
 .
   * Install gdbm tools without large file support to facilate transition
     of databases, created on Stretch and before. (Closes: #923609)
   * Re-export upstream signing key without extra signatures.
Checksums-Sha1:
 ecefe13d9e1b6c8f8ef9b5f22c0078e6a2faedd0 2635 gdbm_1.18.1-4.dsc
 6e6808b74e8312ae1f16fc52b2e4cd3cb1f0c0d1 16460 gdbm_1.18.1-4.debian.tar.xz
 49bdb4da867c405ff41c3432000814f4065303fb 5663 gdbm_1.18.1-4_source.buildinfo
Checksums-Sha256:
 14f2a1741041f3ee8ebe1db9985ec12855c856a4c545ace6140b1222030ae64a 2635 
gdbm_1.18.1-4.dsc
 1a7771cf18cacf86b8415cbdeafa4e54dd2dadee59f0c29833aba476726594c5 16460 
gdbm_1.18.1-4.debian.tar.xz
 18ca0e56fd34afad694de340b1bcf2ebc4ec5da083c48333a397097d41266402 5663 
gdbm_1.18.1-4_source.buildinfo
Files:
 8eefd9e449e7d20fb16245aefa3bccc2 2635 libs optional gdbm_1.18.1-4.dsc
 5129d291f5b08f445647cf6e6685e515 16460 libs optional 
gdbm_1.18.1-4.debian.tar.xz
 525b2080acdb030ccdba0980c0b3705d 5663 libs optional 
gdbm_1.18.1-4_source.buildinfo

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

iQJHBAEBCgAxFiEEhnHVzDbtdH7ktKj4SBLY3qgmEeYFAlyIFXwTHGthY3Rpb25A
ZGViaWFuLm9yZwAKCRBIEtjeqCYR5ssSEACQ2XJGMnpoIydrfKKM+xLT7GCC329w
qwaD+9rfo4IP5xO+Eua/ql4ESJO0T+rKYHn0YHDdPwrr1YT+LCpbxATHlK9zf6Vr
h42EkAAOoBA2nlRt8KCTSCfO9D2Iw0QHizEn67LIE4434KlzEqPeCaXad101qR8y
dyl1Y9CGmX+I71bGrAP6A0MfPyku45uFyUZoWH3ExVV0O8sQjntjHqGmSFiQSjZa
fZPqBfuXNN2fXAbRxO+x6sy3gqLAoyXCRb+rOoP3Ssn6VObrd5/2yDxvI6aoHS28
uTHG2LayvRKMWi2Yf3WpAchWQ02ZYTl+LaLsTuThttj6KuH+jyazaNHS6g3hBqAV
ORbcdQC15c275N4izqdWr98rk3yUvKFeyUzik246n8jRbWBH7BDGbmKWxvumyl+b
k5XC9QxEySX+258E3fukH0Pso7eJKHUyXzMp9LSdp5EanEU7gdJsi4HDArivf8Ab
ZUbxcHetX9rybZ1hDap/6aoquL/ous9myBiaFeOHXDMZ+0WAeOAxgtf3be2P56mC
zeuz/dVV8vCbYklRws4dc3cXlHk9iy21eTgWMOhoH+V1nj1dSdaJiq23jxEz2E1O
J/c9lxtXyAB+QRh+2zQOygphjXGTVvbeqbNV5zo3jILnaUN6e8VBPqs/eBOc0ljd
car8CDtpHfOGYg==
=ZLAL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to