From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Re: python3-daemon fails to build Date: Sat, 15 May 2021 14:13:33 +0200 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2820084146202085610==" List-Id: --===============2820084146202085610== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi All, On 15/05/2021 13:03, Adolf Belka wrote: > Hi All, > > On 14/05/2021 20:42, Peter M=C3=BCller wrote: >> Hello development folks, >> >> just thought you might want to know: >> >>> python-docutils (0.12) [ DONE ] >>> python3-daemon (2.1.1) [=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 8 ][ F= AIL ] >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0 Traceback (most recent call last): >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/setuptool= s/installer.py", line 128, in fetch_build_egg >>> =C2=A0=C2=A0=C2=A0=C2=A0 subprocess.check_call(cmd) >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/subprocess.py", line 36= 4, in check_call >>> =C2=A0=C2=A0=C2=A0=C2=A0 raise CalledProcessError(retcode, cmd) >>> =C2=A0=C2=A0=C2=A0=C2=A0 subprocess.CalledProcessError: Command '['/usr/b= in/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps'= , '-w', '/tmp/tmpldy8j00v', '--quiet', 'docutils']' returned non-zero exit st= atus 1. >>> =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 The above exception was= the direct cause of the following exception: >>> =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 Traceback (most recent = call last): >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "setup.py", line 51, in >>> =C2=A0=C2=A0=C2=A0=C2=A0 setup( >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/setuptool= s/__init__.py", line 164, in setup >>> =C2=A0=C2=A0=C2=A0=C2=A0 _install_setup_requires(attrs) >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/setuptool= s/__init__.py", line 159, in _install_setup_requires >>> =C2=A0=C2=A0=C2=A0=C2=A0 dist.fetch_build_eggs(dist.setup_requires) >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/setuptool= s/dist.py", line 699, in fetch_build_eggs >>> =C2=A0=C2=A0=C2=A0=C2=A0 resolved_dists =3D pkg_resources.working_set.res= olve( >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/pkg_resou= rces/__init__.py", line 779, in resolve >>> =C2=A0=C2=A0=C2=A0=C2=A0 dist =3D best[req.key] =3D env.best_match( >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/pkg_resou= rces/__init__.py", line 1064, in best_match >>> =C2=A0=C2=A0=C2=A0=C2=A0 return self.obtain(req, installer) >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/pkg_resou= rces/__init__.py", line 1076, in obtain >>> =C2=A0=C2=A0=C2=A0=C2=A0 return installer(requirement) >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/setuptool= s/dist.py", line 758, in fetch_build_egg >>> =C2=A0=C2=A0=C2=A0=C2=A0 return fetch_build_egg(self, req) >>> =C2=A0=C2=A0=C2=A0=C2=A0 File "/usr/lib/python3.8/site-packages/setuptool= s/installer.py", line 130, in fetch_build_egg >>> =C2=A0=C2=A0=C2=A0=C2=A0 raise DistutilsError(str(e)) from e >>> =C2=A0=C2=A0=C2=A0=C2=A0 distutils.errors.DistutilsError: Command '['/usr= /bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-dep= s', '-w', '/tmp/tmpldy8j00v', '--quiet', 'docutils']' returned non-zero exit = status 1. >>> =C2=A0=C2=A0=C2=A0=C2=A0 make: *** [python3-daemon:73: /usr/src/log/pytho= n-daemon-2.1.1] Error 1 >>> >>> ERROR: Building python3-daemon [ FAIL ] >>> =C2=A0=C2=A0=C2=A0=C2=A0 Check /home/pmu/ipfire-2.x/log/_build.ipfire.log= for errors if applicable [ FAIL ] >> Looks like python3-daemon depends on python3-docutils, but I am not quite = sure... > > Yes it looks so. python-daemon had python-docutils just before it in make.sh > > python-daemon was changed to python3-daemon using python3 build and it now = looks for a python3 version of docutils but that is not built till later in m= ake.sh. > > I am running a build now where I have put a python3 version of docutils jus= t before python3-daemon and will see how that builds and let you know. > The python3-daemon build has run successfully with python3-docutils just befo= re it. When the build finishes I will submit a patch. Regards, Adolf. > Regards, > > Adolf. > > >> Thanks, and best regards, >> Peter M=C3=BCller --===============2820084146202085610==--