Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180471 - x11-misc/alacarte-0.11.3 bad built_with_use check
Summary: x11-misc/alacarte-0.11.3 bad built_with_use check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 17:04 UTC by Austen Dicken
Modified: 2007-06-01 02:28 UTC (History)
1 user (show)

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


Attachments
Patch that adds conditional checking of gnome-menu version (alacarte-0.11.3.ebuild.patch,676 bytes, patch)
2007-05-31 17:48 UTC, Austen Dicken
Details | Diff
Build log (x11-misc:alacarte-0.11.3:20070531-221938.log,601 bytes, text/plain)
2007-05-31 22:23 UTC, Austen Dicken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austen Dicken 2007-05-31 17:04:36 UTC
The x11-misc/alacarte-0.11.3 ebuild fails if gnome-base/gnome-menus is not build with a python USE flag.  The problem is the ebuild specifies a dependency of ">=gnome-base/gnome-menus-2.15" and gnome-menus-2.16.1 does not have a python USE flag, though gnome-menus-2.18.0 does.  As such, the ebuild fails if you have gnome-menus-2.16.1 installed.

I guess I am not sure if gnome-menus-2.16.1 is compatible with alacarte-0.11.3.  Assuming it is, possible solutions are:
* Add a dummy "python" USE flag to gnome-menus-2.16.1 (easiest but not best solution)
* Add a conditional check to the alacarte-0.11.3 ebuild so that the python USE flag is only required for >=gnome-menus-2.18 (better solution)

Also any other solutions would probably work.  I am not sure about the actual dependencies of these packages.

I will try out some patches and post them here in a little while.

Here's my emerge --info:

Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r3, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 31 May 2007 05:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.arcticnetwork.ca/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.mirrored.ca/ http://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/php-testing /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/armagetron /usr/portage/local/layman/java-overlay /usr/portage/local/layman/enlightenment /usr/portage/local/layman/eclipse /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/mozilla /usr/portage/local/layman/liquidx /usr/portage/local/layman/dev-zero /usr/portage/local/layman/wschlich /usr/portage/local/layman/wrobel /usr/portage/local/layman/nx /usr/portage/local/layman/cell /usr/portage/local/layman/vps /usr/portage/local/layman/voip /usr/portage/local/layman/science /usr/portage/local/layman/marineam-xen /usr/portage/local/layman/lila-theme /usr/portage/local/layman/jokey /usr/portage/local/layman/gentopia /usr/portage/local/layman/genstef /usr/portage/local/layman/efika /usr/portage/local/layman/dertobi123 /usr/portage/local/layman/bangert /usr/portage/local/layman/chtekk-apps /usr/portage/local/layman/chtekk-syscp /usr/portage/local/layman/x11 /usr/portage/local/layman/php-experimental /usr/portage/local/layman/toolchain /usr/portage/local/layman/trapni /usr/portage/local/layman/xeffects /usr/portage/local/custom"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acc acl acpi admin alsa ansi apache2 apm arts asf avi bcmath berkdb bitmap-fonts bzip2 c++ cairo calendar cdb cdparanoia cdr cdrdao cjk cli console cracklib crypt ctype cups curl d dbase dbus dlopen dri dvd dvdr dvdread eds emerald encode esd exif expat fdftk ffmpeg ffmpg filter firebird firefox flac flash foomaticdb fortran ftp gcj gd-external gdbm gif gimpprint glade glib glitz glut gmp gnome gnutls gpm graphviz gstreamer gtk gtkhtml hal hash iconv ieee1394 imagemagick imap imlib inifile iodbc ipv6 isdnlog java java-external java5 jmpeg jpeg jpeg2k json kde ldap ldap-sasl libg++ libwww logrotate mad mailwrapper mcve mhash midi mikmod mono motif mp3 mpeg msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin objc objc++ odbc ogg oggvorbis opengl openmp openntpd oss overlays pam pcmcia pcntl pcre pdf pdflib pdo-external perl php pic png postgres postgresql ppds pppd python qmail qt qt3 qt3support qt4 quicktime quotas readline real reflection samba sasl sdl servletapi session simplexml sndfile snmp soap sockets sourceview spell spl sqlite sqlite3 ssl ssmtp subversion svg svga tcl tcpd theora tidy tiff timidity tk tokenizer truetype truetype-fonts type1-fonts unicode usb v4l vcd vhosts vidix vorbis wavpack wddx win32codecs wine wma wmf wmv x86 xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xscreensaver xsl xv xvid yaz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx i810 tga tdfx vga vesa via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Austen Dicken 2007-05-31 17:48:59 UTC
Created attachment 120796 [details, diff]
Patch that adds conditional checking of gnome-menu version

I created a patch that adds a "has_version" condition to only test for the "python" USE flag if the user has version >=gnome-base/gnome-menus-2.18 on their system.  Considering that only gnome-menus 2.14.0, 2.16.1, and 2.18.0 are present in the portage tree, and 2.14.0 and 2.16.1 do not have the python USE flag, this should solve the problem.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-31 21:26:34 UTC

*** This bug has been marked as a duplicate of bug 173744 ***
Comment 3 Austen Dicken 2007-05-31 22:21:29 UTC
I realize that this was marked as a duplicate, but after comparing the two bugs I do not believe that they are in fact duplicates.

The problem in bug 173744 is this:
x11-misc/alacarte-0.11.3 will requires gnome-menus to be installed with python USE flag or compile will fail

The problem in this bug is:
x11-misc/alacarte-0.11.3 will fail to compile if gnome-base/gnome-menus-2.16.1 is installed because the ebuild checks if the python USE flag is enabled but the python USE flag doesn't exist until gnome-menus-2.18.0.

Thus, although bug 173744 is FIXED because the ebuild checks for the python USE flag, this bug is not because the ebuild fails if gnome-menus-2.16.1 is installed.  Here is the error message:

!!! ERROR: x11-misc/alacarte-0.11.3 failed.
Call stack:
  ebuild.sh, line 1637:   Called dyn_setup
  ebuild.sh, line 704:   Called qa_call 'pkg_setup'
  ebuild.sh, line 44:   Called pkg_setup
  alacarte-0.11.3.ebuild, line 26:   Called built_with_use 'gnome-base/gnome-menus' 'python'
  eutils.eclass, line 1713:   Called die

!!! gnome-base/gnome-menus-2.16.1 does not actually support the python USE flag!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/x11-misc:alacarte-0.11.3:20070531-221938.log'.

I provided a patch that maintains the previous bug's solution while also solving this issue and was able to successfully install alacarte after using it.

Let me know what should be done about this.  I'm more than happy to help.
Comment 4 Austen Dicken 2007-05-31 22:23:53 UTC
Created attachment 120831 [details]
Build log

I attached the build log mentioned in the error.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-05-31 22:24:43 UTC
(In reply to comment #3)
> I realize that this was marked as a duplicate, but after comparing the two bugs
> I do not believe that they are in fact duplicates.

Well, so kindly post the actual errors next time and you'll save time to both of us...
Comment 6 Austen Dicken 2007-06-01 00:41:10 UTC
(In reply to comment #5)
> Well, so kindly post the actual errors next time and you'll save time to both
> of us...
> 

I'm sorry, I should have posted the error along with its description rather than just the description.  I apologize for the unneeded work I caused and will remember next time (as well as making a better summary).  Once again, I'm sorry.
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-06-01 02:28:31 UTC
I've bumped the dep in alacarte.  It's part of gnome 2.18 anyway.