Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314063 - Circular dependency: unix2dos, dos2unix
Summary: Circular dependency: unix2dos, dos2unix
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 09:51 UTC by Rabbe Fogelholm
Modified: 2010-04-09 10:15 UTC (History)
0 users

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 Rabbe Fogelholm 2010-04-09 09:51:28 UTC
Platform is Gentoo Prefix. Emerging both unix2dos and dos2unix (in either order) fails. If the attempted order is unix2dos, dos2unix then the failure looks like:

$ emerge dos2unix
Calculating dependencies... done!
[ebuild  N    ] app-text/dos2unix-5.1  USE="nls" 
[blocks B     ] >=app-text/dos2unix-5 (">=app-text/dos2unix-5" is blocking app-text/unix2dos-2.2-r1)
[blocks B     ] app-text/unix2dos ("app-text/unix2dos" is blocking app-text/dos2unix-5.1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'app-text/unix2dos-2.2-r1', 'nomerge') pulled in by
    app-text/unix2dos required by @selected

  ('ebuild', '/', 'app-text/dos2unix-5.1', 'merge') pulled in by
    dos2unix
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-09 09:58:23 UTC
Since version 5.0 app-text/dos2unix contains unix2dos executeable as well. That's why it's blocking the unix2dos package.
Please unmerge app-text/unix2dos and try to upgrade to >=app-text/dos2unix-5.0
Comment 2 Rabbe Fogelholm 2010-04-09 10:15:05 UTC
I tried your recipe. By default dos2unix-5.1 gets emerged successfully. As you say it contains both commands dos2unix and unix2dos.