Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65434
| References | <52f10b2a$0$29972$c3e8da3$5496439d@news.astraweb.com> |
|---|---|
| From | Zachary Ware <zachary.ware+pylist@gmail.com> |
| Date | 2014-02-04 10:02 -0600 |
| Subject | Re: Latest Python 3.4 in the source repo is broken? |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6393.1391529781.18130.python-list@python.org> (permalink) |
On Tue, Feb 4, 2014 at 9:45 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> Before I bother Python-Dev with this, can anyone else confirm that
> building Python 3.4 from source using the latest version in the source
> repository fails?
>
> # Get the source code
> hg clone http://hg.python.org/cpython
>
> # Build Python (on Unix, sorry Windows and Mac people, you're on your own)
> ./configure --with-pydebug && make -j2
>
>
>
> I get the following errors:
>
> libpython3.4dm.a(pythonrun.o): In function `_Py_InitializeEx_Private':
> /home/steve/python/cpython/Python/pythonrun.c:459: undefined reference to
> `_PyTraceMalloc_Init'
> libpython3.4dm.a(pythonrun.o): In function `Py_Finalize':
> /home/steve/python/cpython/Python/pythonrun.c:648: undefined reference to
> `_PyTraceMalloc_Fini'
> collect2: ld returned 1 exit status
> make: *** [Modules/_testembed] Error 1
The buildbots[1] don't seem to agree, and it builds fine for me on
Windows. In order of destructiveness, try these:
make
Without -j2, see if there's a race somewhere.
make distclean
Clear out nearly all generated files.
hg purge --all
Clear out everything that's not checked in (this
includes untracked and ignored files). You may
need to enable the purge extension,
`hg --config extensions.purge= purge --all`
And I would suggest checking the output of
`hg purge --all -p` before you do it to make sure
you're not obliterating anything you want to keep.
hg up null && hg purge --all && hg up default
Rebuild the repository from scratch (without a full clone).
[1] http://buildbot.python.org/all/waterfall?category=3.x.stable
--
Zach
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Latest Python 3.4 in the source repo is broken? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-04 15:45 +0000 Re: Latest Python 3.4 in the source repo is broken? Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-02-04 10:02 -0600 Re: Latest Python 3.4 in the source repo is broken? Johannes Findeisen <mailman@hanez.org> - 2014-02-04 17:21 +0100 Re: Latest Python 3.4 in the source repo is broken? Chris Angelico <rosuav@gmail.com> - 2014-02-05 03:49 +1100 Re: Latest Python 3.4 in the source repo is broken? Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-02-04 10:58 -0600 Re: Latest Python 3.4 in the source repo is broken? Chris Angelico <rosuav@gmail.com> - 2014-02-05 04:03 +1100 Re: Latest Python 3.4 in the source repo is broken? Ethan Furman <ethan@stoneleaf.us> - 2014-02-04 09:01 -0800
csiph-web