sergeyklay / bnf-mode

A GNU Emacs major mode for editing BNF grammars
GNU General Public License v3.0
44 stars 8 forks source link

make install fails with "Version must be a string" #5

Closed saitouena closed 4 years ago

saitouena commented 4 years ago

I got a error in make install .

[bnf-mode (master)]$ make install
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50coq.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Parsing tar file...
Parsing tar file...done
Version must be a string
Makefile:125: recipe for target 'install' failed
make: *** [install] Error 255

I'm using Emacs 25.2.2 on Ubuntu 18.04 LTS.

sergeyklay commented 4 years ago

@saitouena Could you please clean all (make clean), retry with -d (make -d install), and put here a debug output. I'll try to deal.

saitouena commented 4 years ago
[bnf-mode (master)]$ make clean
[bnf-mode (master)]$ LANG=en_US.utf8 make -d install &> log.txt

This is the log.txt. https://gist.github.com/saitouena/11ce3bf7e6b5f0f047b737a34f0d698b

sergeyklay commented 4 years ago

@saitouena

Version must be a string

Do you have any syntax check / code style package preinstalled?

saitouena commented 4 years ago

Here is my M-x package-list-packages with installed tags.

  ac-slime           20171027.2100 installed             An auto-complete source using slime completions
  ag                 20180225.1040 installed             A front-end for ag ('the silver searcher'), the C ack replacement.
  bnf-mode           20190611.519  installed             Major mode for editing BNF grammars.
  clj-refactor       20190618.716  installed             A collection of commands for refactoring Clojure code
  clojure-mode       20190325.628  installed             Major mode for Clojure code
  company            20190430.1852 installed             Modular text completion framework
  geiser             20190823.251  installed             GNU Emacs and Scheme talk to each other
  haskell-mode       20190417.309  installed             A Haskell editing mode
  magit              20190331.1103 installed             A Git porcelain inside Emacs.
  markdown-mode      20190305.319  installed             Major mode for Markdown-formatted text
  nginx-mode         20170612.437  installed             major mode for editing nginx config files
  open-junk-file     20161210.1114 installed             Open a junk (memo) file to try-and-error
  paredit            20171127.205  installed             minor mode for editing parentheses
  pg                 20130731.2142 installed             Emacs Lisp interface to the PostgreSQL RDBMS
  php-mode           20190401.1742 installed             Major mode for editing PHP code
  proof-general      20190212.1433 installed             A generic front-end for proof assistants (interactive theorem provers)
  tide               20190706.2322 installed             Typescript Interactive Development Environment
  typescript-mode    20190611.1030 installed             Major mode for editing typescript
  vue-mode           20190212.2212 installed             Major mode for vue component based on mmm-mode
  web-mode           20190625.1951 installed             major mode for editing web templates
  yaml-mode          20180409.607  installed             Major mode for editing YAML files
  a                  20180907.953  dependency            Associative data structure functions
  async              20181224.454  dependency            Asynchronous processing in Emacs
  auto-complete      20170125.245  dependency            Auto Completion for GNU Emacs
  cider              20190720.1656 dependency            Clojure Interactive Development Environment that Rocks
  dash               20190320.1406 dependency            A modern list library for Emacs
  edit-indirect      20180422.1807 dependency            Edit regions in separate buffers
  edn                20160215.1219 dependency            Support for reading and writing the edn data format from elisp
  epl                20180205.2049 dependency            Emacs Package Library
  flycheck           20190821.1725 dependency            On-the-fly syntax checking
  git-commit         20190319.2352 dependency            Edit Git commit messages
  hydra              20190617.859  dependency            Make bindings that stick around.
  inflections        20170913.916  dependency            convert english words between singular and plural
  lv                 20190716.1741 dependency            Other echo area
  macrostep          20161120.2106 dependency            interactive macro expander
  mmm-mode           0.5.7         dependency            Allow Multiple Major Modes in a buffer
  multiple-cursors   20190317.1211 dependency            Multiple cursors for Emacs.
  parseclj           20190531.711  dependency            Clojure/EDN parser
  parseedn           20190331.1058 dependency            Clojure/EDN parser
  peg                20150708.641  dependency            Parsing Expression Grammars in Emacs Lisp
  pkg-info           20150517.1143 dependency            Information about packages
  popup              20160709.1429 dependency            Visual Popup User Interface
  queue              0.2           dependency            Queue data structure
  s                  20180406.808  dependency            The long lost Emacs string manipulation library.
  seq                2.20          dependency            Sequence manipulation functions
  sesman             20190623.1123 dependency            Generic Session Manager
  slime              20190531.1534 dependency            Superior Lisp Interaction Mode for Emacs
  spinner            1.7.3         dependency            Add spinners and progress-bars to the mode-line for ongoing operations
  ssass-mode         20180428.2039 dependency            Edit Sass without a Turing Machine
  transient          20190319.1928 dependency            Transient commands
  vue-html-mode      20180428.2035 dependency            Major mode for editing Vue.js templates
  with-editor        20190224.931  dependency            Use the Emacsclient as $EDITOR
  yasnippet          20190724.1204 dependency            Yet another snippet extension for Emacs
sergeyklay commented 4 years ago

I apologize @saitouena for completely overlooking this. I just wanted to say that I've managed to reproduce the issue. So thanks for catching this mistake, and again I am sorry about the delay.

sergeyklay commented 4 years ago

Fixed in the master branch. Feel free to open a new issue if the problem appears again. Thank you for the report, and for helping make BNF Mode better.