Project

General

Profile

Actions

Bug #2339

closed

Failed building wheel for suricata-update

Added by Peter Manev over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

On LTS Xenial I get the following error on a first time install - but it seems non critical as "suricata-update" reports successful installation and sources addition/updates etc seems to work normally.
Maybe not really supposed to run as root.

root@LTS-64-1:~ # pip install --pre --upgrade suricata-update
Collecting suricata-update
  Downloading suricata-update-1.0.0a1.tar.gz (55kB)
    100% |████████████████████████████████| 61kB 1.1MB/s 
Building wheels for collected packages: suricata-update
  Running setup.py bdist_wheel for suricata-update ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ABIzb5/suricata-update/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp6l00n9pip-wheel- --python-tag cp27:
  fatal: Not a git repository (or any of the parent directories): .git
  Failed to get current git revision: Command '['git', 'rev-parse', '--short', 'HEAD']' returned non-zero exit status 128
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for suricata-update
  Running setup.py clean for suricata-update
Failed to build suricata-update
Installing collected packages: suricata-update
  Running setup.py install for suricata-update ... done
Successfully installed suricata-update-1.0.0a1
Actions

Also available in: Atom PDF