pylibfdt breakage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hi Simon,

I probably should have contacted you sooner about this.  For some
time, I've been unable to compile and test the pylibfdt components on
my system (Fedora 36).  I get this error:

$ make
	CHK version_gen.h
make[1]: Entering directory '/home/dwg/src/dtc'
	CHK version_gen.h
	 PYMOD pylibfdt/
/usr/lib/python3.10/site-packages/setuptools/ SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/ UserWarning: tag 'path-ref-fixup-staging' no version found
  warnings.warn(f"tag {tag!r} no version found")
Traceback (most recent call last):
  File "/home/dwg/src/dtc/./", line 50, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.10/distutils/", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/", line 459, in __init__
  File "/usr/lib64/python3.10/distutils/", line 292, in __init__
  File "/usr/lib/python3.10/site-packages/setuptools/", line 837, in finalize_options
  File "/usr/lib/python3.10/site-packages/setuptools/", line 858, in _finalize_setup_keywords
    ep.load()(self,, value)
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 90, in version_keyword
    _assign_version(dist, config)
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 59, in _assign_version
    maybe_version = _get_version(config)
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 154, in _get_version
    parsed_version = _do_parse(config)
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 101, in _do_parse
    version = _version_from_entrypoints(config) or _version_from_entrypoints(
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 66, in _version_from_entrypoints
    version: ScmVersion | None = _call_entrypoint_fn(root, config, ep.load())
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 40, in _call_entrypoint_fn
    return fn(root, config=config)
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 181, in parse
    return _git_parse_inner(
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 224, in _git_parse_inner
    return meta(
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 226, in meta
    parsed_version = _parse_tag(tag, preformatted, config)
  File "/home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptools_scm/", line 203, in _parse_tag
    assert version is not None
make[1]: *** [pylibfdt/Makefile.pylibfdt:20: pylibfdt/] Error 1
make[1]: Leaving directory '/home/dwg/src/dtc'
make: *** [Makefile:172: maybe_pylibfdt] Error 2

Seems like the packaging stuff needs work, but it's not obvious to me
exactly what needs to be done.  Is this something you can address?

David Gibson			| I'll have my music baroque, and my code
david AT	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!

Attachment: signature.asc
Description: PGP signature

[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux