Michael Smith created IMPALA-12435:
--------------------------------------
Summary: [toolchain] Ubuntu 22.04 build container creation fails
Key: IMPALA-12435
URL: https://issues.apache.org/jira/browse/IMPALA-12435
Project: IMPALA
Issue Type: Bug
Reporter: Michael Smith
In the docker directory
{code}
./buildall.py --docker_file=ubuntu2204.df
{code}
fails with
{code}
#8 17.30 + pip install awscli==1.19.112
#8 21.16 Collecting awscli==1.19.112
#8 24.43 Downloading awscli-1.19.112-py2.py3-none-any.whl (3.6 MB)
#8 24.72 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 12.9 MB/s eta
0:00:00
#8 25.14 Collecting botocore==1.20.112 (from awscli==1.19.112)
#8 25.17 Downloading botocore-1.20.112-py2.py3-none-any.whl (7.7 MB)
#8 25.34 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.7/7.7 MB 48.8 MB/s eta
0:00:00
#8 25.39 Collecting docutils<0.16,>=0.10 (from awscli==1.19.112)
#8 25.42 Downloading docutils-0.15.2-py3-none-any.whl (547 kB)
#8 25.43 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 547.6/547.6 kB 70.4 MB/s
eta 0:00:00
#8 25.48 Collecting s3transfer<0.5.0,>=0.4.0 (from awscli==1.19.112)
#8 25.51 Downloading s3transfer-0.4.2-py2.py3-none-any.whl (79 kB)
#8 25.52 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.2/79.2 kB 17.1 MB/s
eta 0:00:00
#8 25.59 Collecting PyYAML<5.5,>=3.10 (from awscli==1.19.112)
#8 25.63 Downloading PyYAML-5.4.1.tar.gz (175 kB)
#8 25.67 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 4.8 MB/s
eta 0:00:00
#8 25.78 Installing build dependencies: started
#8 34.28 Installing build dependencies: finished with status 'done'
#8 34.28 Getting requirements to build wheel: started
#8 34.38 Getting requirements to build wheel: finished with status 'error'
#8 34.39 error: subprocess-exited-with-error
#8 34.39
#8 34.39 × Getting requirements to build wheel did not run successfully.
#8 34.39 │ exit code: 1
#8 34.39 ╰─> [62 lines of output]
#8 34.39
/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/config/setupcfg.py:293:
_DeprecatedConfig: Deprecated config in `setup.cfg`
#8 34.39 !!
#8 34.39
#8 34.39
********************************************************************************
#8 34.39 The license_file parameter is deprecated, use
license_files instead.
#8 34.39
#8 34.39 By 2023-Oct-30, you need to update your project and
remove deprecated calls
#8 34.39 or your builds will no longer be supported.
#8 34.39
#8 34.39 See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
#8 34.39
********************************************************************************
#8 34.39
#8 34.39 !!
#8 34.39 parsed = self.parsers.get(option_name, lambda x: x)(value)
#8 34.39 running egg_info
#8 34.39 writing lib3/PyYAML.egg-info/PKG-INFO
#8 34.39 writing dependency_links to
lib3/PyYAML.egg-info/dependency_links.txt
#8 34.39 writing top-level names to lib3/PyYAML.egg-info/top_level.txt
#8 34.39 Traceback (most recent call last):
#8 34.39 File
"/usr/local/lib/python3.10/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 353, in <module>
#8 34.39 main()
#8 34.39 File
"/usr/local/lib/python3.10/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 335, in main
#8 34.39 json_out['return_val'] = hook(**hook_input['kwargs'])
#8 34.39 File
"/usr/local/lib/python3.10/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
line 118, in get_requires_for_build_wheel
#8 34.39 return hook(config_settings)
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/build_meta.py",
line 355, in get_requires_for_build_wheel
#8 34.39 return self._get_build_requires(config_settings,
requirements=['wheel'])
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/build_meta.py",
line 325, in _get_build_requires
#8 34.39 self.run_setup()
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/build_meta.py",
line 341, in run_setup
#8 34.39 exec(code, locals())
#8 34.39 File "<string>", line 271, in <module>
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/__init__.py",
line 103, in setup
#8 34.39 return distutils.core.setup(**attrs)
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py",
line 185, in setup
#8 34.39 return run_commands(dist)
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py",
line 201, in run_commands
#8 34.39 dist.run_commands()
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py",
line 969, in run_commands
#8 34.39 self.run_command(cmd)
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/dist.py",
line 1001, in run_command
#8 34.39 super().run_command(command)
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py",
line 988, in run_command
#8 34.39 cmd_obj.run()
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py",
line 318, in run
#8 34.39 self.find_sources()
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py",
line 326, in find_sources
#8 34.39 mm.run()
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py",
line 548, in run
#8 34.39 self.add_defaults()
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py",
line 586, in add_defaults
#8 34.39 sdist.add_defaults(self)
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/command/sdist.py",
line 113, in add_defaults
#8 34.39 super().add_defaults()
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/_distutils/command/sdist.py",
line 251, in add_defaults
#8 34.39 self._add_defaults_ext()
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/_distutils/command/sdist.py",
line 336, in _add_defaults_ext
#8 34.39 self.filelist.extend(build_ext.get_source_files())
#8 34.39 File "<string>", line 201, in get_source_files
#8 34.39 File
"/tmp/pip-build-env-1i46wblt/overlay/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py",
line 107, in __getattr__
#8 34.39 raise AttributeError(attr)
#8 34.39 AttributeError: cython_sources
#8 34.39 [end of output]
#8 34.39
#8 34.39 note: This error originates from a subprocess, and is likely not a
problem with pip.
#8 34.39 error: subprocess-exited-with-error
#8 34.39
#8 34.39 × Getting requirements to build wheel did not run successfully.
#8 34.39 │ exit code: 1
#8 34.39 ╰─> See above for output.
#8 34.39
#8 34.39 note: This error originates from a subprocess, and is likely not a
problem with pip.
#8 ERROR: process "/bin/sh -c postinstall.sh" did not complete successfully:
exit code: 1
{code}
[~joemcdonnell] observed this looks like pip isn't the expected version and is
failing on deprecated config.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)