Opened 3 years ago
Closed 3 years ago
#63926 closed defect (fixed)
py39-tomli @1.2.2_0: Build failure on 10.4.11 ("ZIP does not support timestamps before 1980")
Reported by: | evanmiller (Evan Miller) | Owned by: | tobypeterson |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | tiger | Cc: | |
Port: | py39-tomli |
Description
: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
Attachments (1)
Change History (7)
Changed 3 years ago by evanmiller (Evan Miller)
Attachment: | py39-tomli-main.log added |
---|
comment:1 Changed 3 years ago by tobypeterson
comment:2 follow-up: 3 Changed 3 years ago by jmroot (Joshua Root)
Seems like this should be closed as a dup of #61276.
comment:3 Changed 3 years ago by evanmiller (Evan Miller)
comment:4 Changed 3 years ago by jmroot (Joshua Root)
It's exactly the same underlying problem of mtime=0 on the extracted files though.
comment:5 Changed 3 years ago by jmroot (Joshua Root)
comment:6 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Is this due to PKG-INFO having a timestamp of 0? Maybe touching it post-extract would work? I obviously don't have ready access to such an old OS for repro purposes.