Skip to content

ValueError: too many values to unpack #229

Description

@qris
pdm.exceptions.BuildError: Build backend raised error: Showing the last 10 lines of the build output:
    ffibuilder.compile(verbose=True)
  File "/tmp/pdm-build-env-ot45gqlp-overlay/lib/python3.10/site-packages/cffi/api.py", line 727, in compile
    return recompile(self, module_name, source, tmpdir=tmpdir,
  File "/tmp/pdm-build-env-ot45gqlp-overlay/lib/python3.10/site-packages/cffi/recompiler.py", line 1581, in recompile
    outputfilename = ffiplatform.compile('.', ext,
  File "/tmp/pdm-build-env-ot45gqlp-overlay/lib/python3.10/site-packages/cffi/ffiplatform.py", line 20, in compile
    outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
  File "/tmp/pdm-build-env-ot45gqlp-overlay/lib/python3.10/site-packages/cffi/ffiplatform.py", line 50, in _build
    [soname] = cmd_obj.get_outputs()
ValueError: too many values to unpack (expected 1)

I know there's probably something wrong with my build, but this isn't supposed to happen, and probably makes it harder to debug.

This is CFFI 2.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions