Bug#827206: pbuilder: pre-installed eatmydata removed

gregor herrmann gregoa at debian.org
Mon Jun 13 17:38:31 UTC 2016


Package: pbuilder
Version: 0.225
Severity: normal

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

As a side effect of fixing #606158 / adding a new EATMYDATA variable,
it seems that now a pre-installed eatmydata is removed from the
chroot on upgrades when EATMYDATA=no (added to $REMOVEPACKAGES in
/usr/lib/pbuilder/pbuilder-modules). Live and in colour^Wblack&white:

# cowbuilder --update
[..]
Reading package lists...
I: Removing [eatmydata] from the chroot...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libeatmydata1
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
  eatmydata*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 27.6 kB disk space will be freed.
(Reading database ... 9826 files and directories currently installed.)
Removing eatmydata (105-3) ...
I: Obtaining the cached apt archive contents
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following package was automatically installed and is no longer required:
  libeatmydata1
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  libeatmydata1
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 38.9 kB disk space will be freed.
(Reading database ... 9819 files and directories currently installed.)
Removing libeatmydata1:amd64 (105-3) ...
Processing triggers for libc-bin (2.22-11) ...
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Here the ERRORs are triggered by my LD_PRELOAD in pbuilderrc.

Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version (0.8.1-1).
build-essential is already the newest version (12.2).
ccache is already the newest version (3.2.5-1).
dpkg-dev is already the newest version (1.18.7).
The following additional packages will be installed:
  libeatmydata1
The following NEW packages will be installed:
  eatmydata libeatmydata1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.9 kB of archives.
After this operation, 66.6 kB of additional disk space will be used.

And now it gets installed again, as I have it in $EXTRAPACKAGES in pbuilderrc.

ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
debconf: delaying package configuration, since apt-utils is not installed
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Selecting previously unselected package libeatmydata1:amd64.
(Reading database ... 9811 files and directories currently installed.)
Preparing to unpack .../libeatmydata1_105-3_amd64.deb ...
Unpacking libeatmydata1:amd64 (105-3) ...
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Selecting previously unselected package eatmydata.
Preparing to unpack .../eatmydata_105-3_all.deb ...
Unpacking eatmydata (105-3) ...
Processing triggers for libc-bin (2.22-11) ...
Setting up libeatmydata1:amd64 (105-3) ...
Setting up eatmydata (105-3) ...
[..]


If this means that I must change my config and the "old way" is just
not supported anymore, I can live with it. Maybe a clearer note in
the documentation might be warranted in that case.

Otherwise a little fine-tuning (only add eatmydata to REMOVEPACKAGES
when it's not in EXTRAPACKAGES; or not removing it at all) might be
an idea.

Thanks for your work on pbuilder!


Cheers,
gregor


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJXXu+WXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC
QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoG64QP/jTvYEV5t2L3iv1gCUMtXfXo
juhI8JQhv8XLGAU5IOQHy+tObMuRH2V/OsdyktFbopxqLBset3r92sJgmPECC8/a
M08l4YVH9J8NTyHdUiMlGOOG17/f8qYyEczbC7guk82YudBnhZGPp0P0dhixRyPJ
1YapmrJmHjxggc1XyqRLo4MmmuPcJDswMsS10PNZmE87VtBeILBuLn2GvA4s0Ytb
1JCDvd3qqxvocMVguvgIKoNxxQITJRjcUEMcvotlkxRazfjlFzegjjb4neCb5GWt
mBzVxLIhHL2E5/MK76dw+u2NR1mXsfmdAv3YAKs4inzwRuWl2/+/LaCGYdzk3e/i
f3Doawfnh22jURvVJ2Rr6Ll7L5GqXxLo2uiiF4EqECUdIvLp3Wmh34gfxbL/OFWW
BThFD2yEOOSExlT8BKeIJzNs75/+PSbER1U6IXvmNRAQgyfhj9ltPnq+bFGMByzx
d+cu7ENJSspyPB0NUqX3YBFiuGiZKMVCadLU4WwyIrxC53tK0aLDYSMFc9AFnkyi
BOLKjDZk8KsEZ5iTGGPh37V8qADSN4pgGOSke0yMHfHzScdgO7+dmwySklwiW8Gy
DZzO0fdwpSouAU09fp2DcFBv7SYywT6kaVlCuhA1R1qvW68L5ZQ8BDu0fIyZT8b3
smPM/7K1/FA5aNIrj5OH
=QdYM
-----END PGP SIGNATURE-----



More information about the Pbuilder-maint mailing list