Opened 3 years ago

Last modified 3 years ago

#64230 assigned defect

dav1d +universal: ImportError: dynamic module does not define module export function (PyInit__csv) — at Version 1

Reported by: potterpg Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: SoapZA
Port: dav1d, meson

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Is this log enough information?

I am attempting to build all libraries as universal, so that they can be used in a universal built solution.

dav1d is part of libheif apparently...

:debug:main Starting logging for dav1d @0.9.2_0+universal
:debug:sysinfo macOS 11.6.1 (darwin/20.6.0) arch i386
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode 13.2
:debug:sysinfo SDK 11
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.0
:debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/dav1d_0.9.2-arm64" && /opt/local/bin/meson --prefix=/opt/local -Denable_tests=false --host=aarch64-apple-darwin20.6.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/dav1d_0.9.2-arm64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/build-arm64 --cross-file=arm64-darwin 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/dav1d_0.9.2-arm64" && /opt/local/bin/meson --prefix=/opt/local -Denable_tests=false --host=aarch64-apple-darwin20.6.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/dav1d_0.9.2-arm64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/build-arm64 --cross-file=arm64-darwin 
:info:configure Traceback (most recent call last):
:info:configure   File "/opt/local/bin/meson", line 10, in <module>
:info:configure     from importlib.metadata import distribution
:info:configure   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/metadata.py", line 5, in <module>
:info:configure     import csv
:info:configure   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/csv.py", line 7, in <module>
:info:configure     from _csv import Error, __version__, writer, reader, register_dialect, \
:info:configure ImportError: dynamic module does not define module export function (PyInit__csv)
:info:configure During handling of the above exception, another exception occurred:
:info:configure Traceback (most recent call last):
:info:configure   File "/opt/local/bin/meson", line 13, in <module>
:info:configure     from importlib_metadata import distribution
:info:configure ModuleNotFoundError: No module named 'importlib_metadata'
:info:configure During handling of the above exception, another exception occurred:
:info:configure Traceback (most recent call last):
:info:configure   File "/opt/local/bin/meson", line 15, in <module>
:info:configure     from pkg_resources import load_entry_point
:info:configure   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 23, in <module>
:info:configure     import zipfile
:info:configure   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/zipfile.py", line 6, in <module>
:info:configure     import binascii
:info:configure ImportError: dynamic module does not define module export function (PyInit_binascii)
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/dav1d_0.9.2-arm64" && /opt/local/bin/meson --prefix=/opt/local -Denable_tests=false --host=aarch64-apple-darwin20.6.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/dav1d_0.9.2-arm64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/work/build-arm64 --cross-file=arm64-darwin 
:info:configure Exit code: 1
:error:configure Failed to configure dav1d: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_dav1d/dav1d/main.log for details.

Change History (1)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: SoapZA added
Description: modified (diff)
Owner: set to ctreleaven
Port: dav1d. meson added; dav1d removed
Status: newassigned
Summary: port install david +universal - configure failure?dav1d +universal: ImportError: dynamic module does not define module export function (PyInit__csv)

Looks like the errors are coming from meson, so that's probably the broken port here.

Note: See TracTickets for help on using tickets.