Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645548 - app-office/texstudio wants to downgrade quazip-0.7.3-r1 to 0.7.3
Summary: app-office/texstudio wants to downgrade quazip-0.7.3-r1 to 0.7.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 645550
  Show dependency tree
 
Reported: 2018-01-24 10:52 UTC by Franz Trischberger
Modified: 2019-01-02 21:01 UTC (History)
3 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 Franz Trischberger 2018-01-24 10:52:54 UTC
Reason: https://bugs.gentoo.org/641222
Texstudio requires quazip to be built with qt5, qt4/qt5-USE-flags got dropped from quazip in 0.7.3-r1.
Comment 1 Zac Medico gentoo-dev 2018-01-24 18:15:23 UTC
You notice the problem with sys-apps/portage-2.3.20 because it defaults to --dynamic-deps=n.

It's also possible to use the emerge --dynamic-deps=y or --changed-deps=y options as a workaround for this sort of issue.

The problem was that the dependencies changed without a revision bump:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de3691f8ed29200014495095269dd8fcaf27731f
Comment 2 Franz Trischberger 2018-01-24 19:14:02 UTC
Thx, Zac, I already read from the tracker what happens. And I also know now why wireshark got rebuilt.
I have a feeling this change (dynamic deps) will have a big hit for me and my slightly underpowered laptop. In the case of wireshark it was unavoidable as I use qt5. But I used gtk3 in the past and this revbump wouldn't have made sense in that case as the DEP was changed for a USE flag I didn't use.
dynamic deps were disabled because of the performance overhead, am I right? (And to force a dependency strategy) Wireshark takes 10 minutes to compile on my laptop, texstudio 4 minutes. No way I will get that time back with increased performance in dep calculation with dynamic_deps=n... I will have a look how it turns out in the end but in the worst case Gentoo might not be the best solution then :(
Comment 3 Zac Medico gentoo-dev 2018-01-24 20:17:35 UTC
(In reply to Franz Fellner from comment #2)
> Thx, Zac, I already read from the tracker what happens. And I also know now
> why wireshark got rebuilt.
> I have a feeling this change (dynamic deps) will have a big hit for me and
> my slightly underpowered laptop. In the case of wireshark it was unavoidable
> as I use qt5. But I used gtk3 in the past and this revbump wouldn't have
> made sense in that case as the DEP was changed for a USE flag I didn't use.
> dynamic deps were disabled because of the performance overhead, am I right?

No, the primary issue is compatibility between package manager implementations, since Gentoo intends to support any package manager conforming to PMS (Package Manager Specification). The implementation details of --dynamic-deps makes it undesirable to support. The main reason Portage has supported --dynamic-deps has been for backward compatibility, but now --changed-deps exists as an alternative.

> (And to force a dependency strategy) Wireshark takes 10 minutes to compile
> on my laptop, texstudio 4 minutes. No way I will get that time back with
> increased performance in dep calculation with dynamic_deps=n... I will have
> a look how it turns out in the end but in the worst case Gentoo might not be
> the best solution then :(

You're welcome to set EMERGE_DEFAULT_OPTS="--dynamic-deps=y" in /etc/portage/make.conf. There's a lot of resistance to this change, so I'm not sure how it's going to turn out in the end.
Comment 4 Zac Medico gentoo-dev 2019-01-02 21:01:33 UTC
The problem reported in this bug was solved by the 2.12.6-r1 revbump here:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a23a5c77b5db682dc2b237ef94675b1a4f33d87