Path: csiph.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod From: Matthias Klose Newsgroups: linux.debian.maint.python Subject: Re: trying to solve the pytango FTBFS with gcc5 Date: Sun, 06 Sep 2015 16:40:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Sep 6 14:35:59 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no X-Policyd-Weight: DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .einhorn.in-berlin. - helo-domain: .in-berlin.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5 Old-X-Envelope-From: doko@debian.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/12556 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/55EC4F3C.6000004@debian.org Approved: robomod@news.nic.it Lines: 43 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: frederic-emmanuel.picca@synchrotron-soleil.fr X-Original-Date: Sun, 6 Sep 2015 16:35:40 +0200 X-Original-Message-ID: <55EC4F3C.6000004@debian.org> X-Original-References: <1921765.67YpD7VbQY@kitterma-e6430> Xref: csiph.com linux.debian.maint.python:7249 On 09/06/2015 04:24 PM, Scott Kitterman wrote: > On Sunday, September 06, 2015 08:23:37 AM PICCA Frederic-Emmanuel wrote: >> Hello, guyes, >> >> I am working on this bug report[1], and I would like your opinion. >> this package depends on the tango library which was rebuilt with gcc5 and >> updated for the libstdc++6 transition. >> >> Now as you can see in the bug report, pytango FTBFS with a missing symbol. >> and indeed the missing symbol correspond to a c++11 string. >> >> I would like to understand why pytango expect old abi string instead of the >> new c++11 even if during the build -std=cxx01 is given to gcc. For >> information the files are in fact c++ files. >> >> I also tryed with c++11 and I got the same error. >> >> So I do not understand what is going on. >> Is there something special done by distutil when compiling an extension ? >> is it a problem with gcc (the C compiler) which doesn not use correctly the >> -std:cxx flag when compiling c++ files ? >> >> any help would be appreciate. >> >> thanks >> >> Frederic >> >> >> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797284 > > The old abi is explicitly set by line 261 of setup.py. no. the libstdc++ ABI is unrelated to the C++ standard used for the build. the symbol is defined: $ objdump -T /usr/lib/x86_64-linux-gnu/libtango.so|grep _ZN5Tango11DeviceProxy14get_corba_nameB5cxx11Eb 00000000002ce1a0 g DF .text 0000000000000388 Base _ZN5Tango11DeviceProxy14get_corba_nameB5cxx11Eb so find out why _PyTango.so doesn't find it.