• Bug#249777: semi: prevents gnus-bonus-el package from configuring

    From Tatsuya Kinoshita@1:229/2 to All on Fri Aug 20 00:00:16 2004
    From: [email protected]

    On August 19, 2004 at 6:30PM +0200,
    Laurent.Bonnaud (at inpg.fr) wrote:

    If you installed emacs20 and apel, pces-20.elc should be located
    in `/usr/share/emacs20/site-lisp/apel/pces-20.elc'.

    On my system the file is here:

    /usr/share/emacs/20.7/site-lisp/apel/pces-20.elc

    This is the same file, because emacs20 has symlink `/usr/share/emacs20/site-lisp -> ../emacs/20.7/site-lisp'.

    BTW, I haven't yet understood why your emacs20 didn't
    automatically add apel/*.elc path to load-path.

    emacs20 has subdirs.el in `/usr/share/emacs/20.7/site-lisp'. So
    I think that subdirectories of `/usr/share/emacs/20.7/site-lisp/'
    be automatically added to load-path, even if `-q -no-site-file'
    options are used.

    Could anyone tell me why loading apel/pces-20.elc failed on
    Laurent's system when `emacs20 -q -no-site-file'?

    Thanks,
    --
    Tatsuya Kinoshita

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQBBJR6dgV4LPvpMUpgRAjkMAJ9NQ2n9ss/uWX0fGLwUeenQyQBhiACfVdJc 3t7vYck/AfQNXPzVOoI8ohw=
    =0xPI
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Laurent Bonnaud@1:229/2 to Thomas Bushnell BSG on Wed Aug 18 16:40:06 2004
    From: [email protected]

    On sam, 2004-08-07 at 22:18 -0700, Thomas Bushnell BSG wrote:
    I have just done the following with no problems:

    # apt-get remove gnus-bonus-el gnus
    # apt-get install semi wl t-gnus
    # apt-get install gnus-bonus-el

    with no errors at all.

    Perhaps this was fixed in a release after the one you have installed
    (which appears to be 1.14.6+0.20040).

    Can you try with a more recent version of the package and tell me if
    you still see the bug?

    Yes:

    # apt-get install gnus-bonus-el
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following NEW packages will be installed:
    gnus-bonus-el
    0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
    Need to get 67,9kB of archives.
    After unpacking 315kB of additional disk space will be used.
    Get:1 http://http.us.debian.org sid/main gnus-bonus-el 24.6-2 [67,9kB]
    Fetched 67,9kB in 10s (6188B/s)
    Reading package fields... Done
    Reading package status... Done
    Retrieving bug reports... Done
    Selecting previously deselected package gnus-bonus-el.
    (Reading database ... 841687 files and directories currently installed.) Unpacking gnus-bonus-el (from .../gnus-bonus-el_24.6-2_all.deb) ...
    Setting up gnus-bonus-el (24.6-2) ...
    install/gnus-bonus-el: Handling emacs20, logged in /tmp/elc_VSpcM6.log emacs-package-install: /usr/lib/emacsen-common/packages/install/gnus-bonus-el emacs20 emacs20 emacs21xemacs21 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
    dpkg: error processing gnus-bonus-el (--configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    gnus-bonus-el
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Here are versions of related packages installed on this system:

    ii t-gnus 6.15.8.00-1.1 A branch of Semi-gnus (Gnus for SEMI) variants.
    ii semi 1.14.6+0.20040803-1 library to provide MIME feature for Emacsen
    ii wl 2.10.1+0.20040728-2 Yet Another Message Interface on Emacsen


    Here is the /tmp/elc_VSpcM6.log logfile:

    emacs20 -q -no-site-file --no-site-file -batch -l path.el -f batch-byte-compile gnus-eyecandy.el gnus-filterhist.el gnus-junk.el gnus-outlook-deuglify.el gnus-pers.el message-x.el nnir.el nnnil.el nntodo.el spam-stat.el
    Warning: Lisp directory `/usr/local/share/emacs/20.7/site-lisp' does not exist. Wrote /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-eyecandy.elc
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-filterhist.el:
    !! File error (("Cannot open load file" "pces-20"))
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-junk.el:
    !! File error (("Cannot open load file" "pces-20"))
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-outlook-deuglify.el:
    !! File error (("Cannot open load file" "pces-20"))
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-pers.el:
    !! File error (("Cannot open load file" "pces-20"))
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/message-x.el:
    !! File error (("Cannot open load file" "pces-20"))
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/nnir.el:
    !! File error (("Cannot open load file" "pces-20"))
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/nnnil.el:
    !! File error (("Cannot open load file" "pces-20"))
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/nntodo.el:
    !! File error (("Cannot open load file" "pces-20"))
    Loading cl-extra...
    Wrote /usr/share/emacs20/site-lisp/gnus-bonus-el/spam-stat.elc
    Done


    Here are the pces-20 elisp files installed on this system:

    $ dlocate pces-20
    xemacs21-basesupport: /usr/share/xemacs21/xemacs-packages/lisp/apel/pces-20.elc apel: /usr/share/apel/pces-20.el
    xemacs21-basesupport-el: /usr/share/xemacs21/xemacs-packages/lisp/apel/pces-20.el.gz

    and package versions:

    ii xemacs21-basesuppor 2004.05.17-1 Editor and kitchen sink -- compiled elisp support file
    ii apel 10.6+0.20040418-1 a portable Emacs library


    But since emacs20 has been removed from Debian this bug can not be
    considered as "grave". However, if gnus-bonus-el does not work with
    emacs20, it should perhaps have a conflict in its dependencies.

    --
    Laurent Bonnaud.
    http://www.lis.inpg.fr/pages_perso/bonnaud/




    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Tatsuya Kinoshita@1:229/2 to All on Wed Aug 18 17:30:14 2004
    From: [email protected]

    ----Next_Part(Thu_Aug_19_00_14_09_2004_231)--
    Content-Type: Text/Plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    On August 18, 2004 at 4:08PM +0200,
    Laurent.Bonnaud (at inpg.fr) wrote:

    Errors were encountered while processing:
    gnus-bonus-el

    Here is the /tmp/elc_VSpcM6.log logfile:

    emacs20 -q -no-site-file --no-site-file -batch -l path.el -f batch-byte-compile gnus-eyecandy.el gnus-filterhist.el gnus-junk.el gnus-outlook-deuglify.el gnus-pers.el message-x.el nnir.el nnnil.el nntodo.el spam-stat.el
    Warning: Lisp directory `/usr/local/share/emacs/20.7/site-lisp' does not exist.
    Wrote /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-eyecandy.elc
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-filterhist.el:
    !! File error (("Cannot open load file" "pces-20"))

    If you installed emacs20 and apel, pces-20.elc should be located
    in `/usr/share/emacs20/site-lisp/apel/pces-20.elc'.

    I guess the attached patch fixes this bug.

    --
    Tatsuya Kinoshita

    ----Next_Part(Thu_Aug_19_00_14_09_2004_231)--
    Content-Type: Text/Plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline; filename="gnus-bonus-el-fix.diff"

    --- /usr/lib/emacsen-common/packages/install/gnus-bonus-el.orig
    +++ /usr/lib/emacsen-common/packages/install/gnus-bonus-el
    @@ -89,6 +89,7 @@
    cd ${ELCDIR}

    cat << EOF > path.el
    +(setq load-path (cons "/usr/share/${FLAVOR}/site-lisp/apel" load-path))
    (setq load-path (cons "." load-path) byte-compile-warnings nil)
    EOF
    if test "${APPEND_LOAD_PATH}" != ""

    ----Next_Part(Thu_Aug_19_00_14_09_2004_231)----

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQBBI3JCgV4LPvpMUpgRAuxWAKCgX87+ATNZyvzMWPWEW6CGEQjTdwCfRVnW anLD2rB9gNibrI+ZEDJ1jv4=
    =6KdJ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Peter S Galbraith@1:229/2 to Tatsuya Kinoshita on Wed Aug 18 22:00:12 2004
    From: [email protected]

    Tatsuya Kinoshita <[email protected]> wrote:

    On August 18, 2004 at 4:08PM +0200,
    Laurent.Bonnaud (at inpg.fr) wrote:

    Errors were encountered while processing:
    gnus-bonus-el

    Here is the /tmp/elc_VSpcM6.log logfile:

    emacs20 -q -no-site-file --no-site-file -batch -l path.el -f batch-byte-compile gnus-eyecandy.el gnus-filterhist.el [...]
    Warning: Lisp directory `/usr/local/share/emacs/20.7/site-lisp' does not exist.
    Wrote /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-eyecandy.elc
    While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-filterhist.el:
    !! File error (("Cannot open load file" "pces-20"))

    If you installed emacs20 and apel, pces-20.elc should be located
    in `/usr/share/emacs20/site-lisp/apel/pces-20.elc'.

    I guess the attached patch fixes this bug.

    --
    Tatsuya Kinoshita
    --- /usr/lib/emacsen-common/packages/install/gnus-bonus-el.orig
    +++ /usr/lib/emacsen-common/packages/install/gnus-bonus-el
    @@ -89,6 +89,7 @@
    cd ${ELCDIR}

    cat << EOF > path.el
    +(setq load-path (cons "/usr/share/${FLAVOR}/site-lisp/apel" load-path))
    (setq load-path (cons "." load-path) byte-compile-warnings nil)
    EOF
    if test "${APPEND_LOAD_PATH}" != ""

    I wonder what apel provides that gnus-filterhist.el needs. The package
    doesn't depend on apel and works when apel isn't installed, right?

    I need to understand why the loading of pces-20.el is attempted.
    Everything works here when I byte-compile gnus-filterhist.el.

    $ emacs20 -q -no-site-file --no-site-file -batch -f batch-byte-compile gnus-filterhist.el
    Wrote /tmp/gnus-filterhist.elc
    Done

    This works whether the apel package is installed or not. See also:

    # apt-get install gnus-bonus-el
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages will be upgraded:
    gnus-bonus-el
    1 upgraded, 0 newly installed, 0 to remove and 304 not upgraded.
    Need to get 67.8kB of archives.
    After unpacking 0B of additional disk space will be used.
    Get:1 http://mirror.direct.ca testing/main gnus-bonus-el 24.6-1 [67.8kB] Fetched 67.8kB in 5s (12.8kB/s)
    Reading changelogs... Done
    (Reading database ... 161702 files and directories currently installed.) Preparing to replace gnus-bonus-el 24.5-1 (using .../gnus-bonus-el_24.6-1_all.deb) ...
    remove/gnus-bonus-el: purging byte-compiled files for emacs20 remove/gnus-bonus-el: purging byte-compiled files for emacs21 remove/gnus-bonus-el: purging byte-compiled files for xemacs21
    Unpacking replacement gnus-bonus-el ...
    Setting up gnus-bonus-el (24.6-1) ...
    install/gnus: Ignoring emacs.
    install/gnus: Ignoring emacs20.
    install/gnus: Byte-compiling for emacs21...found emacs21 ..done.
    install/gnus: Byte-compiling for xemacs21...found xemacs21 ..done. install/gnus-bonus-el: Handling emacs20, logged in /tmp/elc_Gqp8sp.log install/gnus-bonus-el: Handling emacs21, logged in /tmp/elc_XRyLWP.log install/gnus-bonus-el: Handling xemacs21, logged in /tmp/elc_8B2fB8.log

    The emacs20 byte-compilation log file has nothing special to report.

    Peter


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)