Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272699 - net-misc/amazonmp3-1.0.3-r2 fails to build due to dependency conflict
Summary: net-misc/amazonmp3-1.0.3-r2 fails to build due to dependency conflict
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 21:33 UTC by Paul Moore
Modified: 2010-05-26 19:07 UTC (History)
7 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 Paul Moore 2009-06-04 21:33:14 UTC
The amazonmp3 download app fails to build due to conflicts with different versions of the boost libraries (see below).  Is there someway to install multiple versions of the boost library via slots?

# emerge -pv amazonmp3

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

Calculating dependencies... done!
[ebuild     UD] dev-util/boost-build-1.34.1 [1.35.0-r2] USE="python (-examples%*)" 0 kB
[uninstall    ] dev-util/boost-build-1.37.0  USE="examples python"
[blocks b     ] <=dev-util/boost-build-1.35.0-r1 ("<=dev-util/boost-build-1.35.0-r1" is blocking dev-util/boost-build-1.37.0)
[ebuild  NS   ] dev-libs/boost-1.34.1-r2 [1.37.0-r1] USE="doc -debug -icu -pyste -tools" 0 kB
[ebuild   Rf  ] net-misc/amazonmp3-1.0.3-r2  0 kB
[blocks B     ] <=dev-libs/boost-1.35.0-r2 ("<=dev-libs/boost-1.35.0-r2" is blocking dev-libs/boost-1.37.0-r1)

Total: 3 packages (1 downgrade, 1 in new slot, 1 reinstall, 1 uninstall), Size of downloads: 0 kB
Fetch Restriction: 1 package
Conflict: 2 blocks (1 unsatisfied)

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

  ('ebuild', '/', 'dev-libs/boost-1.34.1-r2', 'merge') pulled in by
    =dev-libs/boost-1.34* required by ('ebuild', '/', 'net-misc/amazonmp3-1.0.3-r2', 'merge')


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Comment 1 Dave 2009-07-19 00:32:56 UTC
I also have this problem with dev-libs/boost blocking itself. 

It doesn't seem to have anything to do with the net-misc/amazonmp package to me.

Trying to emerge (update) from dev-libs/boost-1.35.0-r2 to the following versions causes the block for me:
dev-libs/boost-1.39.0
dev-libs/boost-1.37.0-r1
dev-libs/boost-1.36.0-r1

It does not block dev-libs/boost-1.35.0-r5 for me however this version fails to build.

I solved the problem by masking all the above and then upgrading to dev-libs/boost-1.35.0-r3 which does not cause a block.

After that just removed the temporary masks and upgraded directly to dev-libs/boost-1.39.0

Cheers
Comment 2 Johannes Rauh 2009-07-24 09:30:13 UTC
I also just encountered this problem.

Unfortunately the amazonmp3 explicitly wants version 1.34*.  However, version 1.34* blocks all boost ebuilds from different slots.  I CC the maintainer of the boost ebuilds, maybe he can help.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-07-24 11:39:02 UTC
No, this is just another great example of why closed-source software is ugly.

I suppose we have 2 options:

- p.mask amazonmp3
- Go out and find all the actual libraries that are required (From fedora RPMs or whatever) and actually install them too in some /opt location and then use LD_PATH in a wrapper to start amazonmp3.

I don't have time to do that second thing right now, so I'm afraid amazonmp3 will be going away.

I do still want to get this going though, so don't give up all hope yet.
Comment 4 elprespufferfish 2009-07-26 19:09:44 UTC
Copying the following files to a tmp location, and setting LD_LIBRARY_PATH seems to work for me:

libboost_date_time-mt.so
libboost_date_time.so
libboost_date_time.so.3
libboost_iostreams-mt.so
libboost_iostreams.so
libboost_iostreams.so.3
libboost_signals-mt.so
libboost_signals.so
libboost_signals.so.3
libboost_thread-mt.so
libboost_thread-mt.so.3

Comment 5 Andreas Stangl 2010-05-26 19:07:03 UTC
I use "clamz" (http://code.google.com/p/clamz/) instead, works pretty well :-)