Your message dated Sun, 02 Dec 2018 18:34:28 +0000
with message-id <[email protected]>
and subject line Bug#907651: fixed in grep 3.1-3
has caused the Debian Bug report #907651,
regarding grep: dlopens libpcre, but is directly linked to it anyway
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 [email protected]
immediately.)


-- 
907651: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907651
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grep
Version: 3.1-2
Severity: normal

The version of grep in Debian carries a patch to dlopen libpcre.so.3.
However, it is also directly linked to libpcre.so.3 (objdump -Tx /bin/grep
shows "NEEDED libpcre.so.3"), and will not execute without it. This also
generates a hard dependency (in fact a Pre-Depends, because grep is
Essential: yes).

If the intention was to make grep -P opportunistically use libpcre.so.3
if present, but not use it if absent (like the way libopenal1 has a weak
dependency on libasound2, libpulse0 and libportaudio2), then it should
not be linked with -lpcre, only with -ldl. This will need some sort of
patch to its build system.

Alternatively, if grep -P is considered to be part of the Essential
functionality of grep, then the dlopen patch can be dropped and it can
just use libpcre like a normal library (the same as pcregrep).

Please choose one or the other: the current situation is the worst of
both worlds (you have the maintenance headache of the patch, but you
still have the dependency).

The changelog entry for 2.25-6 suggests that a weak dependency
is what was intended. If so, then it should be possible for the
upstream-test-suite-no-pcre3 autopkgtest to be reinstated and pass
without libpcre3 installed. It would probably be also good to have an
autopkgtest that runs "objdump -Tx /bin/grep | grep NEEDED" and
asserts that libpcre is not in the output.

    smcv

--- End Message ---
--- Begin Message ---
Source: grep
Source-Version: 3.1-3

We believe that the bug you reported is fixed in the latest version of
grep, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Ruano Rincón <[email protected]> (supplier of updated grep 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 [email protected])


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

Format: 1.8
Date: Sun, 02 Dec 2018 18:58:48 +0100
Source: grep
Binary: grep
Architecture: source
Version: 3.1-3
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[email protected]>
Changed-By: Santiago Ruano Rincón <[email protected]>
Description:
 grep       - GNU grep, egrep and fgrep
Closes: 532541 907651 915206
Changes:
 grep (3.1-3) unstable; urgency=low
 .
   [ Santiago Ruano Rincón ]
   * Add upstream-532541-doc-improve-o-help.patch: Improve help about -o.
     (Closes: #532541)
   * Remove debian/patches/03-397262-dlopen-pcre.patch: dlopen libpcre.so.3 has
     been actually wrongly applied and not really used. This patch does not
     make sense any more (since stretch), since late-mounting of /usr is not
     longer supported. (Closes: #907651)
   * Add upstream-915206-0001-tests-backref-alt-works-with-glibc-2.28.patch.
     Fix FTBFS with glibc 2.28. (Closes: #915206)
   * d/source/options: remove compression = "bzip2", let dpkg-deb select
     suitable defaults.
 .
   [ Ondřej Nový ]
   * d/copyright: Use https protocol in Format field
   * d/control: Remove Testsuite field, not needed anymore
   * d/changelog: Remove trailing whitespaces
   * d/rules: Remove trailing whitespaces
   * d/control: Set Vcs-* to salsa.debian.org
Checksums-Sha1:
 10e6a9075972d98a7be4812a6c400f0682af3c8a 2038 grep_3.1-3.dsc
 e6b06840b91b25a9030d36e0ea0b9cf7c560bb94 105700 grep_3.1-3.debian.tar.xz
 4762a1871f8edee415778713aae0d16fee6edb2f 6066 grep_3.1-3_amd64.buildinfo
Checksums-Sha256:
 6595e7c7a09e762480c9fc6e7f45534de903396f17f71862e939154ec51afbd0 2038 
grep_3.1-3.dsc
 0e549e73f47d007eee51cd49a28eeaee74d9698703b958a5fe0bdab291ddfbaa 105700 
grep_3.1-3.debian.tar.xz
 56163163dd701a4063d678b8528d40da49ff17db1c2e0e6ce3beeb1f86e3a4c6 6066 
grep_3.1-3_amd64.buildinfo
Files:
 7a35ccb2e1ed7455b5bf2f924f2925a9 2038 utils required grep_3.1-3.dsc
 08e50c382b41c5d1e41917f4c611bd89 105700 utils required grep_3.1-3.debian.tar.xz
 a61ba9d458b5c21e25f20109161c4fd1 6066 utils required grep_3.1-3_amd64.buildinfo

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

iQJIBAEBCgAyFiEEwUqnBPVvaa0NAVzHFX/a4RXx4q0FAlwEI/kUHHNhbnRpYWdv
QGRlYmlhbi5vcmcACgkQFX/a4RXx4q0YDA//bqwJp3vW92BI+whF1iWxQF/xXwVG
T6IhRqSrpgZWjaezHOE1TjQb+s23S4hRQJSSQPT/J+thc/j3co4heTmzpnNZrnIK
5XJHznQjddLxd/EjwhLBWN552CSFLS6BxoVUk/kI+N2Wbwhv06IRlG+Qdt9PwbXV
OxEM/3HM9bCk5RqBFmWd3vOFcEc7rpxYR/s1LOM4NpDPsgwIof/D1DlvHBvnuyjb
XyxKjJNQAAD/6SsF9Xc8HXkptESc2AjaMB0gcaOgUqHHBON7gmxSUTj3O0XE3F5G
7aT4Z6ItcqliT2mSZz3RP9rkloQOjeTa0go8T4N6+kKd8mf3MnEF2/HUK5Fqytmu
myoxlPxutEwb6QukJ5U+OrEPb1jIDZquVMUIbuJV14wepjkKCYwHjXZnBoVFUcaC
CGZfHsW5gEsZQjclt/uAW3JxGOi1g7cgauybecUiG57y/c5QhJp8Wtd0nnvEamnE
EbnN4a8RfDDzid9LRp9GW8vKmwvbHnW+CWrJXPJERKb4qFslHEFcg6DR0HAISFDY
mmsIQpP7V1PPEcOdpyHLKAv7xkSo7G75uOLaJx7qjTA73PdBKu1QBilxTFCHwD+r
ZZ179HX4iKr0UJOjXxTwvYMOYQz8j18iefWfWKLe3cLkgwCUC/gd9IQoqwQtJ+rm
QdY7iO4vcAslPx0=
=Ix/r
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to