Bug#880976: lbdb: should not depend on bbdb (only suggest it)

2017-11-07 Thread Roland Rosenfeld
On Di, 07 Nov 2017, Jochen Sprickerhof wrote:

> Also, accepting the upgrade gives me:
> 
> Loading /etc/emacs/site-start.d/50lbdb.el (source)...
> 
> In lbdb:
> lbdb.el:236:32:Warning: ‘interactive-p’ is an obsolete function (as of 23.2);
>use ‘called-interactively-p’ instead.
> 
> In toplevel form:
> lbdb_bbdb_query.el:8:1:Error: Cannot open load file: No such file or 
> directory, bbdb-com
> ERROR: install script from lbdb package failed
> dpkg: error processing package lbdb (--configure):
> installed lbdb package post-installation script subprocess returned error 
> exit status 1
> Processing triggers for libc-bin (2.24-17) ...
> Errors were encountered while processing:
> lbdb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Hmmm, no idea, what's going wrong there.  I cannot reproduce this on
my system, neither with emacs24 nor with emacs25.
Also piuparts didn't report an issue on upgrading to 0.45.1:
https://piuparts.debian.org/sid/pass/lbdb_0.45.1.log

Greetings

Roland


signature.asc
Description: PGP signature


Bug#880976: lbdb: should not depend on bbdb (only suggest it)

2017-11-07 Thread Jochen Sprickerhof

Also, accepting the upgrade gives me:

Loading /etc/emacs/site-start.d/50lbdb.el (source)...

In lbdb:
lbdb.el:236:32:Warning: ‘interactive-p’ is an obsolete function (as of 23.2);
   use ‘called-interactively-p’ instead.

In toplevel form:
lbdb_bbdb_query.el:8:1:Error: Cannot open load file: No such file or directory, 
bbdb-com
ERROR: install script from lbdb package failed
dpkg: error processing package lbdb (--configure):
installed lbdb package post-installation script subprocess returned error exit 
status 1
Processing triggers for libc-bin (2.24-17) ...
Errors were encountered while processing:
lbdb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Full log:

# aptitude
Performing actions...
Laden der Fehlerberichte … Erledigt
»Found/Fixed«-Informationen werden ausgewertet … Erledigt
serious Fehler von emacs25 (→ 25.2+1-6) 
b1 - #875430 - emacs25: please add Breaks: edb (<< 1.32)
Zusammenfassung:
emacs25(1 Fehler)
Sind Sie sicher, dass Sie die oben genannten Pakete installieren bzw. ein 
Upgrade von ihnen durchführen wollen? [Y/n/?/...]
Reading changelogs... Done
(Reading database ... 68658 files and directories currently installed.)
Preparing to unpack .../libapt-pkg5.0_1.6~alpha4_armhf.deb ...
Unpacking libapt-pkg5.0:armhf (1.6~alpha4) over (1.6~alpha3) ...
Setting up libapt-pkg5.0:armhf (1.6~alpha4) ...
(Reading database ... 68658 files and directories currently installed.)
Preparing to unpack .../libapt-inst2.0_1.6~alpha4_armhf.deb ...
Unpacking libapt-inst2.0:armhf (1.6~alpha4) over (1.6~alpha3) ...
Preparing to unpack .../apt_1.6~alpha4_armhf.deb ...
Unpacking apt (1.6~alpha4) over (1.6~alpha3) ...
Setting up apt (1.6~alpha4) ...
(Reading database ... 68658 files and directories currently installed.)
Preparing to unpack .../apt-utils_1.6~alpha4_armhf.deb ...
Unpacking apt-utils (1.6~alpha4) over (1.6~alpha3) ...
Selecting previously unselected package install-info.
Preparing to unpack .../install-info_6.5.0.dfsg.1-1_armhf.deb ...
Unpacking install-info (6.5.0.dfsg.1-1) ...
Setting up install-info (6.5.0.dfsg.1-1) ...
Selecting previously unselected package liblockfile-bin.
(Reading database ... 68672 files and directories currently installed.)
Preparing to unpack .../00-liblockfile-bin_1.14-1+b1_armhf.deb ...
Unpacking liblockfile-bin (1.14-1+b1) ...
Selecting previously unselected package liblockfile1:armhf.
Preparing to unpack .../01-liblockfile1_1.14-1+b1_armhf.deb ...
Unpacking liblockfile1:armhf (1.14-1+b1) ...
Selecting previously unselected package liblqr-1-0:armhf.
Preparing to unpack .../02-liblqr-1-0_0.4.2-2+b2_armhf.deb ...
Unpacking liblqr-1-0:armhf (0.4.2-2+b2) ...
Selecting previously unselected package imagemagick-6-common.
Preparing to unpack .../03-imagemagick-6-common_8%3a6.9.7.4+dfsg-16_all.deb ...
Unpacking imagemagick-6-common (8:6.9.7.4+dfsg-16) ...
Selecting previously unselected package libmagickcore-6.q16-3:armhf.
Preparing to unpack .../04-libmagickcore-6.q16-3_8%3a6.9.7.4+dfsg-16_armhf.deb 
...
Unpacking libmagickcore-6.q16-3:armhf (8:6.9.7.4+dfsg-16) ...
Selecting previously unselected package libmagickwand-6.q16-3:armhf.
Preparing to unpack .../05-libmagickwand-6.q16-3_8%3a6.9.7.4+dfsg-16_armhf.deb 
...
Unpacking libmagickwand-6.q16-3:armhf (8:6.9.7.4+dfsg-16) ...
Selecting previously unselected package emacs25-common.
Preparing to unpack .../06-emacs25-common_25.2+1-6_all.deb ...
Unpacking emacs25-common (25.2+1-6) ...
Selecting previously unselected package emacs25-bin-common.
Preparing to unpack .../07-emacs25-bin-common_25.2+1-6_armhf.deb ...
Unpacking emacs25-bin-common (25.2+1-6) ...
Selecting previously unselected package libotf0:armhf.
Preparing to unpack .../08-libotf0_0.9.13-3+b1_armhf.deb ...
Unpacking libotf0:armhf (0.9.13-3+b1) ...
Selecting previously unselected package m17n-db.
Preparing to unpack .../09-m17n-db_1.7.0-2_all.deb ...
Unpacking m17n-db (1.7.0-2) ...
Selecting previously unselected package libm17n-0:armhf.
Preparing to unpack .../10-libm17n-0_1.7.0-3+b2_armhf.deb ...
Unpacking libm17n-0:armhf (1.7.0-3+b2) ...
Selecting previously unselected package emacs25.
Preparing to unpack .../11-emacs25_25.2+1-6_armhf.deb ...
Unpacking emacs25 (25.2+1-6) ...
Selecting previously unselected package bbdb.
Preparing to unpack .../12-bbdb_2.36-4.1_all.deb ...
Unpacking bbdb (2.36-4.1) ...
Preparing to unpack .../13-libgraphicsmagick-q16-3_1.3.26-18_armhf.deb ...
Unpacking libgraphicsmagick-q16-3 (1.3.26-18) over (1.3.26-17) ...
Preparing to unpack .../14-graphicsmagick_1.3.26-18_armhf.deb ...
Unpacking graphicsmagick (1.3.26-18) over (1.3.26-17) ...
Preparing to unpack .../15-lbdb_0.45.1_armhf.deb ...
Unpacking lbdb (0.45.1) over (0.45) ...
Preparing to unpack .../16-libaprutil1_1.6.1-1_armhf.deb ...
Unpacking libaprutil1:armhf (1.6.1-1) over (1.6.0-2) ...
Preparing to unpack .../17-libapr1_1.6.3-1_armhf.deb ...
Unpacking libapr1:armhf (1.6.3-1) over (1.6.2-1) ...
Preparing to unpack .../18-libass9_1%3a0.14.0-1_armhf.deb ...
Unpacking 

Bug#880976: lbdb: should not depend on bbdb (only suggest it)

2017-11-07 Thread Jochen Sprickerhof

Hi,

I found my server wanting to install 95MB of new packages because of 
this today. Would be great if you could downgrade the dependency.


Two other possibilities I see:

- Move the elisp files into a separate package.
- Use a trigger instead of the postinst (but that would be rather a 
 dh-elpa bug, I guess (haven't looked into it)).


Cheers Jochen


signature.asc
Description: PGP signature


Bug#880976: lbdb: should not depend on bbdb (only suggest it)

2017-11-06 Thread Roland Rosenfeld
Hi Jonas!

On Mo, 06 Nov 2017, Jonas Smedegaard wrote:

> Package: lbdb
> Version: 0.45.1
> Severity: important

> lbdb means "Little Brother's DataBase" and I take that to indicate that
> it is lightweight compared to bbdb.

It's only a name of a program, which doesn't has this implication.
While BBDB is a address book mechanism in Emacs, LBDB is a different
address book mechanism for mutt.

> Release 0.45.1 adds dependency on bbdb, defeating that lightness: It now
> pulls in emacs which means for me 112 MB of unneeded baggage.
> 
> Please lower to only suggesting bbdb similar to all the other helper
> tools supported optionally by lbdb.

The problem is, that there are two elisp files included in lbdb
package, which I try to handle with dh-elpa.  This fails for
lbdb_bbdb_query.el (used in m_bbdb module), if bbdb isn't installed.

Anyway, I fear that for you not bbdb is the main problem but dh-elpa,
which depends on emacs25-nox | emacs25 | emacs24-nox | emacs24.

Maybe I should undo the migration from emacsen-common to dh-elpa, that
I was forced to by lintian warning (see
https://lintian.debian.org/tags/emacsen-common-without-dh-elpa.html )
or split out the elisp stuff into a separate package elpa-lbdb or the
like...

Greetings
Roland





signature.asc
Description: PGP signature


Bug#880976: lbdb: should not depend on bbdb (only suggest it)

2017-11-06 Thread Jonas Smedegaard
Package: lbdb
Version: 0.45.1
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

lbdb means "Little Brother's DataBase" and I take that to indicate that
it is lightweight compared to bbdb.

Release 0.45.1 adds dependency on bbdb, defeating that lightness: It now
pulls in emacs which means for me 112 MB of unneeded baggage.

Please lower to only suggesting bbdb similar to all the other helper
tools supported optionally by lbdb.

 - Jonas

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAloAgD0ACgkQLHwxRsGg
ASHSvxAApUgXaRDfHcn1PKjKptzkAvGcKcW+bqhGCoWebi9QFy6m3YfGQCxgimDf
ruQRjyK8TmHfzW8eXJ8FXnOigIkhclrSSZ9ewEHSgmIzmUeCumHvTT72WVUFPc9u
leSaRG8FBuG+3PhHcXHsroxlFOddAsJJ6cPEjnhD7O9Lk93eEJnZKgZ3wPdLtG6N
QBNTGNBkRYc0NkOepnZJDgOrZmQ4K7/TaqsMIWt3kXd5C7gBDNh5dSyczSTvOtbi
7El/dgvZOt9Zk1qdTHPTXjkcYC971jtew9fllDRhelaUyJ638Sf6tmRd6n6BsSst
X4xWPhcF2QlEzfpQpmoQ9AHPFtNERfRY6zivLfbP98tf+LzaVT5kpvYLPkbsoILd
uN2kNj/Pr/VanOQkYuchYXzxhaGPonmgNP3DvG5g0GjbnHlpb850sKqkhaxasH5I
0ZdOdAtwd3x4lFvZ/u/YYXVjuMrd3ChhvkUEfkAh06n/EYwywNjvwwlR0G7trZct
tf5w+EtdUl0OPBIPGtnO7dgI9lFdNiqL9Qnkpr7tr0/LkjSDXrB3PbGlqaPqX1fw
93r1h3kAS5Na8fsvud+0gbz9/ktoOgrmMYgH01KcCtAhzKb52XZnxcz5euHRZttu
UsQF6pJXyO6pQXAdj4/mQViBlLrAw7+6HfFBZNd4pfSTuC0yGtU=
=NlxG
-END PGP SIGNATURE-