Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621572 - dev-tex/biber-2.7 dev-tex/biblatex-3.7-r1 circular dependencies
Summary: dev-tex/biber-2.7 dev-tex/biblatex-3.7-r1 circular dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hendrik v. Raven
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-12 00:56 UTC by Jonas Stein
Modified: 2017-06-12 09:40 UTC (History)
4 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 Jonas Stein gentoo-dev 2017-06-12 00:56:05 UTC
Can we avoid this circular dependency by improving the ebuild?
====
# emerge  =dev-tex/biber-2.7
Calculating dependencies... done!


[ebuild     U ~] dev-tex/biblatex-3.7-r1::gentoo [3.4-r1::gentoo] USE="biber%* -doc -examples" 18,925 KiB
[ebuild     U ~]  dev-tex/biber-2.7::gentoo [2.5::gentoo] USE="{-test} (-doc%)" 1,245 KiB

Total: 2 packages (2 upgrades), Size of downloads: 20,170 KiB

 * Error: circular dependencies:

(dev-tex/biblatex-3.7-r1:0/0::gentoo, ebuild scheduled for merge) depends on
 (dev-tex/biber-2.7:0/0::gentoo, ebuild scheduled for merge) (runtime)
  (dev-tex/biblatex-3.7-r1:0/0::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- dev-tex/biblatex-3.7-r1 (Change USE: -biber)

Note that this change can be reverted, once the package has been installed.
Comment 1 Hendrik v. Raven 2017-06-12 05:21:25 UTC
I just introduced them, apparently without enough testing. biber requires biblatex, but for biblatex it is only a runtime dependency. So it should not be an issue, but it looks like portage does not like it...

Is there a way to work around this resolution issue? If not there is probably no other way than reverting the biber dependency.
Comment 2 Hendrik v. Raven 2017-06-12 05:35:43 UTC
After a bit of reading in the devmanual the optional dependency onto dev-tex/biber should be part of PDEPEND instead of RDEPEND. I am currently travelling and have really bad internet, so I would be glad if you could do the change. Otherwise I will create a pull request in ~4 weeks.

Sorry for the mess.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-12 08:45:31 UTC
Thanks for looking into it. I will commit the fix in a few minutes.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-12 09:40:42 UTC
commit 3811839e914ccb526ea8bb8e59493a4bee2baea4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Mon Jun 12 10:43:01 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Mon Jun 12 11:40:04 2017

    dev-tex/biblatex: Move biber to PDEP to solve circ dep, #621572