Step by step guide on bootstraping prefixed portage on macosx never mentioned 'portage' user. While bootstraping I saw some warnings about the missing user, but decided that it's ok as long as things don't fail and emerge. However, some ebuilds die when they don't find the user, for example app-vim/gentoo-syntax-20101212 . Should I just create the user and forget? Should I run a tool after creating user that will fix permissions? Is it bug in ebuilds or the guide? guide: app-vim/gentoo-syntax-20101212 Reproducible: Always * gentoo-syntax-20101212.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: app-vim/gentoo-syntax-20101212 * Repository: gentoo_prefix * Maintainer: spatz@gentoo.org darkside@gentoo.org,vim@gentoo.org * USE: elibc_Darwin kernel_Darwin prefix userland_GNU x64-macos * FEATURES: nostrip preserve-libs >>> Unpacking source... >>> Unpacking gentoo-syntax-20101212.tar.bz2 to /opt/portage/var/tmp/portage/app-vim/gentoo-syntax-20101212/work >>> Source unpacked in /opt/portage/var/tmp/portage/app-vim/gentoo-syntax-20101212/work >>> Compiling source in /opt/portage/var/tmp/portage/app-vim/gentoo-syntax-20101212/work/gentoo-syntax-20101212 ... >>> Source compiled. >>> Test phase [not enabled]: app-vim/gentoo-syntax-20101212 >>> Install gentoo-syntax-20101212 into /opt/portage/var/tmp/portage/app-vim/gentoo-syntax-20101212/image/opt/portage/ category app-vim * Fixing file permissions ... find: `portage' is not the name of a known user * ERROR: app-vim/gentoo-syntax-20101212 failed: * chown failed * * Call stack: * ebuild.sh, line 62: Called src_install * environment, line 2393: Called vim-plugin_src_install * environment, line 3110: Called die * The specific snippet of code: * find "${S}" -user 'portage' -exec chown root '{}' \; || die "chown failed"; * * If you need support, post the output of 'emerge --info =app-vim/gentoo-syntax-20101212', * the complete build log and the output of 'emerge -pqv =app-vim/gentoo-syntax-20101212'. * The complete build log is located at '/opt/portage/var/tmp/portage/app-vim/gentoo-syntax-20101212/temp/build.log'. * The ebuild environment file is located at '/opt/portage/var/tmp/portage/app-vim/gentoo-syntax-20101212/temp/environment'. * S: '/opt/portage/var/tmp/portage/app-vim/gentoo-syntax-20101212/work/gentoo-syntax-20101212' >>> Failed to emerge app-vim/gentoo-syntax-20101212, Log file:
I'd rather say the ebuild has to be fixed instead
are you bootstrapping as root?
fixed a logic error in the vim-plugins.eclass