Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'skip:[ 20': 0.04; 'output': 0.05; 'repository': 0.05; 'subject:Python': 0.06; 'ignored': 0.07; 'skip:` 10': 0.07; 'agree,': 0.09; 'exit': 0.09; 'undefined': 0.09; 'python': 0.11; 'suggest': 0.14; 'windows': 0.15; '(without': 0.16; 'clone': 0.16; 'errors:': 0.16; 'extension,': 0.16; 'rebuild': 0.16; 'scratch': 0.16; 'somewhere.': 0.16; 'subject:broken': 0.16; 'unix,': 0.16; 'url:all': 0.16; 'url:buildbot': 0.16; 'files.': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'feb': 0.22; 'to:name:python-list@python.org': 0.22; 'error': 0.23; 'skip:` 20': 0.24; 'skip:l 30': 0.24; 'fine': 0.24; 'people,': 0.24; 'source': 0.25; 'nearly': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; '(this': 0.29; '[1]': 0.29; 'am,': 0.29; 'returned': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; '(on': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'url:category': 0.31; 'anyone': 0.31; 'checked': 0.32; 'url:python': 0.33; 'checking': 0.33; 'mac': 0.33; 'subject:the': 0.34; 'received:google.com': 0.35; 'building': 0.35; 'version': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'clear': 0.37; 'to:addr :python-list': 0.38; 'skip:- 10': 0.38; 'anything': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'full': 0.61; 'url:3': 0.61; "you're": 0.61; 'confirm': 0.64; 'latest': 0.67; 'default': 0.69; 'url:x': 0.81; './configure': 0.84; '3.4': 0.84; '9:45': 0.84; 'own)': 0.84; 'python-dev': 0.84; 'subject:Latest': 0.84; 'subject:source': 0.84; 'url:cpython': 0.84; '***': 0.95; 'race': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=fpSyW6n5/w0AApdUl650EOWCD7/NhE65yiDaUkB+MPY=; b=AX5HUQkH/gqr/829NFJ8X3DfXdVOPfBH9czAMYhubs4BAKRR/PNApKgAO9Nx+g/mXG HC43nbhaNcJGZdiqGRJWC+ta7ut3QjUYpAiwn8J4n7HANzVve15Z/wn0Zi7C2bt3rb1d g3kIYap345LhlVKjCQYr/6nJJiIvXKKobS9gqoaJfcSxf15sozIehby1I9UxCpo8T8T1 eWwEYXrLTfNCdoQWpQK+nf+qrylLfyNMe3lmoJFrtr9dQPcCeqUdu969PC+lA5uZO6yb zVABs0u/YREp3mhHZBJAQtp4A6CwCSdk712DeVMTt+i56Ap5o8PTP7bBIBVy5jwEifb9 zSXg== X-Received: by 10.204.56.201 with SMTP id z9mr25645bkg.77.1391529779002; Tue, 04 Feb 2014 08:02:59 -0800 (PST) MIME-Version: 1.0 Sender: zachary.ware@gmail.com In-Reply-To: <52f10b2a$0$29972$c3e8da3$5496439d@news.astraweb.com> References: <52f10b2a$0$29972$c3e8da3$5496439d@news.astraweb.com> From: Zachary Ware Date: Tue, 4 Feb 2014 10:02:38 -0600 X-Google-Sender-Auth: FRH_VQWP49_zoXB7ISrYuy-F5SA Subject: Re: Latest Python 3.4 in the source repo is broken? To: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 47 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1391529781 news.xs4all.nl 2876 [2001:888:2000:d::a6]:59056 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65434 On Tue, Feb 4, 2014 at 9:45 AM, Steven D'Aprano 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