Skip to content

Instantly share code, notes, and snippets.

@Tahvok
Created August 8, 2017 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tahvok/e1834b34e431be8acb0fa3e53efc7704 to your computer and use it in GitHub Desktop.
Save Tahvok/e1834b34e431be8acb0fa3e53efc7704 to your computer and use it in GitHub Desktop.
$ makepkg
==> Making package: python-jenkinsapi 0.3.5-1 (Tue Aug 8 17:48:27 IDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading 0.3.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 128 0 128 0 0 162 0 --:--:-- --:--:-- --:--:-- 162
100 97k 0 97k 0 0 47975 0 --:--:-- 0:00:02 --:--:-- 143k
==> Validating source files with sha256sums...
0.3.5.tar.gz ... Passed
==> Extracting sources...
-> Extracting 0.3.5.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pbr/core.py", line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "/usr/lib/python3.6/site-packages/pbr/util.py", line 249, in cfg_to_args
pbr.hooks.setup_hook(config)
File "/usr/lib/python3.6/site-packages/pbr/hooks/__init__.py", line 25, in setup_hook
metadata_config.run()
File "/usr/lib/python3.6/site-packages/pbr/hooks/base.py", line 27, in run
self.hook()
File "/usr/lib/python3.6/site-packages/pbr/hooks/metadata.py", line 26, in hook
self.config['name'], self.config.get('version', None))
File "/usr/lib/python3.6/site-packages/pbr/packaging.py", line 755, in get_version
name=package_name))
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name jenkinsapi was given, but was not able to be found.
error in setup command: Error parsing /tmp/makepkg/python-jenkinsapi/src/jenkinsapi-0.3.5/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name jenkinsapi was given, but was not able to be found.
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment