Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge world needs use flag(SOLVED)
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
KEA0463
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2006
Posts: 119

PostPosted: Sun Jan 04, 2015 12:58 am    Post subject: emerge world needs use flag(SOLVED) Reply with quote

when i went to emerge world it asks for something
like a +mod, use flag when i added it it keeps asking
for more use flags, and doesn't seem to acept so i kept
it the way it was ans am posting this code to see if
i acn resolve the issue,

Code:
sudo emerge -auDN @world

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "media-libs/sdl-mixer[mod,vorbis]".
!!! One of the following packages is required to complete your request:
- media-libs/sdl-mixer-1.2.12-r4::gentoo (Change USE: +mod, this change violates use flag constraints defined by media-libs/sdl-mixer-1.2.12-r4: 'midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi ) fluidsynth? ( midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 ) mad? ( mp3 ) mod? ( any-of ( mikmod modplug ) ) mikmod? ( mod ) modplug? ( mod )')
(dependency required by "games-board/pokerth-1.1.1[-dedicated]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Last edited by KEA0463 on Mon Jan 05, 2015 8:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Jan 04, 2015 2:38 am    Post subject: Re: emerge world needs use flag Reply with quote

KEA0463 wrote:
Code:
mod? ( any-of ( mikmod modplug ) )

You need +mod and one or more of the ones it asks for there.
Back to top
View user's profile Send private message
KEA0463
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2006
Posts: 119

PostPosted: Sun Jan 04, 2015 2:55 am    Post subject: Reply with quote

here is what happened next after adding use flag mod
and the other use flags, looks like some conflicting
setting, i'm not sure what i messed up is why i'm posting this here:

Code:
emerge -uaDN @world

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

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libx86-1.1-r3  USE="-static-libs"
[ebuild   R    ] sys-apps/tcp-wrappers-7.6.22-r1  USE="ipv6*"
[ebuild  N     ] media-libs/vo-aacenc-0.1.3  USE="-examples (-neon) -static-libs"
[ebuild   R    ] net-firewall/iptables-1.4.21-r1  USE="-static-libs*"
[ebuild  N     ] sys-boot/efivar-0.15
[ebuild   R    ] media-libs/lcms-2.6-r1  USE="tiff*"
[ebuild   R    ] net-misc/rsync-3.1.1  USE="ipv6*"
[ebuild   R    ] sys-apps/iproute2-3.16.0  USE="iptables* ipv6*"
[ebuild  N     ] media-libs/libmp4v2-2.0.0  USE="-static-libs {-test} -utils"
[ebuild   R    ] x11-libs/libX11-1.6.2  USE="ipv6*"
[ebuild   R    ] x11-libs/libICE-1.0.9  USE="ipv6*"
[ebuild   R    ] x11-libs/pixman-0.32.6  USE="-mmxext* -ssse3*"
[ebuild   R    ] x11-libs/libdrm-2.4.58  VIDEO_CARDS="-intel*"
[ebuild   R    ] dev-scheme/guile-2.0.11-r1  USE="deprecated*"
[ebuild  N     ] media-libs/faac-1.28-r4  USE="-static-libs"
[ebuild  N     ] media-libs/faad2-2.7-r3  USE="-digitalradio -static-libs"
[ebuild   R    ] net-misc/curl-7.39.0  USE="ipv6* -threads*"
[ebuild   R    ] net-misc/iputils-20121221-r2  USE="ipv6*"
[ebuild   R    ] net-libs/libircclient-1.7  USE="ipv6* -threads*"
[ebuild   R    ] x11-libs/libXfont-1.5.0  USE="ipv6*"
[ebuild   R    ] x11-libs/libXmu-1.1.2  USE="ipv6*"
[ebuild   R    ] x11-apps/xauth-1.0.9-r1  USE="ipv6*"
[ebuild   R    ] x11-apps/xhost-1.0.6  USE="ipv6*"
[ebuild     U #] app-admin/eselect-opengl-1.3.1 [1.2.7]
[ebuild     U #] x11-proto/glproto-1.4.17-r1 [1.4.17]
[blocks b      ] <x11-proto/glproto-1.4.17-r1 ("<x11-proto/glproto-1.4.17-r1" is blocking app-admin/eselect-opengl-1.3.1)
[ebuild   R    ] net-misc/dhcpcd-6.4.3  USE="ipv6*"
[ebuild   R    ] net-wireless/bluez-5.25  USE="cups*"
[ebuild   R    ] sys-apps/pciutils-3.3.0-r1  USE="kmod*"
[ebuild  N     ] sys-apps/vbetool-1.1
[ebuild  N     ] sys-boot/efibootmgr-0.11.0
[ebuild   R    ] sys-apps/busybox-1.21.1  USE="ipv6*"
[ebuild   R    ] app-arch/libarchive-3.1.2-r1  USE="expat*"
[ebuild  N     ] media-plugins/gst-plugins-faac-0.10.23-r1
[ebuild  N     ] media-plugins/gst-plugins-faad-0.10.23-r1
[ebuild   R    ] media-libs/libwebp-0.4.2  USE="tiff*"
[ebuild   R    ] media-video/ffmpeg-2.2.9  USE="aac* -mmxext* -ssse3* -vaapi* -vpx* -webp* -x264* -xvid*"
[ebuild   R    ] virtual/ffmpeg-9-r1  USE="-threads* -vaapi* -x264*"
[ebuild  N     ] media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r2  USE="orc"
[ebuild   R    ] dev-java/icedtea-bin-7.2.5.3  USE="cups*"
[ebuild   R    ] media-plugins/gst-plugins-meta-0.10-r9  USE="aac* -vpx* -x264* -xvid*"
[ebuild   R    ] virtual/notification-daemon-0 [0] USE="gnome*"
[ebuild   R    ] dev-lang/python-2.7.9-r1000  USE="ipv6*"
[ebuild   R    ] net-libs/libproxy-0.4.11-r2  USE="gnome*"
[ebuild   R    ] dev-lang/python-3.3.6-r1000  USE="ipv6*"
[ebuild   R    ] dev-libs/libxml2-2.9.2-r1000  USE="ipv6*"
[ebuild   R    ] dev-python/imaging-2.6.1-r1001  USE="tiff* -webp*"
[ebuild   R    ] sys-libs/ncurses-5.9-r3  USE="gpm*"
[ebuild   R    ] sys-devel/gettext-0.19.4  USE="-git*"
[ebuild   R    ] sys-libs/gpm-1.20.7-r2  USE="-static-libs*"
[ebuild   R    ] mail-client/mutt-1.5.23-r4  USE="imap*"
[ebuild   R    ] net-irc/irssi-0.8.17  USE="ipv6*"
[ebuild   R    ] x11-libs/gdk-pixbuf-2.31.1  USE="tiff*"
[ebuild   R    ] sys-apps/util-linux-2.24.2  USE="-bash-completion*"
[ebuild     UD ] media-libs/mesa-10.2.8 [10.3.5] VIDEO_CARDS="-i915* -intel*"
[blocks b      ] =media-libs/mesa-10.3.5 ("=media-libs/mesa-10.3.5" is blocking app-admin/eselect-opengl-1.3.1)
[ebuild   R    ] sys-devel/gcc-4.8.3  USE="fortran*"
[ebuild   R    ] net-misc/wget-1.16.1  USE="ipv6*"
[ebuild   R    ] sys-process/psmisc-22.21  USE="ipv6*"
[ebuild   R    ] app-editors/vim-7.4.542  USE="gpm* -vim-pager*"
[ebuild   R    ] net-libs/glib-networking-2.42.0  USE="gnome*"
[ebuild   R    ] app-editors/xemacs-21.5.34-r2  USE="gpm* tiff*"
[ebuild   R    ] sys-boot/grub-2.02_beta2-r3  GRUB_PLATFORMS="efi-64* pc*"
[ebuild  N     ] media-libs/aalib-1.4_rc5-r6  USE="X gpm -slang -static-libs"
[ebuild   R    ] dev-libs/newt-0.52.15  USE="gpm*"
[ebuild   R    ] x11-libs/cairo-1.12.18  USE="-xcb*"
[ebuild   R    ] x11-libs/libSM-1.2.2-r1  USE="ipv6*"
[ebuild   R    ] sys-fs/eudev-1.5.3-r2  USE="kmod*"
[ebuild     U  ] x11-base/xorg-server-1.16.1-r2 [1.16.1-r1] USE="ipv6*"
[ebuild   R    ] sys-power/pm-utils-1.4.1-r6  VIDEO_CARDS="-intel*"
[ebuild   R    ] media-libs/libsdl-1.2.15-r8  USE="aalib*"
[ebuild     U  ] sys-boot/boot-update-1.7.2 [1.7.1]
[ebuild   R    ] x11-libs/gtk+-2.24.25  USE="cups*"
[ebuild   R    ] app-text/poppler-0.26.5  USE="tiff*"
[ebuild   R    ] dev-python/pycairo-1.10.0-r1000  USE="-xcb*"
[ebuild   R    ] sys-power/upower-0.99.1  USE="deprecated*"
[ebuild   R    ] app-misc/mc-4.8.13-r1  USE="gpm*"
[ebuild   R    ] media-gfx/imagemagick-6.9.0.0  USE="tiff* -svg* -webp*"
[ebuild   R    ] dev-qt/qtgui-4.8.6-r1  USE="cups* tiff* -mng*"
[ebuild  N     ] media-libs/sdl-mixer-1.2.12-r4  USE="flac mad mikmod mod modplug mp3 vorbis wav -fluidsynth -midi -playtools -smpeg -static-libs -timidity"
[ebuild   R    ] x11-libs/gtk+-3.14.6  USE="cups*"
[ebuild   R    ] net-print/cups-filters-1.0.61  USE="tiff*"
[ebuild   R    ] x11-themes/gtk-engines-murrine-0.98.2-r1  USE="themes*"
[ebuild   R    ] www-client/firefox-34.0.5-r1  USE="-gstreamer*"
[ebuild   R   #] mate-base/mate-session-manager-9999  USE="ipv6*"
[ebuild   R    ] app-text/atril-1.8.1  USE="tiff*"
[ebuild   R    ] media-gfx/eom-1.8.1  USE="tiff* -svg*"
[ebuild   R    ] mate-base/mate-applets-1.8.1  USE="ipv6*"
[ebuild   R    ] app-admin/packagekit-base-0.8.15-r1  USE="-bash-completion*"
[ebuild   R    ] media-libs/libcanberra-0.30-r4  USE="gnome* -gstreamer*"
[ebuild   R    ] media-sound/pulseaudio-5.0.20141024-r1  USE="gnome* ipv6*"
[ebuild   R    ] mate-extra/mate-utils-1.8.1  USE="ipv6*"
[ebuild   R    ] mate-extra/mate-media-1.8.0  USE="aac*"
[ebuild   R    ] mail-mta/msmtp-1.4.32  USE="mta*"
[uninstall     ] mail-mta/postfix-2.11.3-r1
[blocks b      ] mail-mta/postfix ("mail-mta/postfix" is blocking mail-mta/msmtp-1.4.32)
[blocks b      ] mail-mta/msmtp[mta] ("mail-mta/msmtp[mta]" is blocking mail-mta/postfix-2.11.3-r1)
[ebuild   R    ] app-crypt/gnupg-2.0.26-r3  USE="mta*"
[ebuild   R    ] app-admin/sudo-1.8.11_p2  USE="sendmail*"
[blocks B      ] <x11-base/xorg-server-1.16.2-r1 ("<x11-base/xorg-server-1.16.2-r1" is blocking app-admin/eselect-opengl-1.3.1)
[blocks B      ] <media-libs/mesa-10.3.4-r1 ("<media-libs/mesa-10.3.4-r1" is blocking app-admin/eselect-opengl-1.3.1)

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

  (app-admin/eselect-opengl-1.3.1::gentoo, ebuild scheduled for merge) pulled in by
    >=app-admin/eselect-opengl-1.3.0 required by (x11-proto/glproto-1.4.17-r1::gentoo, ebuild scheduled for merge)
    >=app-admin/eselect-opengl-1.2.7 required by (media-libs/mesa-10.2.8::gentoo, ebuild scheduled for merge)
    >=app-admin/eselect-opengl-1.0.8 required by (x11-base/xorg-server-1.16.1-r2::gentoo, ebuild scheduled for merge)

  (media-libs/mesa-10.2.8::gentoo, ebuild scheduled for merge) pulled in by
    >=media-libs/mesa-9.1.6[egl,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(-)?] (>=media-libs/mesa-9.1.6[egl,abi_x86_64(-)]) required by (x11-libs/cairo-1.12.18::gentoo, ebuild scheduled for merge)
    >=media-libs/mesa-9.1.6[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(-)?] (>=media-libs/mesa-9.1.6[abi_x86_64(-)]) required by (virtual/opengl-7.0-r1::gentoo, installed)
    media-libs/mesa[egl] required by (net-libs/webkit-gtk-2.4.4::gentoo, installed)
    >=media-libs/mesa-10.2:* required by (www-client/firefox-34.0.5-r1::gentoo, ebuild scheduled for merge)
    >=media-libs/mesa-9.2.0[nptl=] (>=media-libs/mesa-9.2.0[nptl]) required by (x11-base/xorg-server-1.16.1-r2::gentoo, ebuild scheduled for merge)

  (x11-base/xorg-server-1.16.1-r2::gentoo, ebuild scheduled for merge) pulled in by
    >=x11-base/xorg-server-1.12[udev] required by (x11-drivers/xf86-input-evdev-2.9.1::gentoo, installed)
    x11-base/xorg-server[-minimal] required by (x11-base/xorg-x11-7.4-r2::gentoo, installed)
    x11-base/xorg-server:0/1.16.1= required by (x11-drivers/xf86-input-evdev-2.9.1::gentoo, installed)
    x11-base/xorg-server:0/1.16.1= required by (x11-drivers/xf86-input-synaptics-1.8.1::gentoo, installed)
    x11-base/xorg-server:= required by (x11-drivers/xf86-input-evdev-2.9.1::gentoo, installed)
    x11-base/xorg-server:= required by (x11-drivers/xf86-input-synaptics-1.8.1::gentoo, installed)
    >=x11-base/xorg-server-1.12 required by (x11-drivers/xf86-input-synaptics-1.8.1::gentoo, installed)
    x11-base/xorg-server[xorg] required by (x11-drivers/xf86-input-evdev-2.9.1::gentoo, installed)
    x11-base/xorg-server[xorg] required by (x11-drivers/xf86-input-synaptics-1.8.1::gentoo, installed)


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
 
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Jan 04, 2015 3:23 am    Post subject: Reply with quote

Look at the "[blocks " lines: it wants several ebuilds up to date before it can merge eselect-opengl. Update those separately then try again.
Back to top
View user's profile Send private message
KEA0463
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2006
Posts: 119

PostPosted: Sun Jan 04, 2015 3:56 am    Post subject: Reply with quote

ok, yes, i will emerge and update these packages and see if this fixes
it.
Back to top
View user's profile Send private message
KEA0463
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2006
Posts: 119

PostPosted: Sun Jan 04, 2015 5:00 am    Post subject: Reply with quote

No matter what i do I can't seem to resolve these 2 blocks
any advice:

Code:
blocks B      ] <x11-base/xorg-server-1.16.2-r1 ("<x11-base/xorg-server-1.16.2-r1" is blocking app-admin/eselect-opengl-1.3.1)
[blocks B      ] <media-libs/mesa-10.3.4-r1 ("<media-libs/mesa-10.3.4-r1" is blocking app-admin/eselect-opengl-1.3.1)
 
Back to top
View user's profile Send private message
KEA0463
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2006
Posts: 119

PostPosted: Sun Jan 04, 2015 5:08 am    Post subject: Reply with quote

i think i may be solving it now:

Code:
 emerge -avDuN app-admin/eselect-opengl

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

Calculating dependencies... done!
[ebuild   R    ] net-misc/rsync-3.1.1  USE="acl iconv ipv6* xattr -static" 0 kB
[ebuild  N    #] app-admin/eselect-opengl-1.3.1  3 kB
[ebuild   R    ] dev-lang/python-2.7.9-r1000:2.7  USE="gdbm ipv6* ncurses readline sqlite ssl (threads) (wide-unicode) xml (-berkdb) -build -doc -examples -tk -wininst" 0 kB
[ebuild   R    ] sys-libs/ncurses-5.9-r3:5  USE="cxx gpm* unicode -ada -debug -doc -minimal -profile -static-libs -tinfo -trace" 0 kB
[ebuild   R    ] dev-lang/python-3.3.6-r1000:3.3  USE="gdbm ipv6* ncurses readline sqlite ssl (threads) xml -build -doc -examples -tk -wininst" 0 kB
[ebuild   R    ] sys-libs/gpm-1.20.7-r2  USE="(-selinux) -static-libs*" 0 kB

Total: 6 packages (1 new, 5 reinstalls), Size of downloads: 3 kB

Would you like to merge these packages? [Yes/No]
 
Back to top
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Sun Jan 04, 2015 7:08 pm    Post subject: Reply with quote

let's see what happens... the problematic packages are mesa, xorg-server and eselect-opengl

If you look at the merge-order, you see the following:
KEA0463 wrote:

Calculating dependencies... done!
[...]
[ebuild U #] app-admin/eselect-opengl-1.3.1 [1.2.7]
[...]
[ebuild UD ] media-libs/mesa-10.2.8 [10.3.5] VIDEO_CARDS="-i915* -intel*"
[blocks b ] =media-libs/mesa-10.3.5 ("=media-libs/mesa-10.3.5" is blocking app-admin/eselect-opengl-1.3.1)
[...]
[ebuild U ] x11-base/xorg-server-1.16.1-r2 [1.16.1-r1] USE="ipv6*"
[...]
[blocks B ] <x11-base/xorg-server-1.16.2-r1 ("<x11-base/xorg-server-1.16.2-r1" is blocking app-admin/eselect-opengl-1.3.1)
[blocks B ] <media-libs/mesa-10.3.4-r1 ("<media-libs/mesa-10.3.4-r1" is blocking app-admin/eselect-opengl-1.3.1)
[/code]

'=media-libs/mesa-10.3.5' needs '>=app-admin/eselect-opengl-1.2.7', but '=app-admin/eselect-opengl-1.3.1' says '!=media-libs/mesa-10.3.5'... but 'x11-base/xorg-server-1.16.1-r2' needs '>=app-admin/eselect-opengl-1.3.0'. That looks unsolvable so far.

The question is why your portage does not try to update to 'media-libs/mesa-10.3.5-r1' which would solve this circular problem. It could be because you are mixing stable and unstable arch in some way or the dep resolver just failed to get a correct solution (or more specific: correct merge order) and doesn't understand that it can merge 'eselect-opengl-1.3.1' FIRST if 'media-libs/mesa-10.3.5-r1' is also in the update-chain. This could indicate that blockers in RDEPEND are not properly handled (e.g. portage wants to satisfy them BEFORE the package itself?).
Back to top
View user's profile Send private message
KEA0463
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2006
Posts: 119

PostPosted: Mon Jan 05, 2015 8:56 am    Post subject: Reply with quote

That was the case, i messed with
Use flags following a guide on
How to add overlays, and got
A unstable package, installed,
That made the mess, i have resolved
The issue, thanks for the help.
Back to top
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Mon Jan 05, 2015 2:23 pm    Post subject: Reply with quote

Yep, that was more likely, otherwise the bugtracker would have been flooded by reports.

The problem is that a lot of people still recommend mixing stable and unstable arch (even in this forum). But it's definitely an advanced thing that can cause a lot of trouble.

Users can also file stable-requests on bugzilla... so if you wonder why something isn't stable yet after a period of a month or more in the tree... go to bugzilla.
Back to top
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Mon Jan 05, 2015 3:53 pm    Post subject: Reply with quote

As a sidenote: Paludis would show you a proper error/suggestion, unlike portage. I reproduced your issue by unmasking all those related packages, except =media-libs/mesa-10.3.5-r1 (unless you did more things that confuse the PM).

The snipped down output is
Code:

u   media-libs/mesa:0::gentoo 10.3.5-r1 to ::installed replacing 10.2.8
    -bindist classic -debug dri3 egl gallium gbm gles1 gles2 -llvm nptl -opencl -openmax -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) udev+ vdpau wayland -xa xvmc ABI_X86: -32 (64) (-x32) VIDEO_CARDS: (-freedreno) -i915 -i965 -ilo -intel nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware build_options: symbols=compress -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: !<media-libs/mesa-10.3.4-r1 from app-admin/eselect-opengl-1.3.1-r1:0::gentoo, !<media-libs/mesa-9 from media-libs/glu-9.0.0-r1:0::installed, !=media-libs/mesa-10.3.5 from app-admin/eselect-opengl-1.3.1-r1:0::gentoo, 7 more
    Masked by keyword
        Keywords ~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm-linux ~hppa ~ia64 ~ia64-linux ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-solaris ~x64-solaris ~x86 ~x86-fbsd ~x86-freebsd ~x86-linux ~x86-solaris
    Cannot proceed without: being unmasked


So it understands that there is no valid solution without unmasking =media-libs/mesa-10.3.5-r1.
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