Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libxml and libav are blocking upgrade system
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
lordalbert
l33t
l33t


Joined: 26 Nov 2006
Posts: 840
Location: Italy

PostPosted: Tue Jul 22, 2014 4:26 pm    Post subject: libxml and libav are blocking upgrade system Reply with quote

Hi, today i'm trying to upgrade system, but it gives me a problem:

Code:

# emerge -auvDN world

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

Calculating dependencies... done!
[ebuild     U  ] virtual/perl-Sys-Syslog-0.320.0-r2 [0.320.0-r1] 0 kB
[ebuild     U  ] virtual/perl-Scalar-List-Utils-1.270.0-r2 [1.270.0-r1] 0 kB
[ebuild   R    ] dev-libs/libxml2-2.9.1-r4:2  USE="icu* ipv6 python readline -debug -examples -lzma -static-libs {-test}" ABI_X86="(64) (-32) (-x32)" PYTHON_TARGETS="python2_7 python3_3 -python3_2 (-python3_4) (-python2_6%)" 0 kB
[ebuild     UD ] x11-libs/libva-1.0.15 [1.3.1] USE="opengl -vdpau (-X%*) (-drm%*) (-egl%) (-wayland%)" ABI_X86="(-32%) (-64%*) (-x32%)" VIDEO_CARDS="fglrx intel -dummy -nvidia" 0 kB
[ebuild     U  ] dev-util/cmake-2.8.12.2-r1 [2.8.12.2] USE="ncurses qt4 -emacs (-qt5) {-test}" 0 kB
[ebuild     U  ] x11-themes/oxygen-gtk-1.4.5:2 [1.4.3:2] USE="-debug -doc" 197 kB

Total: 6 packages (4 upgrades, 1 downgrade, 1 reinstall), Size of downloads: 197 kB

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

dev-libs/libxml2:2

  (dev-libs/libxml2-2.9.1-r4::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-libs/libxml2-2.9.1-r4::gentoo, installed) pulled in by
    dev-libs/libxml2:2[!icu?] required by (dev-qt/qtwebkit-4.8.5::gentoo, installed)

x11-libs/libva:0

  (x11-libs/libva-1.0.15::gentoo, ebuild scheduled for merge) pulled in by
    <x11-libs/libva-1.2[X(+),opengl?] required by (x11-libs/xvba-video-0.8.0-r1::gentoo, installed)

  (x11-libs/libva-1.3.1::gentoo, installed) pulled in by
    >=x11-libs/libva-1.3.0[X?,wayland?,drm?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (x11-libs/libva-intel-driver-1.3.0::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.



Any idea how to solve?

Thank you
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Tue Jul 22, 2014 5:15 pm    Post subject: Reply with quote

For libva; x11-libs/xvba-video is complaining that it needs libva compiled with the X use flag. (From what I can tell, the 1.0.15 had that built in, so couldn't turn it off).
For libxml2, qtwebkit is complaining because because libxml2 is compiled with the icu use flag. So for that, either turn off the icu use flag for libxml2 or turn of gstreamer use flag for qtwebkit.

Personaly, I'd add this to my package.use file, as it's easier to recompile libxml2 than it is qtwebkit.

Code:

x11-libs/libva X
dev-libs/libxml2 -icu
Back to top
View user's profile Send private message
lordalbert
l33t
l33t


Joined: 26 Nov 2006
Posts: 840
Location: Italy

PostPosted: Tue Jul 22, 2014 5:42 pm    Post subject: Reply with quote

Thank you!

I'm still having problem with libva

Code:

# emerge -auvDN world

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

Calculating dependencies... done!
[ebuild     U  ] virtual/perl-Sys-Syslog-0.320.0-r2 [0.320.0-r1] 0 kB                                                                                                                                                           
[ebuild     U  ] virtual/perl-Scalar-List-Utils-1.270.0-r2 [1.270.0-r1] 0 kB                                                                                                                                                     
[ebuild     UD ] x11-libs/libva-1.0.15 [1.3.1] USE="opengl -vdpau (-X%*) (-drm%*) (-egl%) (-wayland%)" ABI_X86="(-32%) (-64%*) (-x32%)" VIDEO_CARDS="fglrx intel -dummy -nvidia" 0 kB                                           
[ebuild     U  ] dev-util/cmake-2.8.12.2-r1 [2.8.12.2] USE="ncurses qt4 -emacs (-qt5) {-test}" 0 kB                                                                                                                             
[ebuild     U  ] x11-themes/oxygen-gtk-1.4.5:2 [1.4.3:2] USE="-debug -doc" 197 kB                                                                                                                                               
                                                                                                                                                                                                                                 
Total: 5 packages (4 upgrades, 1 downgrade), Size of downloads: 197 kB                                                                                                                                                           
                                                                                                                                                                                                                                 
!!! Multiple package instances within a single package slot have been pulled                                                                                                                                                     
!!! into the dependency graph, resulting in a slot conflict:                                                                                                                                                                     
                                                                                                                                                                                                                                 
x11-libs/libva:0                                                                                                                                                                                                                 
                                                                                                                                                                                                                                 
  (x11-libs/libva-1.0.15::gentoo, ebuild scheduled for merge) pulled in by                                                                                                                                                       
    <x11-libs/libva-1.2[X(+),opengl?] required by (x11-libs/xvba-video-0.8.0-r1::gentoo, installed)                                                                                                                             
                                                                                                                                                                                                                                 
  (x11-libs/libva-1.3.1::gentoo, installed) pulled in by
    >=x11-libs/libva-1.3.0[X?,wayland?,drm?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (x11-libs/libva-intel-driver-1.3.0::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.

Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Jul 22, 2014 7:33 pm    Post subject: Reply with quote

The most simple test for the problem is probably 'emerge -1pv '>=x11-libs/libva-1.2' x11-libs/xvba-video x11-libs/libva-intel-driver'.
Back to top
View user's profile Send private message
lordalbert
l33t
l33t


Joined: 26 Nov 2006
Posts: 840
Location: Italy

PostPosted: Tue Jul 22, 2014 7:54 pm    Post subject: Reply with quote

VoidMage wrote:
The most simple test for the problem is probably 'emerge -1pv '>=x11-libs/libva-1.2' x11-libs/xvba-video x11-libs/libva-intel-driver'.


same problem:

Quote:

# emerge -1pv '>=x11-libs/libva-1.2' x11-libs/xvba-video x11-libs/libva-intel-driver

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

Calculating dependencies... done!
[ebuild R ] x11-libs/libva-1.3.1 USE="X drm opengl -egl -vdpau -wayland" ABI_X86="(64) (-32) (-x32)" VIDEO_CARDS="fglrx intel -dummy -nvidia" 0 kB
[ebuild R ] x11-libs/libva-intel-driver-1.3.0 USE="X drm -wayland" ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild UD ] x11-libs/libva-1.0.15 [1.3.1] USE="opengl -vdpau (-X%*) (-drm%*) (-egl%) (-wayland%)" ABI_X86="(-32%) (-64%*) (-x32%)" VIDEO_CARDS="fglrx intel -dummy -nvidia" 0 kB
[ebuild R ] x11-libs/xvba-video-0.8.0-r1 USE="opengl -debug" 0 kB

Total: 4 packages (1 downgrade, 3 reinstalls), Size of downloads: 0 kB

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

x11-libs/libva:0

(x11-libs/libva-1.3.1::gentoo, ebuild scheduled for merge) pulled in by
>=x11-libs/libva-1.3.0[X?,wayland?,drm?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (x11-libs/libva-intel-driver-1.3.0::gentoo, ebuild scheduled for merge)
(and 1 more with the same problem)

(x11-libs/libva-1.0.15::gentoo, ebuild scheduled for merge) pulled in by
<x11-libs/libva-1.2[X(+),opengl?] required by (x11-libs/xvba-video-0.8.0-r1::gentoo, ebuild scheduled for merge)


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



I don't know why libva is downgrading...
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jul 22, 2014 9:40 pm    Post subject: Reply with quote

lordalbert wrote:

(x11-libs/libva-1.0.15::gentoo, ebuild scheduled for merge) pulled in by
<x11-libs/libva-1.2[X(+),opengl?] required by (x11-libs/xvba-video-0.8.0-r1::gentoo, ebuild scheduled for merge)
I don't know why libva is downgrading...


the need, the name and version of package [the use flag of package] required by (the culprit name [need flag for culprit], ebuild the reason the culprit is chosen)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Jul 23, 2014 12:19 am    Post subject: Reply with quote

:shrug: well, let's try something more complicated then: 'emerge -1pv '>=x11-libs/libva-1.2' =x11-libs/xvba-video-0.8.0-r2 x11-libs/libva-intel-driver'.

It might be some strange conflict with package.use.stable.mask, cause (AFAICT) the other useflags should be met.
Back to top
View user's profile Send private message
strider2003
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 151
Location: Spain

PostPosted: Fri Jul 25, 2014 7:57 am    Post subject: Reply with quote

I'm having (almost) the same problem.

I've tried this command, but the problem persists:
Code:

emerge -1pv '>=x11-libs/libva-1.2' =x11-libs/xvba-video-0.8.0-r1 x11-libs/libva-vdpau-driver


I've been 3 hours trying to solve this problem, unsuccessfully.
Back to top
View user's profile Send private message
strider2003
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 151
Location: Spain

PostPosted: Fri Jul 25, 2014 2:07 pm    Post subject: Reply with quote

I have solved it this way:

Code:

echo "<=x11-libs/xvba-video-0.8.0-r1" >> /etc/portage/package.mask

echo "=x11-libs/xvba-video-0.8.0-r2" >> /etc/portage/package.keywords
Back to top
View user's profile Send private message
mantis78
n00b
n00b


Joined: 06 Aug 2014
Posts: 2
Location: Singapore

PostPosted: Sat Sep 27, 2014 1:01 am    Post subject: Reply with quote

strider2003's post from Posted: Fri Jul 25, 2014 10:07 pm solved it for me... but am not sure why we have to do this to get it to build.

Should we remove the package.mask/package.keywords at a later date?
Back to top
View user's profile Send private message
strider2003
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 151
Location: Spain

PostPosted: Sat Sep 27, 2014 7:27 am    Post subject: Reply with quote

I guess you can remove them when x11-libs/xvba-video-0.8.0-r1 is not in the portage tree anymore.
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