Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
--backtrack option
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 719
Location: Oslo, Norway

PostPosted: Fri Aug 02, 2013 1:07 pm    Post subject: --backtrack option Reply with quote

I'm getting the following error when trying to emerge bitcoind:

Quote:
# emerge -pv bitcoind

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-libs/leveldb-1.9.0-r5 USE="-snappy* -static-libs" 0 kB
[ebuild R ] dev-libs/openssl-1.0.1c USE="kerberos (sse2) zlib -bindist* -gmp -rfc3779 -static-libs {-test} -vanilla" 0 kB
[ebuild N ] net-p2p/bitcoind-0.8.1 USE="ipv6 -examples -logrotate -upnp" 1,920 kB

Total: 3 packages (1 new, 2 reinstalls), Size of downloads: 1,920 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

(dev-libs/openssl-1.0.1c::gentoo, ebuild scheduled for merge) pulled in by
dev-libs/openssl:0[-bindist] required by (net-p2p/bitcoind-0.8.1::gentoo, ebuild scheduled for merge)

(dev-libs/openssl-1.0.1c::gentoo, installed) pulled in by
>=dev-libs/openssl-0.9.6d:0[bindist=] required by (net-misc/openssh-5.9_p1-r4::gentoo, installed)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


How can this be resolved using the --backtrack or other option? emerge -pv bitcoind --backtrack=300 gives the same error message
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 753
Location: Glasgow, UK

PostPosted: Fri Aug 02, 2013 3:23 pm    Post subject: Reply with quote

Backtrack won't help you here because it is the flipped bindist use flag on openssl that causes the issue. If you rebuild openssl without the bindist use flag (this is a requirement of bitcoind), then you will break openssh unless you rebuild with the bindist useflag disabled there too.

So tl;dr
Code:

# echo "net-misc/openssh -bindist" >> /etc/portage/package.use
# emerge -av bitcoind openssh


Should do what you want

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 719
Location: Oslo, Norway

PostPosted: Mon Aug 05, 2013 3:04 pm    Post subject: Reply with quote

Thanks. I had tried that previously, but it resulted in a different problem. Fortunately adding "dev-libs/leveldb -snappy" solved the second problem when I made a second attempt at it.
Back to top
View user's profile Send private message
F1r31c3r
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2007
Posts: 107
Location: UK

PostPosted: Sun Feb 23, 2014 1:18 am    Post subject: So what is the answer Reply with quote

So about --backtrack=

What actually does it do and how does it work?

be interesting to know as a google search don't bring anything up.
_________________
A WikI, A collection of mass misinformation based on opinion and manipulation by a deception of freedom.
If we know the truth, then we should be free from deception (John 8:42-47 )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum