Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955057 - dev-libs/libxslt-1.1.43: Missing --with-debugger option.
Summary: dev-libs/libxslt-1.1.43: Missing --with-debugger option.
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-28 19:38 UTC by Roman
Modified: 2025-04-29 04:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2025-04-28 19:38:36 UTC
Starting from version 1.1.43, the following changes have been made to the assembly: https://gitlab.gnome.org/GNOME/libxslt/-/commit/09b41917dd6fa12f7ca46462622c91bb72343196

If with_debugger was previously always enabled, it is now disabled. Some features are now unavailable for assembly. It would be nice to add the ability to build with this option in the ebuild. For example, it wouldn't hurt to add a new flag.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-28 19:41:03 UTC
See also bug 923267 (which I think prompted Nick to do that).
Comment 2 Roman 2025-04-28 20:36:05 UTC
I don't know what it's connected with. I looked and another commit is used there: https://gitlab.gnome.org/GNOME/libxslt/-/commit/c65a7c05f98ea4e9fae1247510b45db9dd3ec907
This is usually necessary to support older applications. For new applications these methods are generally no longer used. It's just that at the moment the lack of this option limits the ability to build old applications. But in principle, if desired, you can of course add a local patch from the user to solve this problem. But this will be much more difficult than if this feature was available as a separate flag.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-29 00:32:56 UTC
(In reply to Roman from comment #2)
> I don't know what it's connected with. 

(It was just a general remark for provenance.)

> I looked and another commit is used there:
> https://gitlab.gnome.org/GNOME/libxslt/-/commit/
> c65a7c05f98ea4e9fae1247510b45db9dd3ec907

> This is usually necessary to support older applications. For new
> applications these methods are generally no longer used. It's just that at
> the moment the lack of this option limits the ability to build old
> applications. But in principle, if desired, you can of course add a local
> patch from the user to solve this problem. But this will be much more
> difficult than if this feature was available as a separate flag.

I hadn't got from your initial report that it actually broke compilation of some applications, I thought you just meant it was useful functionality sometimes.

I guess I can add it under a USE flag if some applications need it (local ones or are they packages)?
Comment 4 Roman 2025-04-29 04:54:18 UTC
(In reply to Sam James from comment #3)
> I guess I can add it under a USE flag if some applications need it (local
> ones or are they packages)?

I tried to build this package: https://mirror.git.trinitydesktop.org/gitea/TDE/tdewebdev/src/branch/master/kxsldbg
I am no longer involved in supporting the TDE build, so this is not critical for me at the moment. I think if there is someone willing to support this, then it could be useful. I don't know how they compiled it for Fedora 41, since there is already a version of this library in the updates, but the xsltSetDebuggerCallbacks function is involved in the assembly of the xsldbg binary. Sooner or later they will have to remove this piece of code from xsldbg.