Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'compiler': 0.07; 'error:': 0.07; 'purpose.': 0.07; 'appropriate.': 0.09; 'exit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'report,': 0.09; 'bug': 0.12; '2.7': 0.14; 'fitness': 0.14; "'gcc'": 0.16; '-o2': 0.16; 'assembler': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'software;': 0.16; 'url:bugzilla': 0.16; 'url:redhat': 0.16; 'utc': 0.16; 'warranty;': 0.16; 'x86_64': 0.16; 'extensions': 0.16; 'trying': 0.19; 'foundation,': 0.20; 'command': 0.22; 'memory': 0.22; 'aug': 0.22; 'creating': 0.23; 'header:User- Agent:1': 0.23; 'environment': 0.24; 'source': 0.25; 'extension': 0.26; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; '(c)': 0.29; "i'm": 0.30; 'bunch': 0.31; 'gcc': 0.31; 'anyone': 0.31; 'quite': 0.32; 'linux': 0.33; 'entirely': 0.33; 'skip:b 30': 0.33; 'copying': 0.34; 'building': 0.35; 'there': 0.35; 'possible': 0.36; 'virtual': 0.37; 'skip:- 20': 0.37; 'conditions.': 0.38; 'hat': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'skip:b 40': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'skip:- 60': 0.39; 'received:org': 0.40; 'even': 0.60; 'free': 0.61; 'full': 0.61; 'new': 0.61; 'received:109': 0.72; 'killed': 0.91; 'messages:': 0.91; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robin Becker Subject: error building lxml.etree Date: Fri, 22 Aug 2014 16:50:27 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 109.174.168.73 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 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: 1408722644 news.xs4all.nl 2842 [2001:888:2000:d::a6]:47381 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76800 I'm trying to build a bunch of extensions in a 2.7 virtual environment on a centos 7 VM. I don't know centos very well and I understand centos 7 is quite new > building 'lxml.etree' extension > > creating build/temp.linux-x86_64-2.7 > > creating build/temp.linux-x86_64-2.7/src > > creating build/temp.linux-x86_64-2.7/src/lxml > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/libxml2 -I/home/rptlab/website/xxx/xxx_0/build/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w > > {standard input}: Assembler messages: > > {standard input}:1858223: Error: unknown pseudo-op: `.' > > gcc: internal compiler error: Killed (program cc1) > > Please submit a full bug report, > > with preprocessed source if appropriate. > > See for instructions. > > error: command 'gcc' failed with exit status 4 uname -a > Linux localhost.localdomain 3.10.0-123.6.3.el7.x86_64 #1 SMP Wed Aug 6 21:12:36 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux gcc --version > gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16) > Copyright (C) 2013 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I do have the various devel rpms installed so far as I can tell. Has anyone else seen this error? It's entirely possible that it might be I don't have enough memory or something, lxml builds almost always take a long time. -- Robin Becker