Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

python: Build warning: "ValueError: ZIP does not support timestamps before 1980" #10

Open
jdolitsky opened this issue Jul 14, 2022 · 0 comments

Comments

@jdolitsky
Copy link
Member

This doesn't cause the build to fail, but also doesn't make me feel good

Assumed this would be fixed with the fix of #6 but is not

2022/07/14 21:30:20 melange (hello-server/armv7): Building wheels for collected packages: MarkupSafe
2022/07/14 21:30:20 melange (hello-server/armv7):   Building wheel for MarkupSafe (setup.py): started
2022/07/14 21:31:09 melange (hello-server/armv7):   Building wheel for MarkupSafe (setup.py): finished with status 'error'
2022/07/14 21:31:09 melange (hello-server/armv7):   error: subprocess-exited-with-error
2022/07/14 21:31:09 melange (hello-server/armv7):   
2022/07/14 21:31:09 melange (hello-server/armv7):   × python setup.py bdist_wheel did not run successfully.
2022/07/14 21:31:09 melange (hello-server/armv7):   │ exit code: 1
2022/07/14 21:31:09 melange (hello-server/armv7):   ╰─> [76 lines of output]
2022/07/14 21:31:09 melange (hello-server/armv7):       running bdist_wheel
2022/07/14 21:31:09 melange (hello-server/armv7):       running build
2022/07/14 21:31:09 melange (hello-server/armv7):       running build_py
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/lib.linux-armv7l-cpython-310
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/lib.linux-armv7l-cpython-310/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying src/markupsafe/_native.py -> build/lib.linux-armv7l-cpython-310/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying src/markupsafe/__init__.py -> build/lib.linux-armv7l-cpython-310/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       running egg_info
2022/07/14 21:31:09 melange (hello-server/armv7):       writing src/MarkupSafe.egg-info/PKG-INFO
2022/07/14 21:31:09 melange (hello-server/armv7):       writing dependency_links to src/MarkupSafe.egg-info/dependency_links.txt
2022/07/14 21:31:09 melange (hello-server/armv7):       writing top-level names to src/MarkupSafe.egg-info/top_level.txt
2022/07/14 21:31:09 melange (hello-server/armv7):       reading manifest file 'src/MarkupSafe.egg-info/SOURCES.txt'
2022/07/14 21:31:09 melange (hello-server/armv7):       reading manifest template 'MANIFEST.in'
2022/07/14 21:31:09 melange (hello-server/armv7):       no previously-included directories found matching 'docs/_build'
2022/07/14 21:31:09 melange (hello-server/armv7):       warning: no previously-included files matching '*.pyc' found anywhere in distribution
2022/07/14 21:31:09 melange (hello-server/armv7):       adding license file 'LICENSE.rst'
2022/07/14 21:31:09 melange (hello-server/armv7):       writing manifest file 'src/MarkupSafe.egg-info/SOURCES.txt'
2022/07/14 21:31:09 melange (hello-server/armv7):       copying src/markupsafe/_speedups.c -> build/lib.linux-armv7l-cpython-310/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying src/markupsafe/_speedups.pyi -> build/lib.linux-armv7l-cpython-310/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying src/markupsafe/py.typed -> build/lib.linux-armv7l-cpython-310/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       running build_ext
2022/07/14 21:31:09 melange (hello-server/armv7):       building 'markupsafe._speedups' extension
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/temp.linux-armv7l-cpython-310
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/temp.linux-armv7l-cpython-310/src
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/temp.linux-armv7l-cpython-310/src/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fomit-frame-pointer -g -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/include -I/usr/include/python3.10 -c src/markupsafe/_speedups.c -o build/temp.linux-armv7l-cpython-310/src/markupsafe/_speedups.o
2022/07/14 21:31:09 melange (hello-server/armv7):       gcc -shared -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common build/temp.linux-armv7l-cpython-310/src/markupsafe/_speedups.o -L/usr/lib -o build/lib.linux-armv7l-cpython-310/markupsafe/_speedups.cpython-310-arm-linux-gnueabihf.so
2022/07/14 21:31:09 melange (hello-server/armv7):       /home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
2022/07/14 21:31:09 melange (hello-server/armv7):         warnings.warn(
2022/07/14 21:31:09 melange (hello-server/armv7):       installing to build/bdist.linux-armv7l/wheel
2022/07/14 21:31:09 melange (hello-server/armv7):       running install
2022/07/14 21:31:09 melange (hello-server/armv7):       running install_lib
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/bdist.linux-armv7l
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/bdist.linux-armv7l/wheel
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/bdist.linux-armv7l/wheel/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying build/lib.linux-armv7l-cpython-310/markupsafe/_native.py -> build/bdist.linux-armv7l/wheel/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying build/lib.linux-armv7l-cpython-310/markupsafe/_speedups.c -> build/bdist.linux-armv7l/wheel/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying build/lib.linux-armv7l-cpython-310/markupsafe/_speedups.pyi -> build/bdist.linux-armv7l/wheel/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying build/lib.linux-armv7l-cpython-310/markupsafe/__init__.py -> build/bdist.linux-armv7l/wheel/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying build/lib.linux-armv7l-cpython-310/markupsafe/_speedups.cpython-310-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       copying build/lib.linux-armv7l-cpython-310/markupsafe/py.typed -> build/bdist.linux-armv7l/wheel/markupsafe
2022/07/14 21:31:09 melange (hello-server/armv7):       running install_egg_info
2022/07/14 21:31:09 melange (hello-server/armv7):       Copying src/MarkupSafe.egg-info to build/bdist.linux-armv7l/wheel/MarkupSafe-2.1.1-py3.10.egg-info
2022/07/14 21:31:09 melange (hello-server/armv7):       running install_scripts
2022/07/14 21:31:09 melange (hello-server/armv7):       adding license file "LICENSE.rst" (matched pattern "LICENSE.rst")
2022/07/14 21:31:09 melange (hello-server/armv7):       creating build/bdist.linux-armv7l/wheel/MarkupSafe-2.1.1.dist-info/WHEEL
2022/07/14 21:31:09 melange (hello-server/armv7):       creating '/tmp/pip-wheel-jx750hx4/MarkupSafe-2.1.1-cp310-cp310-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it
2022/07/14 21:31:09 melange (hello-server/armv7):       Traceback (most recent call last):
2022/07/14 21:31:09 melange (hello-server/armv7):         File "<string>", line 2, in <module>
2022/07/14 21:31:09 melange (hello-server/armv7):         File "<pip-setuptools-caller>", line 34, in <module>
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/tmp/pip-install-j5lbn3kg/markupsafe_bf6788cce7a8476f8aff2166adf8eaca/setup.py", line 65, in <module>
2022/07/14 21:31:09 melange (hello-server/armv7):           run_setup(True)
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/tmp/pip-install-j5lbn3kg/markupsafe_bf6788cce7a8476f8aff2166adf8eaca/setup.py", line 41, in run_setup
2022/07/14 21:31:09 melange (hello-server/armv7):           setup(
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
2022/07/14 21:31:09 melange (hello-server/armv7):           return distutils.core.setup(**attrs)
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup
2022/07/14 21:31:09 melange (hello-server/armv7):           return run_commands(dist)
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
2022/07/14 21:31:09 melange (hello-server/armv7):           dist.run_commands()
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
2022/07/14 21:31:09 melange (hello-server/armv7):           self.run_command(cmd)
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/setuptools/dist.py", line 1214, in run_command
2022/07/14 21:31:09 melange (hello-server/armv7):           super().run_command(command)
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
2022/07/14 21:31:09 melange (hello-server/armv7):           cmd_obj.run()
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 361, in run
2022/07/14 21:31:09 melange (hello-server/armv7):           wf.write_files(archive_root)
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/wheel/wheelfile.py", line 136, in write_files
2022/07/14 21:31:09 melange (hello-server/armv7):           self.write(path, arcname)
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/home/build/melange-out/hello-server/usr/share/webapps/hello-server/venv/lib/python3.10/site-packages/wheel/wheelfile.py", line 147, in write
2022/07/14 21:31:09 melange (hello-server/armv7):           zinfo = ZipInfo(arcname or filename, date_time=get_zipinfo_datetime(st.st_mtime))
2022/07/14 21:31:09 melange (hello-server/armv7):         File "/usr/lib/python3.10/zipfile.py", line 362, in __init__
2022/07/14 21:31:09 melange (hello-server/armv7):           raise ValueError('ZIP does not support timestamps before 1980')
2022/07/14 21:31:09 melange (hello-server/armv7):       ValueError: ZIP does not support timestamps before 1980
2022/07/14 21:31:09 melange (hello-server/armv7):       [end of output]
2022/07/14 21:31:09 melange (hello-server/armv7):   
2022/07/14 21:31:09 melange (hello-server/armv7):   note: This error originates from a subprocess, and is likely not a problem with pip.
2022/07/14 21:31:09 melange (hello-server/armv7):   ERROR: Failed building wheel for MarkupSafe
2022/07/14 21:31:09 melange (hello-server/armv7):   Running setup.py clean for MarkupSafe
2022/07/14 21:31:21 melange (hello-server/armv7): Failed to build MarkupSafe
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant