From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 29 Sep 2021 14:14:20 +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 1mVYTc-0008Fb-Hw for lore@lore.pengutronix.de; Wed, 29 Sep 2021 14:14:20 +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 1mVYTc-0000Dd-7F; Wed, 29 Sep 2021 14:14:20 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVYTR-0000DJ-DB; Wed, 29 Sep 2021 14:14:09 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mVYTQ-0004zb-PY; Wed, 29 Sep 2021 14:14:08 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mVYTQ-00AmfV-MT; Wed, 29 Sep 2021 14:14:08 +0200 Date: Wed, 29 Sep 2021 14:14:08 +0200 From: Michael Olbrich To: Felix Mellmann Message-ID: <20210929121408.GH2560099@pengutronix.de> Mail-Followup-To: Felix Mellmann , ptxdist@pengutronix.de, Alexander Dahl References: <641e34f8-32fa-3353-3463-8c8506b7cb83@benfm.de> <20210903153630.GO4027748@pengutronix.de> <04c8b7d1-b9c6-1db2-d6b2-390a345fa6d5@benfm.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <04c8b7d1-b9c6-1db2-d6b2-390a345fa6d5@benfm.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) 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 Cc: Alexander Dahl , ptxdist@pengutronix.de 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 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 ma= ster > > > 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 information. > > > > > > 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-linux-= 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 lxml.= I > > > haven't done any investigation whether lxml may crash again elsewhere. > > > = > > > Are there any concerns about removing that configuration option again? > > 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 b= ut > left only this one fixed to "without". > = > So the compromise could be to add a new configuration option with default > 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 with > the profiler option could break something else. So lets ask him: Alex, can you comment on this? Did you have a reason other than just disabling it because it seemed unnecessary? Michael > > Please add a comment about breaking python3-lxml at runtime, so we know= in > > the future why this was changed. > > = > > Michael > > = > = > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request= @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@p= engutronix.de