Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878881 - media-gfx/prusaslicer forces net-misc/curl[adns]
Summary: media-gfx/prusaslicer forces net-misc/curl[adns]
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-31 13:30 UTC by Mr.Chauv
Modified: 2022-10-31 22:29 UTC (History)
1 user (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 Mr.Chauv 2022-10-31 13:30:49 UTC
media-gfx/prusaslicer forces the 'adns' use flag for curl.

Setting this use flag seems to break other packages on my system. Yet, I've found that removing the adns requirement from the prusaslicer ebuild solves all issues for me (and prusaslicer itself is runnning fine so far).

I would therefore suggest to remove this hard requirement and let "the system" decide whether this flag shall be enabled.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-31 13:51:05 UTC
What other packages does it break? There's a long history here and prusa does need it.
Comment 2 Mr.Chauv 2022-10-31 22:00:21 UTC
What function of Prusaslicer depends on the adns flag? (I am asking, because I tried to find something that breaks after removing it, but couldn't.)

adns on curl is in conflict with 'threads', which is used by 44 packages on my install. That is the reason I currently always edit the prusaslicer ebuild after every sync. But, of course, it is absolutely possible, that some functionality of PSlicer is broken now without me having noticed.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-31 22:03:03 UTC
(In reply to Mr.Chauv from comment #2)
> What function of Prusaslicer depends on the adns flag? (I am asking, because
> I tried to find something that breaks after removing it, but couldn't.)
> 
> adns on curl is in conflict with 'threads', which is used by 44 packages on
> my install. 

You don't have to globally enable "threads" for all packages. You can enable it just for some. And note that threads is gone from newer versions of curl.

Read the bug I linked (bug 853973) and the additional discussion in bug 699632.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-31 22:06:17 UTC
(In reply to Sam James from comment #3)
> (In reply to Mr.Chauv from comment #2)
> > What function of Prusaslicer depends on the adns flag? (I am asking, because
> > I tried to find something that breaks after removing it, but couldn't.)
> > 
> > adns on curl is in conflict with 'threads', which is used by 44 packages on
> > my install. 
> 
> You don't have to globally enable "threads" for all packages. You can enable
> it just for some. And note that threads is gone from newer versions of curl.
> 

Also, to be clear, USE=adns on curl was in conflict with USE=threads on curl. In such a case, all you would have to do is 'net-misc/curl -threads' in package.use.

> Read the bug I linked (bug 853973) and the additional discussion in bug
> 699632.

But there's a lot of relevant context in those bugs. Newer curl drops USE=threads entirely, including newly-stable 7.85.0-r2.
Comment 5 Mr.Chauv 2022-10-31 22:29:15 UTC
Thanks, Sam! Great pointers - learnt something new!
Then I guess I'll mask 'threads' for curl until it's phased out.