>>> "RW" == Rainer Woitok <rainer.woi...@gmail.com> writes:

> Uwe,
> On Tue, 16 Jul 2024 14:27:53 +0200 you wrote:

>> ...
>> I finally gave up, to compile my own mercurial version  and installed 
>> mercurial as provided by Ubuntu, which is 6.7.2

> Why?   You need a few dependencies  like "python", "python-dev" and "py-
> thon-docutils" (for the man-pages), and then you just need to run
well on recent Ubuntu (and I presume debian) things have changes a bit


--8<---------------cut here---------------start------------->8---
sudo apt-get install python-docutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-docutils is not available, but is referred to by another
package.
sudo apt-cache search python-docutils
python3-django-markupfield - custom Django field for easy use of markup in text 
fields (Python3 version)

Sudo apt-get install python-dev-is-python3
install  python-doc8-doc
--8<---------------cut here---------------end--------------->8---


>    $ cd ~/my/local/mercurial     # Or wherever you want the respository.
>    $ hg clone https://www.mercurial-scm.org/repo/hg-stable
>    $ make local doc

Make local 

Fails with the following error
--8<---------------cut here---------------start------------->8---

/usr/lib/python3/dist-packages/setuptools/dist.py:509: 
SetuptoolsDeprecationWarning: Invalid version: 
'5.1.2+626-d782cce137fd+20240716'.
!!

        
********************************************************************************
        The version specified is not a valid version according to PEP 440.
        This may not work as expected with newer versions of
        setuptools, pip, and PyPI.

        This deprecation is overdue, please update your project and remove 
deprecated
        calls to avoid build errors in the future.

        See https://peps.python.org/pep-0440/ for details.
        
********************************************************************************

!!
  self._validate_version(self.metadata.version)
contrib/python-zstandard/c-ext/bufferutil.c: In function 
'bufferutil_module_init':
contrib/python-zstandard/c-ext/bufferutil.c:761:46: error: lvalue required as 
left operand of assignment
  761 |         Py_TYPE(&ZstdBufferWithSegmentsType) = &PyType_Type;
      |                                              ^
contrib/python-zstandard/c-ext/bufferutil.c:769:42: error: lvalue required as 
left operand of assignment
  769 |         Py_TYPE(&ZstdBufferSegmentsType) = &PyType_Type;
      |                                          ^

--8<---------------cut here---------------end--------------->8---

Etc etc. 

All this worked before in Ubuntu 16 and 18.

Uwe 
_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to