Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182874 - media-libs/libsdl-1.2.11-r2 does not consider USE flag -arts when building
Summary: media-libs/libsdl-1.2.11-r2 does not consider USE flag -arts when building
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 09:47 UTC by Vikram Mohan
Modified: 2007-07-04 05:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo,3.14 KB, text/plain)
2007-06-23 11:00 UTC, Vikram Mohan
Details
/etc/make.conf (make.conf,1.36 KB, text/plain)
2007-06-23 11:01 UTC, Vikram Mohan
Details
Tar archive of /etc/portage (portage.tar,40.00 KB, application/octet-stream)
2007-06-23 11:04 UTC, Vikram Mohan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vikram Mohan 2007-06-22 09:47:14 UTC
Despite having gnome and having all KDE flags as negative including -arts when i "emerge -vuD world" it tries to emerge arts.

At the moment I have to manually open the ebuild file in a text editor like nano and delete all references to arts. Then i digest the ebuild again and upon emerge world it no longer tries to emerge arts.

Please fix this as it is annoying and the step has to be repeated each time I do an "emerge --sync"

Thanks.

Reproducible: Always

Steps to Reproduce:
emerge -vuDp world
Actual Results:  
[nomerge      ] gnome-base/gnome-2.16.3  USE="cdr cups dvdr hal -accessibility -ldap" 
[nomerge      ]  gnome-extra/deskbar-applet-2.16.2-r1  USE="eds spell -debug" 
[nomerge      ]   dev-python/gnome-python-desktop-2.16.0  USE="X -debug" [2] 
[nomerge      ]    media-video/totem-2.16.5  USE="a52 dbus dvd ffmpeg firefox gnome hal mad mpeg ogg vorbis xv -debug -flac -lirc -nsplugin -nvtv -theora -xine" 
[nomerge      ]     media-plugins/gst-plugins-mpeg2dec-0.10.3  
[nomerge      ]      media-libs/libmpeg2-0.4.1  USE="X sdl" 
[nomerge      ]       media-libs/libsdl-1.2.11-r2  USE="X aalib alsa arts dga opengl oss xv -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -svga -xinerama" 
[ebuild  N    ]        kde-base/arts-3.5.5  USE="alsa esd mp3 vorbis -artswrappersuid -debug -jack -kdeenablefinal -nas -xinerama" 945 kB 


Expected Results:  
[nomerge      ] gnome-base/gnome-2.16.3  USE="cdr cups dvdr hal -accessibility -ldap" 
[nomerge      ]  gnome-extra/deskbar-applet-2.16.2-r1  USE="eds spell -debug" 
[nomerge      ]   dev-python/gnome-python-desktop-2.16.0  USE="X -debug" [2] 
[nomerge      ]    media-video/totem-2.16.5  USE="a52 dbus dvd ffmpeg firefox gnome hal mad mpeg ogg vorbis xv -debug -flac -lirc -nsplugin -nvtv -theora -xine" 
[nomerge      ]     media-plugins/gst-plugins-mpeg2dec-0.10.3  
[nomerge      ]      media-libs/libmpeg2-0.4.1  USE="X sdl" 
[nomerge      ]       media-libs/libsdl-1.2.11-r2  USE="X aalib alsa arts dga opengl oss xv -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -svga -xinerama" 


It simply should not emerge kde-base/arts
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-22 10:07:31 UTC
 media-libs/libsdl-1.2.11-r2  USE="X aalib alsa arts dga
opengl oss xv -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip
-nojoystick -novideo -svga -xinerama" 

Except that you have USE=arts *enabled* as clearly shown by the output above.
Comment 2 Vikram Mohan 2007-06-23 10:45:38 UTC
That is the whole point it does not consider -arts USE flag.....

I have -arts in /etc/make.conf and in /etc/portage/package.use/libsdl i have the text "media-libs/libsdl -arts".

However it still counts arts as a USE flag.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 10:49:31 UTC
(In reply to comment #2)
> That is the whole point it does not consider -arts USE flag.....

Well, you clearly have arts enabled somewhere. grep -Rni arts /etc/portage to find out the offending entry and remove it.
Comment 4 Vikram Mohan 2007-06-23 10:53:51 UTC
localhost faelle # grep -Rni arts /etc/portage 
/etc/portage/package.use/libsdl:1:media-libs/libsdl -arts

Nope arts is not enabled anywhere except this -arts entry.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 10:57:58 UTC
Well, then kindly post your emerge --info, attach your make.conf and tarball up /etc/portage and attach it as well. 
Comment 6 Vikram Mohan 2007-06-23 11:00:24 UTC
Created attachment 122881 [details]
emerge --info

emerge --info as asked for.
Comment 7 Vikram Mohan 2007-06-23 11:01:08 UTC
Created attachment 122882 [details]
/etc/make.conf

make.conf file as requested.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 11:03:02 UTC
Remove this from make.conf and try again.

/usr/portage/local/layman/xeffects
Comment 9 Vikram Mohan 2007-06-23 11:04:36 UTC
Created attachment 122883 [details]
Tar archive of /etc/portage
Comment 10 Vikram Mohan 2007-06-23 11:10:42 UTC
After removing the overlay other than the obvious degrades of packages it still tries to emerge arts due to libsdl.

... done!
[ebuild     UD] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 0 kB 
[nomerge      ] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 
[ebuild  N    ]  x11-misc/beryl-settings-0.2.1  348 kB 
[ebuild  N    ]   x11-misc/beryl-settings-bindings-0.2.1  235 kB 
[nomerge      ] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 
[ebuild     UD]  x11-wm/heliodor-0.2.1 [9999] 248 kB 
[nomerge      ] gnome-base/gnome-2.16.3  USE="cdr cups dvdr hal -accessibility -ldap" 
[nomerge      ]  gnome-extra/deskbar-applet-2.16.2-r1  USE="eds spell -debug" 
[nomerge      ]   dev-python/gnome-python-desktop-2.16.0  USE="X -debug" 
[nomerge      ]    media-video/totem-2.16.5  USE="a52 dbus dvd ffmpeg firefox gnome hal mad mpeg ogg vorbis xv -debug -flac -lirc -nsplugin -nvtv -theora -xine" 
[nomerge      ]     media-plugins/gst-plugins-mpeg2dec-0.10.3  
[nomerge      ]      media-libs/libmpeg2-0.4.1  USE="X sdl" 
[nomerge      ]       media-libs/libsdl-1.2.11-r2  USE="X aalib alsa arts dga opengl oss xv -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -svga -xinerama" 
[ebuild  N    ]        kde-base/arts-3.5.5  USE="alsa esd mp3 vorbis -artswrappersuid -debug -jack -kdeenablefinal -nas -xinerama" 945 kB 
[nomerge      ] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 
[ebuild  N    ]  x11-plugins/beryl-plugins-0.2.1  USE="dbus" 2,543 kB 
[nomerge      ] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 
[nomerge      ]  x11-wm/emerald-0.2.1 [9999] USE="-debug%" 
[ebuild     UD]   x11-themes/emerald-themes-0.2.1 [9999] 1,350 kB 
[nomerge      ] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 
[ebuild  N    ]  x11-misc/beryl-manager-0.2.1  174 kB 
[nomerge      ] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 
[ebuild     UD]  x11-wm/emerald-0.2.1 [9999] USE="-debug%" 491 kB 
[nomerge      ] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 
[nomerge      ]  x11-wm/emerald-0.2.1 [9999] USE="-debug%" 
[ebuild     UD]   x11-wm/beryl-core-0.2.1 [9999] 460 kB 
[nomerge      ] gnome-base/gnome-2.16.3  USE="cdr cups dvdr hal -accessibility -ldap" 
[nomerge      ]  gnome-base/libgnomecanvas-2.14.0  USE="X -debug -doc" 
[ebuild     U ]   x11-libs/gtk+-2.10.11 [2.10.9] USE="X jpeg tiff -debug -doc -xinerama (-macmenu%)" 14,680 kB 
[ebuild     U ] sys-fs/ntfs3g-1.616 [1.516] USE="-suid" 545 kB 

Total: 12 packages (2 upgrades, 5 downgrades, 5 new), Size of downloads: 22,012 kB
localhost faelle # 
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 11:17:24 UTC
Well, then disable all overlays you have enabled.
Comment 12 Vikram Mohan 2007-06-23 11:20:42 UTC
I commented out the whole line that says PORTDIR_OVERLAY=

That should remove all overlays right? Well even the "emerge -vuDp world" output is,

... done!
[ebuild     U ] x11-libs/gtk+-2.10.11 [2.10.9] USE="X jpeg tiff -debug -doc -xinerama (-macmenu%)" 14,680 kB 
[ebuild     UD] x11-wm/beryl-core-0.2.1 [9999] 460 kB 
[ebuild  N    ] x11-misc/beryl-manager-0.2.1  174 kB 
[ebuild     UD] x11-wm/emerald-0.2.1 [9999] USE="-debug%" 491 kB 
[ebuild     UD] x11-themes/emerald-themes-0.2.1 [9999] 1,350 kB 
[ebuild  N    ] x11-misc/beryl-settings-bindings-0.2.1  235 kB 
[ebuild  N    ] kde-base/arts-3.5.5  USE="alsa esd mp3 vorbis -artswrappersuid -debug -jack -kdeenablefinal -nas -xinerama" 945 kB 
[ebuild  N    ] x11-plugins/beryl-plugins-0.2.1  USE="dbus" 2,543 kB 
[ebuild  N    ] x11-misc/beryl-settings-0.2.1  348 kB 
[ebuild     UD] x11-wm/heliodor-0.2.1 [9999] 248 kB 
[ebuild     UD] x11-wm/beryl-0.2.1 [9999] USE="emerald%* gnome -kde (-noemerald%)" 0 kB 

Total: 11 packages (1 upgrade, 5 downgrades, 5 new), Size of downloads: 21,467 kB
localhost faelle # 
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 11:23:07 UTC
(In reply to comment #12)
> I commented out the whole line that says PORTDIR_OVERLAY=

So post the output of emerge -pv libsdl now, with the overlays disabled.
Comment 14 Vikram Mohan 2007-06-23 11:28:19 UTC
Wierd it does not seem to want to emerge arts now, but emerge world does somehow manage to install arts.

What to do? the tree output implies it is libsdl causing arts to come up and editing the ebuild file of libsdl manually and removing arts USE flags does not emerge arts anymore.

Btw emerge -vp world without overlays still tries to emerge arts :/

Output now is,

localhost faelle # emerge -pv libsdl

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

Calculating dependencies... done!
[ebuild   R   ] media-libs/libsdl-1.2.11-r2  USE="X aalib alsa dga esd* opengl oss xv -arts* -directfb -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -svga -xinerama" 2,731 kB 

Total: 1 package (1 reinstall), Size of downloads: 2,731 kB
localhost faelle # 


Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 11:32:49 UTC
(In reply to comment #14)
> Wierd it does not seem to want to emerge arts now, but emerge world does
> somehow manage to install arts.

Well, the some of your overlays contains crap that's causing USE=arts enabled by default for libsdl. Not an ebuild bug.

As for what else pull in arts unconditionally, package.mask arts run emerge -NuD world and you'll find out quickly.


Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 11:33:00 UTC
Closing this one as INVALID because it's caused by an overlay.
Comment 17 Vikram Mohan 2007-06-23 11:38:15 UTC
Sir adding kde-base/arts to /etc/portage/package.mask/arts shows that libsdl is causing it to be pulled.

Why would it be something from the overlay when editing the libsdl ebuild removes arts from being pulled? even in an emerge world? I know it is wierd that "emerge -pv libsdl" does not pull in arts as an dependency.

Output,

localhost faelle # nano /etc/portage/package.mask/arts
localhost faelle # emerge -vuDp world

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

Calculating world dependencies /
!!! All ebuilds that could satisfy "kde-base/arts" have been masked.
!!! One of the following masked packages is required to complete your request:
- kde-base/arts-3.5.5 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.
(dependency required by "media-libs/libsdl-1.2.11-r2" [installed])



!!! Problem resolving dependencies for gnome-base/gnome
!!! Depgraph creation failed.
localhost faelle # 
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 11:42:26 UTC
Re-emerge libsdl from the *official* tree, without any overlay enabled; I can assure you that it compiles, installs and works just fine without any arts whatsover and does NOT enabled arts by default anywhere.
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 11:44:43 UTC
And, the ebuild that's causing this is located in /var/db/pkg/media-libs/libsdl-1.2.11-r2, you can attach it here so that other people hitting some whacky broken overlay can check it.
Comment 20 Vikram Mohan 2007-07-04 05:46:39 UTC
Problem resolved by doing,

emerge -C libsdl

Disabling the xeffects overlay and then re-emerging libsdl. The overlay can the be enabled.