[MacPorts] #63926: py39-tomli @1.2.2_0: Build failure on 10.4.11 ("ZIP does not support timestamps before 1980")

MacPorts noreply at macports.org
Fri Nov 12 15:12:11 UTC 2021


#63926: py39-tomli @1.2.2_0: Build failure on 10.4.11 ("ZIP does not support
timestamps before 1980")
------------------------+--------------------------
 Reporter:  evanmiller  |      Owner:  tobypeterson
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:  tiger       |       Port:  py39-tomli
------------------------+--------------------------
 {{{
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 tomli/py39-tomli/work/tomli-1.2.2" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 -m build --wheel --no-isolation --outdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-tomli/py39-tomli/work
 --skip-dependency-check
 :info:build Traceback (most recent call last):
 :info:build   File "/opt/local/share/py-bootstrap-
 modules/pep517/in_process/_in_process.py", line 363, in <module>
 :info:build     main()
 :info:build   File "/opt/local/share/py-bootstrap-
 modules/pep517/in_process/_in_process.py", line 345, in main
 :info:build     json_out['return_val'] = hook(**hook_input['kwargs'])
 :info:build   File "/opt/local/share/py-bootstrap-
 modules/pep517/in_process/_in_process.py", line 261, in build_wheel
 :info:build     return _build_backend().build_wheel(wheel_directory,
 config_settings,
 :info:build   File "/opt/local/share/py-bootstrap-
 modules/flit_core/buildapi.py", line 72, in build_wheel
 :info:build     info = make_wheel_in(pyproj_toml, Path(wheel_directory))
 :info:build   File "/opt/local/share/py-bootstrap-
 modules/flit_core/wheel.py", line 208, in make_wheel_in
 :info:build     wb.build(editable)
 :info:build   File "/opt/local/share/py-bootstrap-
 modules/flit_core/wheel.py", line 195, in build
 :info:build     self.copy_module()
 :info:build   File "/opt/local/share/py-bootstrap-
 modules/flit_core/wheel.py", line 157, in copy_module
 :info:build     self._add_file(full_path, rel_path)
 :info:build   File "/opt/local/share/py-bootstrap-
 modules/flit_core/wheel.py", line 105, in _add_file
 :info:build     zinfo = zipfile.ZipInfo.from_file(full_path, rel_path)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/zipfile.py",
 line 517, in from_file
 :info:build     zinfo = cls(arcname, date_time)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/zipfile.py",
 line 361, in __init__
 :info:build     raise ValueError('ZIP does not support timestamps before
 1980')
 :info:build ValueError: ZIP does not support timestamps before 1980
 :info:build * Building wheel...
 :info:build ERROR Backend subproccess exited when trying to invoke
 build_wheel
 }}}

 Related discussion in this ticket: https://trac.macports.org/ticket/60165

-- 
Ticket URL: <https://trac.macports.org/ticket/63926>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list