mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Felix Mellmann <flix.ptxdist@benfm.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] python3-lxml: package seems to be broken due to libxslt config options
Date: Fri, 3 Sep 2021 17:36:30 +0200	[thread overview]
Message-ID: <20210903153630.GO4027748@pengutronix.de> (raw)
In-Reply-To: <641e34f8-32fa-3353-3463-8c8506b7cb83@benfm.de>

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  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):
>   File "<stdin>", line 1, in <module>
> 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.
Please add a comment about breaking python3-lxml at runtime, so we know in
the future why this was changed.

Michael

-- 
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


  reply	other threads:[~2021-09-03 15:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01 18:37 Felix Mellmann
2021-09-03 15:36 ` Michael Olbrich [this message]
2021-09-05 13:29   ` Felix Mellmann
2021-09-29 12:14     ` Michael Olbrich
2021-09-29 12:32       ` Alexander Dahl
  -- strict thread matches above, loose matches on Subject: below --
2021-09-01 18:36 Felix Mellmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210903153630.GO4027748@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=flix.ptxdist@benfm.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox