Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317939 - app-editors/vim with USE=-python still pulls in python
Summary: app-editors/vim with USE=-python still pulls in python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 20:25 UTC by Nick Bowler
Modified: 2010-05-03 01:43 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 Nick Bowler 2010-04-30 20:25:39 UTC
Trying to build vim is dragging in a nasty slew of dependencies, ostensibly due to a dependency on python despite USE=-python.  I'm not sure where it's coming from since all of vim's dependencies are hidden in a maze of twisty eclasses.

This didn't used to be the case, since I have older environments with vim installed that are only now dragging in python on a re-merge.  Using emerge --nodeps allows vim to be installed.

Calculating dependencies... done!
[ebuild  N    ] app-misc/mime-types-8 to /usr/powerpc-e300c3-linux-gnu/ 0 kB
[ebuild  N    ] app-misc/pax-utils-0.1.19 to /usr/powerpc-e300c3-linux-gnu/ USE="-caps" 0 kB
[ebuild  N    ] dev-libs/popt-1.15 to /usr/powerpc-e300c3-linux-gnu/ USE="-nls" 0 kB
[ebuild  N    ] dev-libs/libffi-3.0.9 to /usr/powerpc-e300c3-linux-gnu/ USE="-debug -static-libs -test" 0 kB
[ebuild  N    ] sys-libs/readline-6.1 to /usr/powerpc-e300c3-linux-gnu/ 0 kB
[ebuild  N    ] sys-apps/sandbox-1.6-r2 to /usr/powerpc-e300c3-linux-gnu/ 0 kB
[ebuild  N    ] app-shells/bash-4.0_p37 to /usr/powerpc-e300c3-linux-gnu/ USE="net -afs -bashlogger -examples -mem-scramble -nls -plugins -vanilla" 0 kB
[ebuild  N    ] net-misc/rsync-3.0.6 to /usr/powerpc-e300c3-linux-gnu/ USE="iconv -acl -ipv6 -static -xattr" 0 kB
[ebuild  N    ] virtual/libffi-0 to /usr/powerpc-e300c3-linux-gnu/ 0 kB
[ebuild  N    ] dev-libs/openssl-0.9.8n to /usr/powerpc-e300c3-linux-gnu/ USE="zlib -bindist -gmp -kerberos -sse2 -test" 0 kB
[ebuild  N    ] app-misc/ca-certificates-20090709 to /usr/powerpc-e300c3-linux-gnu/ 0 kB
[ebuild  N    ] dev-lang/python-2.6.4-r1 to /usr/powerpc-e300c3-linux-gnu/ USE="ncurses readline ssl threads wide-unicode xml -berkdb -build -doc -examples -gdbm -ipv6 -sqlite -tk -wininst" 0 kB
[ebuild  N    ] sys-apps/portage-2.1.8.3 to /usr/powerpc-e300c3-linux-gnu/ USE="-build -doc -epydoc -python3 (-selinux)" LINGUAS="-pl" 0 kB
[ebuild  N    ] app-editors/vim-7.2.303 to /usr/powerpc-e300c3-linux-gnu/ USE="minimal -acl -bash-completion -cscope -debug -gpm -nls -perl -python -ruby -vim-pager -vim-with-x" 0 kB
[ebuild  N    ] app-admin/python-updater-0.8 to /usr/powerpc-e300c3-linux-gnu/ 8 kB

Portage 2.1.8.3 (embedded, gcc-4.3.4, unavailable, 2.6.34-rc6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-rc6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 29 Apr 2010 13:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe"
CHOST="powerpc-e300c3-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/usr/powerpc-e300c3-linux-gnu/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/powerpc-e300c3-linux-gnu/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="iconv kdrive modules multicall ppc unicode zlib" INPUT_DEVICES="evdev mouse keyboard tslib" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-04-30 20:35:49 UTC
vim.eclass inherits from python.eclass and it /looks/ like python.eclass is adding the dep around line 158. It is hard for me to read too.
Comment 2 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-05-03 01:43:37 UTC
Ah yes, apparently I should have added:
  PYTHON_USE_WITH_OPT="python"
to the eclass changes I made to support the new python.eclass changes.

Thanks for calling this to my attention!

Fixed vim.eclass in CVS, python will only be pulled in with USE=python