Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112514 - app-vim/vimcommander-1.54.2.2 works on MacOS X
Summary: app-vim/vimcommander-1.54.2.2 works on MacOS X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High minor (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 08:26 UTC by Adrian Perez
Modified: 2008-03-02 14:59 UTC (History)
2 users (show)

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


Attachments
BSD/Darwin Patch (environment.diff,816 bytes, patch)
2005-11-28 12:17 UTC, Lina Pezzella (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2005-11-14 08:26:04 UTC
The ebuild merges and works properly under MacOS X with the version of Vim shipped with OSX (MacOS X 
version 10.4.3 build 8F46).

Reproducible: Always
Steps to Reproduce:
1. sudo ebuild /usr/portage/app-vim/vimcommander/vimcommander-1.54.2.2.ebuild merge

Actual Results:  
The Vim plugin gets installed and works by calling the "VimCommanderToggle()" function. Plus, 
vimcommander works as expected.

Expected Results:  
Package shouldn't be masked for ppc-macos.
Comment 1 Adrian Perez 2005-11-14 08:33:22 UTC
Here's output from "emerge --info", I forgot to include it before:


!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.22-r3 (default-darwin/macos/10.4, gcc-4.0.1, libsystem-7.1-r0, 8.3.0 Power 
Macintosh)
===============================================================
==
System uname: 8.3.0 Power Macintosh powerpc
macos-20041118
distcc 2.18.3-Apple powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O3 -pipe -mpowerpc-gfxopt -mstring -mmultiple -mcpu=750"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/
share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mpowerpc-gfxopt -mstring -mmultiple -mcpu=750"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc bash-completion bzip2 curl emboss expat libwww lua opengl png ppc-macos ssl unicode 
zlib userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Fabian Groffen gentoo-dev 2005-11-14 08:50:16 UTC
does this package have useflags?  If so, could you report which ones you enabled
and which you disabled (defaulted)?
Comment 3 Adrian Perez 2005-11-14 08:54:50 UTC
(In reply to comment #2)
> does this package have useflags?  If so, could you report which ones you enabled
> and which you disabled (defaulted)?

vimcommander has no USE flags declared in the ebuild (i.e: IUSE="").
Comment 4 Lina Pezzella (RETIRED) gentoo-dev 2005-11-14 21:21:53 UTC
If it inherits from the vim eclass, we can't support it for the regular profiles. I can test this for collision-
protect if that is the case -- just let me know.
Comment 5 Fabian Groffen gentoo-dev 2005-11-15 00:47:20 UTC
Noone stops you from taking a look in the ebuild and keywording it if you feel
like it works correctly.  You don't need my permission for that, since you're a
part of the ppc-macos arch team :)
Comment 6 Lina Pezzella (RETIRED) gentoo-dev 2005-11-15 08:47:34 UTC
I can't test any vim stuff for the regular profiles, as I have upgraded to vim7 via portage. I wanted to give 
you guys the opportunity to test and keyword for the regular profile before I looked at it for progressive 
and masked it for the regular profiles. :-)
Comment 7 Fabian Groffen gentoo-dev 2005-11-15 08:55:25 UTC
Ah...  then I misread your comment apparently.

> I can test this for collision-protect ...

This package defenitely doesn't work with the provided vim, since it wants to
pull vim from portage.  So j4rg0n, do your thing.  Marking this bug as
progressive target.
Comment 8 Lina Pezzella (RETIRED) gentoo-dev 2005-11-28 12:17:03 UTC
Created attachment 73754 [details, diff]
BSD/Darwin Patch

This package doesn't install cleanly on ppc-macos progressive as is due to the
"chgrp root" command in the package "environment" file, which I'm guessing is
some weird equivalent of a Makefile. I've cc-ed the BSD team and the package
maintainer, as I am unfamiliar with this build system. Attached is a patch, but
as the "environment" file keeps changing on me, I am unsure how to apply it.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-28 12:26:32 UTC
I'd say to use chgrp 0, as we do for other ebuilds, so that we don't have to 
use different checks for BSD/GNU. 
 
Comment 10 Ciaran McCreesh 2005-11-28 12:55:32 UTC
Eh?
Comment 11 Lina Pezzella (RETIRED) gentoo-dev 2005-11-28 14:28:13 UTC
Ciaranm,

The "environment" file for this package uses "chgrp root", which doesn't work on BSD/Darwin because we 
don't have a "root" group. Is it possible to get this changed to "chgrp 0"?

Thanks.
Comment 12 Ciaran McCreesh 2005-11-28 14:35:32 UTC
What environment file?
Comment 13 Lina Pezzella (RETIRED) gentoo-dev 2005-11-28 14:38:08 UTC
/var/tmp/portage/vimcommander-version/temp/environment
Comment 14 Ciaran McCreesh 2005-11-28 14:43:11 UTC
That's created by either Portage or ebuild.sh.
Comment 15 Fabian Groffen gentoo-dev 2005-11-29 00:33:06 UTC
${PORTDIR}/eclass/vim-plugin.eclass:27 find ${S} -group 'portage' -exec chgrp
root '{}' \; || die "chgrp failed"

maybe that helps?
Comment 16 Ciaran McCreesh 2005-12-05 15:45:09 UTC
Ok, vim-plugin.eclass is probably now non-GNU safe, unless it isn't.
Comment 17 Fabian Groffen gentoo-dev 2008-03-02 14:59:52 UTC
added in prefix