Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158638 - USE="doc" emerge gedit
Summary: USE="doc" emerge gedit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-20 06:00 UTC by MACHINE
Modified: 2006-12-21 03:19 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 MACHINE 2006-12-20 06:00:56 UTC
If you emerge gedit with USE="doc", the process would be broken with failure of finding 'Python.h'.
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2006-12-20 06:03:28 UTC
Use metadata to check who to assign to, not the ChangeLog.
Comment 2 Leonardo Boshell (RETIRED) gentoo-dev 2006-12-20 06:19:59 UTC
Please try to provide relevant information when reporting bugs, otherwise they are not particularly useful.

This sounds like it could also be related to the "python" USE flag, possibly when USE="doc -python". Please provide the complete emerge log, and the output of "emerge --info".
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 07:46:51 UTC
Reopen with some errors, exact ebuild version and emerge --info.
Comment 4 MACHINE 2006-12-20 17:41:44 UTC
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.19-ck2 i686)
=================================================================
System uname: 2.6.19-ck2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 18 Dec 2006 00:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -maccumulate-outgoing-args -minline-all-stringops -O3 -fmodulo-sched -fomit-frame-pointer -fprefetch-loop-arrays -freschedule-modulo-scheduled-loops -fvariable-expansion-in-unroller"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-pipe -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -maccumulate-outgoing-args -minline-all-stringops -O3 -fmodulo-sched -fomit-frame-pointer -fprefetch-loop-arrays -freschedule-modulo-scheduled-loops -fvariable-expansion-in-unroller -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.twaren.net/Linux/Gentoo/ http://gentoo.llarian.net/ http://gentoo.chem.wisc.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LANG="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="zh_CN en"
MAKEOPTS="-j2 -s"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X aac acpi aiglx alsa alsa_cards_intel8x0 amr asf bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo chardet cjk cli cracklib crypt cup cups curl dbus divx dlloader dmi dri dynamic elibc_glibc enca firefox font-server freetype gdbm glibc-omitfp glitz gmail gmedia gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal howl howl-compat hpn i8x0 iconv imap input_devices_keyboard input_devices_mouse isdnlog ithreads java javascript jpeg kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_en linguas_zh_CN mime mmap mmx mmxext mozcalendar moznocompose moznoirc moznomail mozsvg mp3 msn nautilus ncurses network nls no-old-linux nojoystick nomotif nosendmail nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl pic png pnp posix ppds pppd quicktime readline real realmedia reflection session speedo spell spl sse sse2 ssl svg symlink tcpd threads threadsonly tiff toolbar truetype truetype-fonts type1-fonts ucs2 udev unicode usb userland_GNU userlocales video_cards_i810 win32codecs wma wmp x264 xcb xforms xml xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 MACHINE 2006-12-20 17:42:35 UTC
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.19-ck2 i686)
=================================================================
System uname: 2.6.19-ck2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 18 Dec 2006 00:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -maccumulate-outgoing-args -minline-all-stringops -O3 -fmodulo-sched -fomit-frame-pointer -fprefetch-loop-arrays -freschedule-modulo-scheduled-loops -fvariable-expansion-in-unroller"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-pipe -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -maccumulate-outgoing-args -minline-all-stringops -O3 -fmodulo-sched -fomit-frame-pointer -fprefetch-loop-arrays -freschedule-modulo-scheduled-loops -fvariable-expansion-in-unroller -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.twaren.net/Linux/Gentoo/ http://gentoo.llarian.net/ http://gentoo.chem.wisc.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LANG="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="zh_CN en"
MAKEOPTS="-j2 -s"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X aac acpi aiglx alsa alsa_cards_intel8x0 amr asf bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo chardet cjk cli cracklib crypt cup cups curl dbus divx dlloader dmi dri dynamic elibc_glibc enca firefox font-server freetype gdbm glibc-omitfp glitz gmail gmedia gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal howl howl-compat hpn i8x0 iconv imap input_devices_keyboard input_devices_mouse isdnlog ithreads java javascript jpeg kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_en linguas_zh_CN mime mmap mmx mmxext mozcalendar moznocompose moznoirc moznomail mozsvg mp3 msn nautilus ncurses network nls no-old-linux nojoystick nomotif nosendmail nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl pic png pnp posix ppds pppd quicktime readline real realmedia reflection session speedo spell spl sse sse2 ssl svg symlink tcpd threads threadsonly tiff toolbar truetype truetype-fonts type1-fonts ucs2 udev unicode usb userland_GNU userlocales video_cards_i810 win32codecs wma wmp x264 xcb xforms xml xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 6 Leonardo Boshell (RETIRED) gentoo-dev 2006-12-21 00:54:11 UTC
I managed to see this problem on a testing machine, with USE="doc -python" and before installing gnome-python-desktop. However, after installing it, the problem wasn't showing up regardless of the USE flags used.

This is related to a subtlety in gedit's ebuild, which is that the 'python' USE flag is only used to add dependencies, but it doesn't affect the way the configure script is called. The way to reproduce the problem is making sure --disable-python is passed.

It would be reasonable to expect something like $(use_enable python) inside the ebuild, but that is not present (and no relevant comments about it either), so I'll look into it.
Comment 7 Leonardo Boshell (RETIRED) gentoo-dev 2006-12-21 03:19:06 UTC
This should be fixed now in gedit-2.16.2. I also added 2.16.2-r1, which enforces the meaning of the 'python' USE flag.

Thanks.