Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366419 - sys-apps/portage-2.2.0_alpha31 has problem with dependcy resolution on virtuals
Summary: sys-apps/portage-2.2.0_alpha31 has problem with dependcy resolution on virtuals
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-08 07:25 UTC by Justin Lecher (RETIRED)
Modified: 2011-05-08 11:53 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 Justin Lecher (RETIRED) gentoo-dev 2011-05-08 07:25:04 UTC
# emerge --ignore-default-opts -tuaDN world

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

Calculating dependencies... done!
[ebuild   R    ] app-portage/eix-0.22.8  USE="strong-optimization*" 
[blocks b      ] media-video/ffmpeg ("media-video/ffmpeg" is blocking media-video/libav-0.7_pre20110327)
[uninstall     ]  media-video/libav-0.7_pre20110327 
[nomerge       ] media-gfx/gimp-2.6.11-r2 
[nomerge       ]  media-libs/gegl-0.1.6 
[nomerge       ]   virtual/ffmpeg-0.6.90 
[ebuild  N     ]    media-video/ffmpeg-0.7_rc1  USE="3dnow 3dnowext X alsa bzip2 encode hardcoded-tables mmx mmxext mp3 ssse3 threads truetype vaapi vdpau x264 zlib -aac (-altivec) -amr -avx -bindist (-celt) -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -sdl -speex -static-libs -test -theora -v4l -v4l2 -vorbis -vpx -xvid" VIDEO_CARDS="nvidia" 
[nomerge       ] sci-libs/lapackpp-2.5.3 
[nomerge       ]  virtual/blas-2.0 
[ebuild     U  ]   sci-libs/blas-reference-20070226-r2 [3.3.1] USE="-doc%" 
[ebuild  N     ]    app-admin/eselect-blas-0.1 
[nomerge       ] mail-client/evolution-2.32.2-r3 
[ebuild     U  ]  dev-libs/nss-3.12.9-r1 [3.12.9]
[ebuild    fU  ] sci-chemistry/cns-1.3_p5 [1.2.1-r6] USE="(-aria*)" 
[blocks B      ] app-admin/eselect-blas ("app-admin/eselect-blas" is blocking sci-libs/cblas-reference-20110218, sci-libs/scalapack-1.8.0, sci-libs/gsl-1.14-r2, sci-libs/atlas-3.9.40-r1, sci-libs/gotoblas2-1.13, sci-libs/lapacke-reference-1.0.0.009, sci-libs/lapack-reference-3.3.1, sci-libs/blas-reference-3.3.1, sci-libs/mpiblacs-1.1)

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

  (sci-libs/scalapack-1.8.0::bicatali, installed) pulled in by
    sci-libs/scalapack required by @selected
    >=sci-libs/scalapack-1.8 required by (virtual/scalapack-1.8::bicatali, installed)

  (sci-libs/gotoblas2-1.13::bicatali, installed) pulled in by
    sci-libs/gotoblas2 required by @selected

  (sci-libs/lapacke-reference-1.0.0.009::bicatali, installed) pulled in by
    sci-libs/lapacke-reference required by @selected
    >=sci-libs/lapacke-reference-1.0 required by (virtual/lapacke-1.0::bicatali, installed)

  (sci-libs/mpiblacs-1.1::bicatali, installed) pulled in by
    >=sci-libs/mpiblacs-1.1 required by (virtual/blacs-1.1::bicatali, installed)

  (sci-libs/cblas-reference-20110218::bicatali, installed) pulled in by
    >=sci-libs/cblas-reference-20110218 required by (virtual/cblas-2.0::bicatali, installed)

  (sci-libs/atlas-3.9.40-r1::bicatali, installed) pulled in by
    sci-libs/atlas required by @selected

  (app-admin/eselect-blas-0.1::gentoo, ebuild scheduled for merge) pulled in by
    app-admin/eselect-blas required by (sci-libs/blas-reference-20070226-r2::gentoo, ebuild scheduled for merge)

  (sci-libs/lapack-reference-3.3.1::bicatali, installed) pulled in by
    >=sci-libs/lapack-reference-3.3 required by (virtual/lapack-3.3::bicatali, installed)
    sci-libs/lapack-reference required by @selected

  (sci-libs/gsl-1.14-r2::bicatali, installed) pulled in by
    >=sci-libs/gsl-1.3 required by (sci-chemistry/coot-9999::science, installed)
    sci-libs/gsl required by (media-gfx/inkscape-0.48.1-r1::gentoo, installed)
    sci-libs/gsl required by (sci-libs/tamu_anova-0.2.1::gentoo, installed)
    (and 1 more)



Two problems arise:

1. I ahve libav installed, so there is no need to install ffmpeg to fullfil virtual/ffmpeg-0.6.90
2. I have sci-libs/blas-reference-3.0.1 installed which is enough for virtual/blas-2.0, so no need for downgrade.
The blas stuff comes from the bicatali overlay http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=summary
Comment 1 Zac Medico gentoo-dev 2011-05-08 07:38:12 UTC
(In reply to comment #0)
> 1. I ahve libav installed, so there is no need to install ffmpeg to fullfil
> virtual/ffmpeg-0.6.90

This is likely a case of bug 365127.

> 2. I have sci-libs/blas-reference-3.0.1 installed which is enough for
> virtual/blas-2.0, so no need for downgrade.

The version comparison rules as defined by PMS work such that 20070226 > 3.3.1, so it's supposed to behave as an upgrade if we're following the rules.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-05-08 07:43:19 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > 1. I ahve libav installed, so there is no need to install ffmpeg to fullfil
> > virtual/ffmpeg-0.6.90
> 
> This is likely a case of bug 365127.

I am looking into that and close this bug, if it si the same issue.

> 
> > 2. I have sci-libs/blas-reference-3.0.1 installed which is enough for
> > virtual/blas-2.0, so no need for downgrade.
> 
> The version comparison rules as defined by PMS work such that 20070226 > 3.3.1,
> so it's supposed to behave as an upgrade if we're following the rules.

You are absolutely right. Sorry for this.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-05-08 09:40:03 UTC
I don't think that the ffmpeg is the same. For me there are no USE changes involved.
Comment 4 Zac Medico gentoo-dev 2011-05-08 10:07:49 UTC
Post the output of `emerge -pv media-video/libav virtual/ffmpeg` so we can easily compare the USE settings of both packages.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2011-05-08 10:22:50 UTC
 # emerge -pv media-video/libav virtual/ffmpeg

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

Calculating dependencies... done!
[ebuild   R    ] virtual/ffmpeg-0.6.90  USE="X encode mp3 threads vaapi vdpau x264 -jpeg2k -sdl -theora" 0 kB
[ebuild   R    ]  media-video/libav-0.7_pre20110327  USE="3dnow 3dnowext X alsa bzip2 encode hardcoded-tables mmx mmxext mp3 ssse3 threads vaapi vdpau x264 zlib (-altivec) -amr -bindist -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -sdl -speex -static-libs -test -theora -v4l -v4l2 -vorbis -vpx -xvid" VIDEO_CARDS="nvidia" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-05-08 11:53:44 UTC
I have chromium-11* installed which directly depends on media-video/ffmpeg and thus the dependency resolution of portage works like charm.

Sorry for this report.