Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Resolved]netbeans circular dependencies

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
Serchio
n00b
n00b
Posts: 26
Joined: Sat May 17, 2008 9:54 pm
Contact:
Contact Serchio
Website

[Resolved]netbeans circular dependencies

  • Quote

Post by Serchio » Wed Apr 13, 2011 3:20 pm

Hi, i'm trying to emerge netbeans but I can't resolve circular dependencies :/

Code: Select all

[ebuild  N    ] dev-util/netbeans-7.0_rc2  USE="-doc" LINGUAS="pl -af -ar -ca -cs -de -el -es -fr -gl -hi_IN -id -it -ja -ko -lt -nl -pt_BR -pt_PT -ro -ru -sq -sr -sv -tl -tr -vi -zh_CN -zh_TW" NETBEANS_MODULES="apisupport enterprise java php -cnd -dlight -ergonomics -groovy -javacard -mobility -profiler -websvccommon" 13,667 kB
[ebuild  N    ]  dev-java/netbeans-enterprise-7.0_rc2  49,498 kB
[ebuild  N    ]   dev-java/bsf-2.4.0-r1  USE="python source -doc -examples -javascript -tcl" 293 kB
[ebuild  N    ]   dev-java/jakarta-jstl-1.1.2-r2  USE="source -doc -examples" 281 kB
[ebuild  N    ]   dev-java/netbeans-profiler-7.0_rc2  0 kB
[ebuild  N    ]  dev-java/netbeans-apisupport-7.0_rc2  0 kB
[ebuild  N    ]   dev-java/netbeans-java-7.0_rc2  34,363 kB
[ebuild  N    ]    dev-java/cglib-2.1.3  USE="source -doc" 1,573 kB
[ebuild  N    ]     dev-java/aspectwerkz-2.0  USE="source -doc" 13,835 kB
[ebuild  N    ]    dev-java/saaj-1.3-r1  USE="source" 256 kB
[ebuild  N    ]    dev-java/asm-2.2.3-r1  USE="source -doc" 281 kB
[ebuild  N    ]    dev-java/cglib-2.2  USE="source -doc -examples -test" 1,486 kB
[nomerge      ] dev-java/netbeans-profiler-7.0_rc2 
[nomerge      ]  dev-java/netbeans-ide-7.0_rc2 
[ebuild  N    ]   dev-java/freemarker-2.3.13  USE="source -doc" 2,087 kB
[ebuild  N    ]    dev-java/jython-2.2.1-r1  USE="mysql readline source -doc -examples -oracle -postgres -servletapi" 11,107 kB
[ebuild  N    ]     dev-java/jdbc-mysql-5.1.14  USE="source -c3p0 -log4j" 3,196 kB
[ebuild  N    ]      dev-java/ant-contrib-1.0_beta3  USE="source -doc" 3,221 kB
[nomerge      ] dev-java/netbeans-apisupport-7.0_rc2 
[nomerge      ]  dev-java/netbeans-ide-7.0_rc2 
[nomerge      ]   dev-java/saxon-9.2.0.6  USE="source -doc" 
[nomerge      ]    dev-java/jdom-1.0-r4  USE="source -doc -examples" 
[ebuild  N    ]     dev-java/jdom-jaxen-1.0-r1  3,489 kB
[nomerge      ] dev-java/saaj-1.3-r1  USE="source" 
[nomerge      ]  dev-java/xalan-2.7.1  USE="source -doc" 
[ebuild  N    ]   dev-java/bcel-5.2-r1  USE="source -doc -findbugs" 256 kB
[ebuild  N    ]    dev-java/junit-4.8.2-r1  USE="source -doc -examples -test" 1,557 kB
[ebuild  N    ]     dev-java/hamcrest-core-1.1  USE="source" 1,631 kB
[ebuild  N    ] dev-java/saxon-9.2.0.6  USE="source -doc" 2,874 kB
[nomerge      ] dev-java/freemarker-2.3.13  USE="source -doc" 
[ebuild  N    ]  dev-java/jaxen-1.1.1  USE="source -doc -examples -test" 265 kB
[ebuild  N    ]   dev-java/xom-1.2.6  USE="source -doc -examples" 11,100 kB
[ebuild  N    ]    dev-java/jarjar-0.9  USE="source -doc -test" 184 kB
[ebuild  N    ]     dev-java/asm-2.0-r1  USE="source -doc" 253 kB
[nomerge      ] dev-java/ant-contrib-1.0_beta3  USE="source -doc" 
[nomerge      ]  dev-java/bcel-5.2-r1  USE="source -doc -findbugs" 
[ebuild  N    ]   dev-java/ant-junit-1.8.1  0 kB
[nomerge      ] dev-java/saxon-9.2.0.6  USE="source -doc" 
[ebuild  N    ]  dev-java/dom4j-1.6.1-r3  USE="source -doc -test" 9,463 kB
[ebuild  N    ]   dev-java/jsr173-1.0-r1  USE="source -doc" 625 kB
[ebuild  N    ]    dev-java/jaxme-0.5.2  USE="source -doc" 5,351 kB
[ebuild  N    ]     dev-java/xmldb-20011111-r1  USE="source -doc" 36 kB
[nomerge      ] dev-java/cglib-2.2  USE="source -doc -examples -test" 
[ebuild  N    ]  dev-java/asm-3.2  USE="source -doc" 832 kB
[nomerge      ] dev-java/cglib-2.1.3  USE="source -doc" 
[ebuild  N    ]  dev-java/asm-1.5.3  USE="source -doc" 148 kB
[ebuild  N    ]   dev-java/ant-owanttask-1.1-r12  10 kB
[ebuild  N    ]    dev-java/xalan-2.7.1  USE="source -doc" 6,138 kB
[nomerge      ] dev-util/netbeans-7.0_rc2  USE="-doc" LINGUAS="pl -af -ar -ca -cs -de -el -es -fr -gl -hi_IN -id -it -ja -ko -lt -nl -pt_BR -pt_PT -ro -ru -sq -sr -sv -tl -tr -vi -zh_CN -zh_TW" NETBEANS_MODULES="apisupport enterprise java php -cnd -dlight -ergonomics -groovy -javacard -mobility -profiler -websvccommon" 
[ebuild  N    ]  dev-java/netbeans-nb-7.0_rc2  USE="-keychain" 20 kB
[ebuild  N    ]   dev-java/netbeans-harness-7.0_rc2  1,763 kB
[ebuild  N    ]  dev-java/netbeans-php-7.0_rc2  757 kB
[ebuild  N    ]   dev-java/netbeans-websvccommon-7.0_rc2  0 kB
[ebuild  N    ]    dev-java/netbeans-ide-7.0_rc2  19,736 kB

Total: 39 packages (39 new), Size of downloads: 201,617 kB

 * Error: circular dependencies:

(dev-java/xalan-2.7.1::gentoo, ebuild scheduled for merge) depends on
 (dev-java/bcel-5.2-r1::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-java/ant-junit-1.8.1::gentoo, ebuild scheduled for merge) (buildtime)
   (dev-java/xalan-2.7.1::gentoo, ebuild scheduled for merge) (runtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Any suggestions?

Thnx, Serchio
Last edited by Serchio on Thu Apr 14, 2011 5:01 pm, edited 1 time in total.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Wed Apr 13, 2011 5:40 pm

Code: Select all

USE="-source" emerge -1av =dev-java/xalan-2.7.1
As source is already stored in /usr/portage/distfiles I'm curious as to why the source use flag is invoked. When I try

Code: Select all

emerge -pv netbeans
without specifying source or -source; -source appears to be the default.
Defund the FCC.
Top
Serchio
n00b
n00b
Posts: 26
Joined: Sat May 17, 2008 9:54 pm
Contact:
Contact Serchio
Website

  • Quote

Post by Serchio » Wed Apr 13, 2011 5:53 pm

I have tried this but without success :/

Code: Select all

[nomerge      ] dev-java/xalan-2.7.1  USE="-doc -source" 
[ebuild  N    ]  dev-java/bcel-5.2-r1  USE="-doc -findbugs -source" 256 kB
[ebuild  N    ]   dev-java/junit-4.8.2-r1  USE="-doc -examples -source -test" 1,557 kB
[ebuild  N    ]    dev-java/hamcrest-core-1.1  USE="-source" 1,631 kB
[ebuild  N    ]     dev-java/jarjar-0.9  USE="-doc -source -test" 184 kB
[ebuild  N    ]      dev-java/asm-2.0-r1  USE="-doc -source" 253 kB
[ebuild  N    ]       dev-java/ant-owanttask-1.1-r12  10 kB
[ebuild  N    ]   dev-java/ant-junit-1.8.1  0 kB
[ebuild  N    ]    dev-java/xalan-2.7.1  USE="-doc -source" 6,138 kB

Total: 8 packages (8 new), Size of downloads: 10,026 kB

 * Error: circular dependencies:

(dev-java/bcel-5.2-r1::gentoo, ebuild scheduled for merge) depends on
 (dev-java/ant-junit-1.8.1::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-java/xalan-2.7.1::gentoo, ebuild scheduled for merge) (runtime)
   (dev-java/bcel-5.2-r1::gentoo, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Wed Apr 13, 2011 8:56 pm

Code: Select all

USE="-source" emerge -1av --no-deps =dev-java/xalan-2.7.1
If this works but a new circular is reported try same commands for the new blocker and ...
or

Code: Select all

USE="-source" emerge -1av netbeans
If this works take source flag out of global USE flags.
Defund the FCC.
Top
Mighty_Max
n00b
n00b
User avatar
Posts: 55
Joined: Fri Sep 19, 2008 8:59 pm
Location: Thessaloniki, Greece

  • Quote

Post by Mighty_Max » Wed Apr 13, 2011 11:04 pm

Thanx DONAHUE ;)

after issuing the following commands it worked for me ...

Code: Select all

emerge -av1 xml-commons-external  
emerge -av1 xerces
emerge -av1 javacup
emerge -av1 -O bcel
emerge -av1 -O =dev-java/xalan-2.7.1
Both, eclipse and netbeans are ready to emerge :)
Top
Serchio
n00b
n00b
Posts: 26
Joined: Sat May 17, 2008 9:54 pm
Contact:
Contact Serchio
Website

  • Quote

Post by Serchio » Thu Apr 14, 2011 5:01 pm

Thnx Donahue :) Problem solved...
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Thu Apr 14, 2011 5:30 pm

Enjoy. What does one do with netbeans?
Defund the FCC.
Top
Serchio
n00b
n00b
Posts: 26
Joined: Sat May 17, 2008 9:54 pm
Contact:
Contact Serchio
Website

  • Quote

Post by Serchio » Thu Apr 14, 2011 7:15 pm

I have done your code, and next Mighty_Max.

BTW. THNX for Mighty_Max also :)
Top
over9000
n00b
n00b
Posts: 1
Joined: Tue Apr 19, 2011 5:25 pm

for ~amd64 users

  • Quote

Post by over9000 » Tue Apr 19, 2011 6:37 pm

Mighty_Max wrote:Thanx DONAHUE ;)

after issuing the following commands it worked for me ...

Code: Select all

emerge -av1 xml-commons-external  
emerge -av1 xerces
emerge -av1 javacup
emerge -av1 -O bcel
emerge -av1 -O =dev-java/xalan-2.7.1
Both, eclipse and netbeans are ready to emerge :)
i ran into the same problem here, and this fixed it for me as well. thanks!

just one more thing:
if you are running an ~amd64 system (like i am), you'll have to use

Code: Select all

emerge -av1 -O =bcel-5.2
for it doesn't work with bcel-5.2-r1, compilation dies because it needs xalan...
Top
blietaer
Tux's lil' helper
Tux's lil' helper
Posts: 103
Joined: Thu Apr 27, 2006 1:25 pm

  • Quote

Post by blietaer » Thu Apr 21, 2011 9:16 am

Now this is PERFECT !

I don't understand why these circular dependencies have to be so messy...
~amd64 here, and your fix does solve the whole issue, and I end up with a smooth, fast, sweet netbeans.

now, do I understand it well that this whole '-av1 -O' prevent stuff to be part of 'world'?
meaning that next time I will/do auto clea, or emerge -auvDN world, I will simply loose netbeans and have to go through this post again?

(actually I can of did this last week already , and today I can't find my netbeans anymore, re-emerging this 5 steps now...)
(yes, I do emerge --sync and -auvDN world every single day, again, I am running on '~amd64'...bad habit?)
Top
ShadowNode
n00b
n00b
User avatar
Posts: 34
Joined: Sat Dec 20, 2003 1:26 pm
Location: Vancouver, Canada

  • Quote

Post by ShadowNode » Mon Apr 25, 2011 10:38 pm

blietaer wrote: now, do I understand it well that this whole '-av1 -O' prevent stuff to be part of 'world'?
meaning that next time I will/do auto clea, or emerge -auvDN world, I will simply loose netbeans and have to go through this post again?
The 1 "or one-shot" option prevents the package from being added to world, yes. This means it won't be upgraded when you do an emerge -avu world, but it will (presuming you still have packages that depend on it) be updated if you do an emerge -avuD world.

You don't, generally, want to use the D (deep) option, because it pulls in updates that you don't require and might not be compatible with what depends on them, especially if you're using ~amd64.

You should always run revdep-rebuild after any emerge --deep.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic