Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323623 - app-emulation/emul-linux-x86-soundlibs-20100611 and app-emulation/emul-linux-x86-medialibs-20100611 mutually dependent
Summary: app-emulation/emul-linux-x86-soundlibs-20100611 and app-emulation/emul-linux-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 00:54 UTC by Maciej Piechotka
Modified: 2010-06-16 09:43 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 Maciej Piechotka 2010-06-12 00:54:19 UTC
app-emulation/emul-linux-x86-soundlibs-20100611 and app-emulation/emul-linux-x86-medialibs-20100611 are mutually dependent. The recusrsion should be resolved by using PDEPEND dependencies.
Comment 1 Pacho Ramos gentoo-dev 2010-06-12 07:58:58 UTC
This is how these RDEPENDs are set since really a lot of time (even before I started to maintain emul packages)

Does it cause a circular problem for you? Until this bug report, I have always seen portage handling this simply updating both at the same time
Comment 2 Pacho Ramos gentoo-dev 2010-06-12 08:00:18 UTC
And devmanual clearly states that PDEPEND should only be used to prevent circular deps problems, then, please provide a case where this occurs for you
http://devmanual.gentoo.org/general-concepts/dependencies/index.html
Comment 3 Maciej Piechotka 2010-06-12 10:36:01 UTC
(In reply to comment #1)
> This is how these RDEPENDs are set since really a lot of time (even before I
> started to maintain emul packages)
> 
> Does it cause a circular problem for you? Until this bug report, I have always
> seen portage handling this simply updating both at the same time
> 

They cause problems for paludis on resume. Both are skipped as "<the second package> has not been installed".

Comment 4 Zac Medico gentoo-dev 2010-06-12 19:10:14 UTC
(In reply to comment #2)
> And devmanual clearly states that PDEPEND should only be used to prevent
> circular deps problems, then, please provide a case where this occurs for you
> http://devmanual.gentoo.org/general-concepts/dependencies/index.html

Technically any circular dep is a "circular deps problem", so this counts. Portage allows it for backward compatibility (really old versions actually ignored dependencies in some cases, leading to build failures).

In practice, the packages will be installed sequentially, rather than simultaneously. Therefore, put that package that you want installed first in the RDEPEND of one, and put the one that you want installed second in the PDEPEND of the other. If there is really no preference for the install order, it's not unreasonable to use PDEPEND for both packages, although it's only necessary to use it for one of them.
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-06-14 16:43:47 UTC
Sorry, forgot to remove myself as maintainer.  Not on amd64 anymore.
Comment 6 Pacho Ramos gentoo-dev 2010-06-16 09:43:04 UTC
+  16 Jun 2010; Pacho Ramos <pacho@gentoo.org>
+  emul-linux-x86-medialibs-20100611.ebuild:
+  Move app-emulation/emul-linux-x86-soundlibs to PDEPEND as suggested in bug
+  #323623 by uzytkownik. Thanks a lot to Zac Medico for his help.

Hope I have interpreted it in the right way, if not, please let me know

Thanks a lot