Bug#1002982: elpa-org: post-installation script subprocess returned error exit status 1
Package: elpa-org Version: 9.5.2+dfsh-1 Severity: grave X-Debbugs-Cc: none, Lev Lamberov Dear Maintainer, While updating elpa-org (9.4.0+dfsg-1 -> 9.5.2+dfsh-1, in testing) I faced a problem with post-installation, which is still there even in case of completely removing elpa-org and then reinstalling it. Please, see the followin apt output: * Purging $ LC_ALL=C.UTF-8 sudo apt purge elpa Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package elpa 10:43:17-dogsleg@shakva:~$ LC_ALL=C.UTF-8 sudo apt purge elpa-org Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: elpa-htmlize Use 'sudo apt autoremove' to remove it. The following packages will be REMOVED: elpa-org* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 5214 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 486521 files and directories currently installed.) Removing elpa-org (9.5.2+dfsh-1) ... Remove elpa-org for emacs remove/org-9.5.2: Handling removal of emacsen flavor emacs dh-elpa: purging flavor specific files for emacs * Installing again $ LC_ALL=C.UTF-8 sudo apt install elpa-org Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: ditaa The following NEW packages will be installed: elpa-org 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/949 kB of archives. After this operation, 5214 kB of additional disk space will be used. Selecting previously unselected package elpa-org. (Reading database ... 486388 files and directories currently installed.) Preparing to unpack .../elpa-org_9.5.2+dfsh-1_all.deb ... Unpacking elpa-org (9.5.2+dfsh-1) ... Setting up elpa-org (9.5.2+dfsh-1) ... tsort: -: input contains a loop: tsort: elpa-htmlize tsort: emacsen-common Install elpa-htmlize for emacs install/htmlize-1.56: Handling install of emacsen flavor emacs install/htmlize-1.56: byte-compiling for emacs Install emacsen-common for emacs emacsen-common: Handling install of emacsen flavor emacs Install elpa-org for emacs install/org-9.5.2: Handling install of emacsen flavor emacs install/org-9.5.2: byte-compiling for emacs Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-agenda.el:50:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-archive.el:31:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-attach-git.el:32:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-attach.el:38:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-capture.el:51:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-clock.el:32:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-colview.el:32:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-ctags.el:141:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-datetree.el:33:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-element.el:64:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-feed.el:91:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-goto.el:25:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-habit.el:32:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly. Check installation! In toplevel form: org-id.el:73:1:Error: Invalid version syntax: ‘N/A’ (must start with a number) Warning (emacs): Could not define org version correctly.
Bug#1002982: elpa-org: post-installation script subprocess returned error exit status 1
Package: elpa-org Version: 9.5.2+dfsh-1 Followup-For: Bug #1002982 Dear Maintainer, After installation, org-version.el is missing (not auto-generated ?) in /usr/share/emacs/site-lisp/elpa-src/org-9.5.2/ and soft-linked in /usr/share/emacs/site-lisp/elpa/org-9.5.2/ Then the elpa-org 9.5.2 loads the org-version.el from default org 9.3 from emacs 27.1 ( /usr/share/emacs/27.1/lisp/org/org-version.el ) To reproduce the loading of the wrong file: emacs -q then in emacs M-x org-reload give the following message: Successfully reloaded Org Org mode version N/A (N/A !!check installation!! @ /usr/share/emacs/site-lisp/elpa/org-9.5.2/) The full text of the *Messages* buffer at the org-reload execution. Note the directory of the loading of org-version (last previous last loading) Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-comint...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-core...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-emacs-lisp...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-eval...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-exp...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-lob...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-ref...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-table...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/ob-tangle...done Loading /usr/share/emacs/27.1/lisp/obarray...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-compat...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-entities...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-faces...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-footnote...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-keys...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-list...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-macro...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-macs...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-pcomplete...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-src...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org-table...done Loading /usr/share/emacs/27.1/lisp/org/org-version.el (source)...done Loading /usr/share/emacs/site-lisp/elpa/org-9.5.2/org...done The following features were found in load-path, please check if that’s correct: (obarray org-version) Successfully reloaded Org Org mode version N/A (N/A !!check installation!! @ /usr/share/emacs/site-lisp/elpa/org-9.5.2/) *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages elpa-org depends on: ii dh-elpa-helper 2.0.10 ii elpa-htmlize1.56-1 ii emacsen-common 3.0.4 Versions of packages elpa-org recommends: ii emacs 1:27.1+1-3.1 ii emacs-gtk [emacs] 1:27.1+1-3.1+b1 Versions of packages elpa-org suggests: ii ditaa 0.10+ds1-1.2 ii org-mode-doc 9.4.0-2 ii texinfo6.8-3 ii texlive-fonts-recommended 2021.20211217-1 ii texlive-latex-extra2021.20211217-1 -- debconf-show failed
Bug#1002982: elpa-org: post-installation script subprocess returned error exit status 1
Package: elpa-org Version: 9.5.2+dfsh-2 Followup-For: Bug #1002982 Dear Maintainer, Thanks for the addition of org-version.el but I suspect another bug still exist in the auto-generation of the file: The org-version and org-git-version strings in /usr/share/emacs/site-lisp/elpa-src/org-9.5.2/org-version.el are both "N/A". It should probably be respectively something like "9.5.2" and "9.5.2-gfbff08" (values taken from a local user install of the package from elpa) -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages elpa-org depends on: ii dh-elpa-helper 2.0.10 ii elpa-htmlize1.56-1 ii emacsen-common 3.0.4 Versions of packages elpa-org recommends: ii emacs 1:27.1+1-3.1 ii emacs-gtk [emacs] 1:27.1+1-3.1+b1 Versions of packages elpa-org suggests: ii ditaa 0.10+ds1-1.2 ii org-mode-doc 9.4.0-2 ii texinfo6.8-3 ii texlive-fonts-recommended 2021.20211217-1 ii texlive-latex-extra2021.20211217-1 -- debconf-show failed
Bug#1002982: elpa-org: post-installation script subprocess returned error exit status 1
control: reopen -1 Hello Gregory, On Mon 03 Jan 2022 at 10:09pm +01, Gregory Mounie wrote: > Thanks for the addition of org-version.el but I suspect another bug > still exist in the auto-generation of the file: > > The org-version and org-git-version strings in > /usr/share/emacs/site-lisp/elpa-src/org-9.5.2/org-version.el are both > "N/A". > > It should probably be respectively something like "9.5.2" and > "9.5.2-gfbff08" (values taken from a local user install of the package > from elpa) I don't know why piuparts on my system isn't finding these bugs. Thanks for the report. I think I know how to fix it. -- Sean Whitton
Bug#1002982: elpa-org: post-installation script subprocess returned error exit status 1
Package: elpa-org Version: 9.5.2+dfsh-3 Followup-For: Bug #1002982 Dear Maintainer, Thanks for fast modifications. I still have a problem. The org-version string in org-version.el is not compatible with version-to-list standard function (emacs source, lisp/subr.el line 6137 in current master). The syntax seems limited to the extension listed in version-regexp-alist variable a single letter or (alpha,beta,pre,rc,unknown,git,svn,hg,bzr,darcs). Each of these extensions has fixed translation to a number (-1 to -4) I would say that the goal is to be able to sort the version (-4 is bottom, alpha is -3, beta -2, rc is -1) Thus it would be possible to put '9.5.2' or '9.5.2+unknown' or '9.5.2+d' but not '9.5.2+dfsh'. (I would select '9.5.2+d' translated in (9 5 2 4) as I guess that +dfsh is patching on top of the standard release) With current '9.5.2+dfsh', at the install elpa-org, I got 30 times: In toplevel form: org-agenda.el:50:1:Error: Invalid version syntax: ‘9.5.2+dfsh’ In toplevel form: org-archive.el:31:1:Error: Invalid version syntax: ‘9.5.2+dfsh’ In toplevel form: org-attach-git.el:32:1:Error: Invalid version syntax: ‘9.5.2+dfsh’ In toplevel form: org-attach.el:38:1:Error: Invalid version syntax: ‘9.5.2+dfsh’ ... -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-2-amd64 (SMP w/16 CPU threads) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages elpa-org depends on: ii dh-elpa-helper 2.0.10 ii elpa-htmlize1.56-1 ii emacsen-common 3.0.4 Versions of packages elpa-org recommends: ii emacs 1:27.1+1-3.1 ii emacs-gtk [emacs] 1:27.1+1-3.1+b1 Versions of packages elpa-org suggests: ii ditaa 0.10+ds1-1.2 ii org-mode-doc 9.4.0-2 ii texinfo6.8-3 ii texlive-fonts-recommended 2021.20211217-1 ii texlive-latex-extra2021.20211217-1 -- no debconf information
Bug#1002982: elpa-org: post-installation script subprocess returned error exit status 1
Hello, On Tue 04 Jan 2022 at 03:13PM +01, Gregory Mounie wrote: > Package: elpa-org > Version: 9.5.2+dfsh-3 > Followup-For: Bug #1002982 > > Dear Maintainer, > > Thanks for fast modifications. I still have a problem. > > The org-version string in org-version.el is not compatible with > version-to-list standard function (emacs source, lisp/subr.el line 6137 in > current master). > > The syntax seems limited to the extension listed in > version-regexp-alist variable a single letter or > (alpha,beta,pre,rc,unknown,git,svn,hg,bzr,darcs). Each of these > extensions has fixed translation to a number (-1 to -4) > > I would say that the goal is to be able to sort the version (-4 is > bottom, alpha is -3, beta -2, rc is -1) > > Thus it would be possible to put '9.5.2' or '9.5.2+unknown' or '9.5.2+d' but > not > '9.5.2+dfsh'. > > (I would select '9.5.2+d' translated in (9 5 2 4) as I guess that > +dfsh is patching on top of the standard release) > > With current '9.5.2+dfsh', at the install elpa-org, I got 30 times: Thanks for this. Someone else reported this on IRC and I made another upload to fix it. -- Sean Whitton signature.asc Description: PGP signature