[Bug 1600780] [NEW] Can't do erlang releases due to missing file, broken link

Stefan Strigler stefan at strigler.de
Mon Jul 11 11:15:27 UTC 2016


Public bug reported:

When trying to do a erlang release from within rebar I get:

[...]
==> rel (generate)
ERROR: Unable to generate spec: read file info /usr/lib/erlang/man/man1/x86_64-linux-gnu-gcov-tool.1.gz failed
ERROR: Unexpected error: rebar_abort
ERROR: generate failed while processing /home/ubuntu/MongooseIM-2.0.0beta1/rel: rebar_abort

This is due to a broken link from

$ ls -l /usr/lib/erlang/man/man1/x86_64-linux-gnu-gcov-tool.1.gz
lrwxrwxrwx 1 root root 16 Feb 11 09:47 /usr/lib/erlang/man/man1/x86_64-linux-gnu-gcov-tool.1.gz -> gcov-tool-5.1.gz

$ ls -l /usr/lib/erlang/man/man1/gcov-tool-5.1.gz
ls: cannot access '/usr/lib/erlang/man/man1/gcov-tool-5.1.gz': No such file or directory

Temporary solution:

$ sudo touch /usr/lib/erlang/man/man1/gcov-tool-5.1.gz


System:

# lsb_release -rd
Description:	Ubuntu 16.04 LTS
Release:	16.04

# apt-cache policy erlang
erlang:
  Installed: 1:18.3-dfsg-1ubuntu3
  Candidate: 1:18.3-dfsg-1ubuntu3
  Version table:
 *** 1:18.3-dfsg-1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

Apparently the file missing is supposedly to be created by erlang-mode

# apt-cache policy erlang-mode
erlang-mode:
  Installed: 1:18.3-dfsg-1ubuntu3
  Candidate: 1:18.3-dfsg-1ubuntu3
  Version table:
 *** 1:18.3-dfsg-1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: erlang (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to erlang in Ubuntu.
https://bugs.launchpad.net/bugs/1600780

Title:
  Can't do erlang releases due to missing file, broken link

Status in erlang package in Ubuntu:
  New

Bug description:
  When trying to do a erlang release from within rebar I get:

  [...]
  ==> rel (generate)
  ERROR: Unable to generate spec: read file info /usr/lib/erlang/man/man1/x86_64-linux-gnu-gcov-tool.1.gz failed
  ERROR: Unexpected error: rebar_abort
  ERROR: generate failed while processing /home/ubuntu/MongooseIM-2.0.0beta1/rel: rebar_abort

  This is due to a broken link from

  $ ls -l /usr/lib/erlang/man/man1/x86_64-linux-gnu-gcov-tool.1.gz
  lrwxrwxrwx 1 root root 16 Feb 11 09:47 /usr/lib/erlang/man/man1/x86_64-linux-gnu-gcov-tool.1.gz -> gcov-tool-5.1.gz

  $ ls -l /usr/lib/erlang/man/man1/gcov-tool-5.1.gz
  ls: cannot access '/usr/lib/erlang/man/man1/gcov-tool-5.1.gz': No such file or directory

  Temporary solution:

  $ sudo touch /usr/lib/erlang/man/man1/gcov-tool-5.1.gz

  
  System:

  # lsb_release -rd
  Description:	Ubuntu 16.04 LTS
  Release:	16.04

  # apt-cache policy erlang
  erlang:
    Installed: 1:18.3-dfsg-1ubuntu3
    Candidate: 1:18.3-dfsg-1ubuntu3
    Version table:
   *** 1:18.3-dfsg-1ubuntu3 500
          500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
          100 /var/lib/dpkg/status

  Apparently the file missing is supposedly to be created by erlang-mode

  # apt-cache policy erlang-mode
  erlang-mode:
    Installed: 1:18.3-dfsg-1ubuntu3
    Candidate: 1:18.3-dfsg-1ubuntu3
    Version table:
   *** 1:18.3-dfsg-1ubuntu3 500
          500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1600780/+subscriptions



More information about the foundations-bugs mailing list