From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 29 Sep 2021 14:33:22 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mVYm2-0000Ud-41 for lore@lore.pengutronix.de; Wed, 29 Sep 2021 14:33:22 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mVYm1-00030u-Oh; Wed, 29 Sep 2021 14:33:21 +0200 Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVYlg-00030Z-N8 for ptxdist@pengutronix.de; Wed, 29 Sep 2021 14:33:02 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 3C4954E6 for ; Wed, 29 Sep 2021 14:32:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jKpXKfgCuvxo for ; Wed, 29 Sep 2021 14:32:59 +0200 (CEST) Received: by mail.thorsis.com (Postfix, from userid 109) id 0AA512985; Wed, 29 Sep 2021 14:32:58 +0200 (CEST) Date: Wed, 29 Sep 2021 14:32:54 +0200 From: Alexander Dahl To: Felix Mellmann , ptxdist@pengutronix.de, Alexander Dahl Message-ID: Mail-Followup-To: Felix Mellmann , ptxdist@pengutronix.de References: <641e34f8-32fa-3353-3463-8c8506b7cb83@benfm.de> <20210903153630.GO4027748@pengutronix.de> <04c8b7d1-b9c6-1db2-d6b2-390a345fa6d5@benfm.de> <20210929121408.GH2560099@pengutronix.de> Content-Disposition: inline In-Reply-To: <20210929121408.GH2560099@pengutronix.de> X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] python3-lxml: package seems to be broken due to libxslt config options X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hello, Am Wed, Sep 29, 2021 at 02:14:08PM +0200 schrieb Michael Olbrich: > On Sun, Sep 05, 2021 at 03:29:47PM +0200, Felix Mellmann wrote: > > On 03.09.21 17:36, Michael Olbrich wrote: > > > On Wed, Sep 01, 2021 at 08:37:27PM +0200, Felix Mellmann wrote: > > > > Hi there, > > > > = > > > > I've just encountered a problem when using python3-lxml on PTXdist = master > > > > branch: > > > > = > > > > $ python3 > > > > Python 3.7.10 (default, Aug=A0 1 2021, 00:00:00) > > > > [GCC 10.2.1 20200822] on linux > > > > Type "help", "copyright", "credits" or "license" for more informati= on. > > > > > > > from lxml import etree > > > > Traceback (most recent call last): > > > > =A0 File "", line 1, in > > > > ImportError: > > > > /usr/lib/python3.7/site-packages/lxml/etree.cpython-37m-x86_64-linu= x-gnu.so: > > > > undefined symbol: xsltGetProfileInformation > > > > = > > > > The problem arises through libxslt which is configured using > > > > "--without-profiler" since commit 1940c3 . > > > > = > > > > Removing this option again allows to at least import etree from lxm= l. I > > > > haven't done any investigation whether lxml may crash again elsewhe= re. > > > > = > > > > Are there any concerns about removing that configuration option aga= in? > > > You should probably change it to --with-profiler instead unless that's > > > broken. Otherwise, I have no objections. > > = > > Maybe Alexander had reasons to add "--without-profiler" without any > > configuration option. He added three more options within the same patch= but > > left only this one fixed to "without". > > = > > So the compromise could be to add a new configuration option with defau= lt > > value of "n" and add this configuration option as a dependency to > > python3-lxml? > > = > > But as long as we don't know Alexander's reasons to do so, compiling wi= th > > the profiler option could break something else. > = > So lets ask him: Alex, can you comment on this? Did you have a reason oth= er > than just disabling it because it seemed unnecessary? I just checked diff between ./configure output of libxslt 1.1.29 and 1.1.34 and this is part of it: + --with-profiler Add the profiling support (on) This means the option was new and I probably just set it to some default. So yes, my reasoning was most probably it just seemed unnecessary to me. If you need it set to --with-profiler or made optional, go ahead the way Michael suggested. Greets Alex > = > Michael > = > > > Please add a comment about breaking python3-lxml at runtime, so we kn= ow in > > > the future why this was changed. > > > = > > > Michael > > > = > > = > > _______________________________________________ > > ptxdist mailing list > > ptxdist@pengutronix.de > > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-reque= st@pengutronix.de > = > -- = > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > = > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request= @pengutronix.de _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@p= engutronix.de