Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33263 - vim links to acl without dependencies
Summary: vim links to acl without dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-11 16:25 UTC by Spider (RETIRED)
Modified: 2003-11-15 08:01 UTC (History)
0 users

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


Attachments
vim.eclass patch (vim.eclass.patch,1.29 KB, patch)
2003-11-11 17:01 UTC, Ciaran McCreesh
Details | Diff
vim.eclass patch (revised with use_enable) (vim.eclass.patch,1.30 KB, patch)
2003-11-11 18:50 UTC, Ciaran McCreesh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Spider (RETIRED) gentoo-dev 2003-11-11 16:25:11 UTC
Found this due to regression testing:

ripples root # qpkg -q -I acl
sys-apps/acl-2.2.13-r1 *
DEPENDED ON BY:
        samba-2.2.8a

ripples root # qpkg -q -I samba
net-fs/samba-2.2.8a *
DEPENDED ON BY:
        mc-4.6.0-r3
ripples root # qpkg -q -I mc   
app-misc/mc-4.6.0-r3 *
DEPENDED ON BY:


--  nothing.. so far so good.
(bear with me)
emerge -C samba acl mc
... done
ripples root # ldd `which vim`
        libncurses.so.5 => /lib/libncurses.so.5 (0x40020000)
        libacl.so.1 => not found
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40061000)
        libdl.so.2 => /lib/libdl.so.2 (0x40067000)
        libperl.so.1 => /usr/lib/libperl.so.1 (0x4006a000)
        libutil.so.1 => /lib/libutil.so.1 (0x4015c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40160000)
        libruby16.so.1.6 => /usr/lib/libruby16.so.1.6 (0x401b0000)
        libm.so.6 => /lib/libm.so.6 (0x4025c000)
        libc.so.6 => /lib/libc.so.6 (0x4027e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x403ab000)
---
Note the missing libacl there.

 ripples root # emerge info |grep USE
USE="x86 X gtk gtk2 gnome ssl crypt mmx 3dnow samba perl python acl acp avi cdr
cups cscope gpm gphoto2 guile imap jikes mozilla ncurses nls sdl tiff truetype
usb xosd zlib xine xml2 jpeg readline unicode ruby"

emerge -v vim
... *wait*

ripples root # ldd `which vim`
        libncurses.so.5 => /lib/libncurses.so.5 (0x40020000)
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40061000)
        libdl.so.2 => /lib/libdl.so.2 (0x40067000)
        libperl.so.1 => /usr/lib/libperl.so.1 (0x4006a000)
        libutil.so.1 => /lib/libutil.so.1 (0x4015c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4015f000)
        libruby16.so.1.6 => /usr/lib/libruby16.so.1.6 (0x401b0000)
        libm.so.6 => /lib/libm.so.6 (0x4025c000)
        libc.so.6 => /lib/libc.so.6 (0x4027e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x403ab000)


No link to acl.


Trying this again then:
emerge acl vim :
ripples root # ldd `which vim`
        libncurses.so.5 => /lib/libncurses.so.5 (0x40021000)
        libacl.so.1 => /lib/libacl.so.1 (0x40062000)
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40069000)
        libdl.so.2 => /lib/libdl.so.2 (0x4006f000)
        libperl.so.1 => /usr/lib/libperl.so.1 (0x40072000)
        libutil.so.1 => /lib/libutil.so.1 (0x40164000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40168000)
        libruby16.so.1.6 => /usr/lib/libruby16.so.1.6 (0x401b8000)
        libm.so.6 => /lib/libm.so.6 (0x40264000)
        libc.so.6 => /lib/libc.so.6 (0x40286000)
        libattr.so.1 => /lib/libattr.so.1 (0x403b3000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x403b7000)
Yep, its there.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-2.4.22)
=================================================================
System uname: 2.4.22-2.4.22 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/mnt/distfiles"
FEATURES="-buildpkg -ccache -sandbox -autoaddcvs userpriv notitles"
GENTOO_MIRRORS="http://gentoo.linux.no/ http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X gtk gtk2 gnome ssl crypt mmx 3dnow samba perl python acl acp avi cdr
cups cscope gpm gphoto2 guile imap jikes mozilla ncurses nls sdl tiff truetype
usb xosd zlib xine xml2 jpeg readline unicode ruby"
Comment 1 Ciaran McCreesh 2003-11-11 17:01:29 UTC
Created attachment 20622 [details, diff]
vim.eclass patch

Attaching a patch for /usr/portage/vim.eclass which does the following:
- adds in IUSE acl
- adds in acl? dependencies
- adds in --disable-acl to the minimal builds
- adds in --disable-acl if USE acl is not set

Testing would be much appreciated.
Comment 2 Ciaran McCreesh 2003-11-11 17:02:57 UTC
Oops, that should say /usr/portage/eclass/vim.eclass . Sorry...
Comment 3 Spider (RETIRED) gentoo-dev 2003-11-11 17:06:53 UTC
looks good and tests okay here.
Comment 4 Ciaran McCreesh 2003-11-11 18:50:07 UTC
Created attachment 20629 [details, diff]
vim.eclass patch (revised with use_enable)

Slight revision to use use_enable (I didn't realise that use_enable could
do
--disable-*, cheers agriffis).
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-11-15 08:01:25 UTC
I've applied this, thanks!