[Bug 1992180] [NEW] device-tree-compiler FTBFS in Kinetic

Graham Inggs 1992180 at bugs.launchpad.net
Fri Oct 7 15:05:11 UTC 2022


Public bug reported:

I've copied what I hope is the relevant part of the log below.

python3 ./setup.py  build_ext --build-lib=pylibfdt
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/./setup.py", line 40, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 459, in __init__
    _Distribution.__init__(
  File "/usr/lib/python3.10/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 837, in finalize_options
    ep(self)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 858, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/usr/lib/python3/dist-packages/setuptools_scm/integration.py", line 90, in version_keyword
    _assign_version(dist, config)
  File "/usr/lib/python3/dist-packages/setuptools_scm/integration.py", line 62, in _assign_version
    _version_missing(config)
  File "/usr/lib/python3/dist-packages/setuptools_scm/__init__.py", line 109, in _version_missing
    raise LookupError(
LookupError: setuptools-scm was unable to detect version for /<<PKGBUILDDIR>>.

Make sure you're either building from a fully intact git repository or
PyPI tarballs. Most other sources (such as GitHub's tarballs, a git
checkout without the .git folder) don't contain the necessary metadata
and will not work.

For example, if you're using pip, instead of
https://github.com/user/proj/archive/master.zip use
git+https://github.com/user/proj.git#egg=proj

** Affects: device-tree-compiler (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

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

Title:
  device-tree-compiler FTBFS in Kinetic

Status in device-tree-compiler package in Ubuntu:
  New

Bug description:
  I've copied what I hope is the relevant part of the log below.

  python3 ./setup.py  build_ext --build-lib=pylibfdt
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/./setup.py", line 40, in <module>
      setup(
    File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.10/distutils/core.py", line 108, in setup
      _setup_distribution = dist = klass(attrs)
    File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 459, in __init__
      _Distribution.__init__(
    File "/usr/lib/python3.10/distutils/dist.py", line 292, in __init__
      self.finalize_options()
    File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 837, in finalize_options
      ep(self)
    File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 858, in _finalize_setup_keywords
      ep.load()(self, ep.name, value)
    File "/usr/lib/python3/dist-packages/setuptools_scm/integration.py", line 90, in version_keyword
      _assign_version(dist, config)
    File "/usr/lib/python3/dist-packages/setuptools_scm/integration.py", line 62, in _assign_version
      _version_missing(config)
    File "/usr/lib/python3/dist-packages/setuptools_scm/__init__.py", line 109, in _version_missing
      raise LookupError(
  LookupError: setuptools-scm was unable to detect version for /<<PKGBUILDDIR>>.

  Make sure you're either building from a fully intact git repository or
  PyPI tarballs. Most other sources (such as GitHub's tarballs, a git
  checkout without the .git folder) don't contain the necessary metadata
  and will not work.

  For example, if you're using pip, instead of
  https://github.com/user/proj/archive/master.zip use
  git+https://github.com/user/proj.git#egg=proj

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/device-tree-compiler/+bug/1992180/+subscriptions




More information about the foundations-bugs mailing list