Full trace using --debug option or current behaviour
Other modules before this seems to install properly
Installing modoboa
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9ubuntu3).
cron is already the newest version (3.0pl1-137ubuntu3).
libffi-dev is already the newest version (3.4.2-4).
libjpeg-dev is already the newest version (8c-2ubuntu10).
librrd-dev is already the newest version (1.7.2-3ubuntu6).
rrdtool is already the newest version (1.7.2-3ubuntu6).
redis-server is already the newest version (5:6.0.16-1ubuntu1).
supervisor is already the newest version (4.2.1-1ubuntu1).
libssl-dev is already the newest version (3.0.2-0ubuntu1.10).
libxml2-dev is already the newest version (2.9.13+dfsg-1ubuntu0.3).
libxslt1-dev is already the newest version (1.1.34-4ubuntu0.22.04.1).
python3-dev is already the newest version (3.10.6-1~22.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
User modoboa already exists, skipping creation but please make sure the /srv/modoboa directory exists.
Collecting modoboa
Using cached modoboa-2.1.2.tar.gz (13.6 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "<string>", line 13, in <module>
ModuleNotFoundError: No module named 'pip'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/modoboa/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/srv/modoboa/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/srv/modoboa/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-5110ss5f/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-5110ss5f/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-5110ss5f/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 16, in <module>
ModuleNotFoundError: No module named 'pip'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Collecting rrdtool
Using cached rrdtool-0.1.16.tar.gz (22 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting modoboa-amavis
Obtaining dependency information for modoboa-amavis from https://files.pythonhosted.org/packages/dc/75/c9e10f70696c39deb7a84b9265ef34d99825aa1227ce370f3615250db154/modoboa_amavis-1.4.1-py2.py3-none-any.whl.metadata
Using cached modoboa_amavis-1.4.1-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting modoboa-pdfcredentials
Using cached modoboa_pdfcredentials-1.5.0-py2.py3-none-any.whl (70 kB)
Collecting modoboa-postfix-autoreply
Using cached modoboa_postfix_autoreply-1.7.1-py2.py3-none-any.whl (86 kB)
Collecting modoboa-sievefilters
Using cached modoboa_sievefilters-1.6.0-py2.py3-none-any.whl (121 kB)
Collecting modoboa-webmail
Using cached modoboa_webmail-1.7.2-py2.py3-none-any.whl (198 kB)
Collecting modoboa-contacts
Using cached modoboa_contacts-0.9.3-py2.py3-none-any.whl (784 kB)
Collecting modoboa-radicale
Using cached modoboa_radicale-1.6.3-py2.py3-none-any.whl (1.8 MB)
Collecting mysqlclient
Using cached mysqlclient-2.2.0.tar.gz (89 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
Trying pkg-config --exists mysqlclient
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 127.
Trying pkg-config --exists mariadb
Command 'pkg-config --exists mariadb' returned non-zero exit status 127.
Traceback (most recent call last):
File "/srv/modoboa/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/srv/modoboa/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/srv/modoboa/env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-s8l40673/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-s8l40673/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-s8l40673/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 154, in <module>
File "<string>", line 48, in get_config_posix
File "<string>", line 27, in find_package_name
Exception: Can not find valid pkg-config name.
Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
bash: line 1: modoboa-admin.py: command not found
None
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Impacted versions
Steps to reproduce
Full trace using --debug option or current behaviour
Other modules before this seems to install properly
Expected behavior
Complete the upgrade and display success message.
Video/Screenshot link (optional)