Ubuntu 16.04: can't compile stable branch

Uwe Brauer oub at mat.ucm.es
Fri Oct 25 04:07:16 EDT 2019


>>> "DL" == Denis Laxalde <denis.laxalde at logilab.fr> writes:

   > Uwe Brauer a écrit :
   >> dpkg-checkbuilddeps: error: Unmet build dependencies: python3-all python3-all-dev python3-docutils
   >> dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting

   > Missing build dependencies. Try installing packages listed above.

Oops, right, just did that



   > Also confirming Matt's reply, this will build the Python 3 version. On
   > Ubuntu 16, this is apparently python 3.5.1, which is not supported on
   > our side I think.

Right, I can confirm that, the build process went much further but then

,----
| UnboundLocalError: local variable 'msg' referenced before assignment
| 
| Original exception was:
| Traceback (most recent call last):
|   File "gendoc.py", line 33, in <module>
|     util.datapath
|   File "/usr/lib/python3.5/importlib/util.py", line 237, in __getattribute__
|     self.__spec__.loader.exec_module(self)
|   File "<frozen importlib._bootstrap_external>", line 665, in exec_module
|   File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
|   File "../mercurial/util.py", line 37, in <module>
|     from .thirdparty import attr
|   File "<frozen importlib._bootstrap>", line 1006, in _handle_fromlist
|   File "/usr/lib/python3.5/importlib/util.py", line 244, in __getattribute__
|     raise ValueError(msg.format(original_name))
| UnboundLocalError: local variable 'msg' referenced before assignment
| Makefile:22: recipe for target 'hgrc.5.txt' failed
| make[2]: *** [hgrc.5.txt] Error 1
| make[2]: Leaving directory '/home/oub/ALLES/src/hg-stable/doc'
| Makefile:64: recipe for target 'doc' failed
| make[1]: *** [doc] Error 2
| make[1]: Leaving directory '/home/oub/ALLES/src/hg-stable'
| dh_auto_install: make -j1 install DESTDIR=/home/oub/ALLES/src/hg-stable/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
| debian/rules:11: recipe for target 'binary' failed
| make: *** [binary] Error 2
| dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
| debuild: fatal error at line 1376:
| dpkg-buildpackage -rfakeroot -D -us -uc -i -I -b failed
| Makefile:69: recipe for target 'deb' failed
| make[1]: *** [deb] Error 29
| make[1]: Leaving directory '/home/oub/ALLES/src/hg-stable/contrib/packaging'
| Makefile:215: recipe for target 'deb' failed
| make: *** [deb] Error 2
`----

Maybe that should be mentioned in the README file or any other relevant
file?

Regards

Uwe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5025 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20191025/c2ddf572/attachment.bin>


More information about the Mercurial-devel mailing list