libxcb-1.3 builds correctly with the following ebuild and patched file. The error that this ebuild fixes is: !!! dobin: /Users/jacob/Library/Gentoo/usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh does not exist * ERROR: x11-libs/libxcb-1.3 failed: * (no error message) * * Call stack: * ebuild.sh: 42: <call src_install> * environment:3211: dobin "${FILESDIR}"/xcb-rebuilder.sh || die * * If you need support, post the topmost build error, and the call stack if relevant. Reproducible: Always Steps to Reproduce: 1. ./startprefix 2. emerge -1 '=x11-libs/libxcb-1.3' $ emerge --info Portage 2.2.00.13629-prefix (prefix/darwin/macos/10.5/x64, gcc-4.2.1, unavailable, 9.7.1 i386) ================================================================= System uname: Darwin-9.7.1-i386-64bit Timestamp of tree: Sat, 20 Jun 2009 17:33:03 +0000 distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 4.0_p24 dev-lang/python: 2.6.2-r01.1 dev-python/pycrypto: 2.0.1-r8 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.9.6-r2, 1.10.2-r00.1, 1.11 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a-r00.1 ACCEPT_KEYWORDS="~x64-macos" CBUILD="x86_64-apple-darwin9" CFLAGS="-O2 -pipe -march=nocona -msse4.1" CHOST="x86_64-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=nocona -msse4.1" DISTDIR="/Users/jacob/Library/Gentoo/usr/portage/distfiles" EPREFIX="/Users/jacob/Library/Gentoo" FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/Users/jacob/Library/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/jacob/Library/Gentoo/" 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="/Users/jacob/Library/Gentoo/var/tmp" PORTDIR="/Users/jacob/Library/Gentoo/usr/portage" PORTDIR_OVERLAY="/Users/jacob/Library/Gentoo/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="a52 aac aqua bash-completion cjk coreaudio cracklib divx fac midi mmx mmxext ncurses objc objc++ prefix readline sse sse2 ssl theora unicode x64-macos xulrunner xvid zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 195294 [details] libxcb-1.3-r1.ebuild I used eprefixify to fix this file. I'm pretty sure it's the best way to do this.
Created attachment 195295 [details] xcb-rebuilder.sh ...and the missing and fixed xcb-rebuilder.sh file that the error above mentioned.
Alright, there is a couple issues here and I hope I can educate you. -eprefixify needs to "inherit prefix" -the prefix tree will never have an independant revbump (-r1) if the main tree doesn't have it. -it is no use to attach a eprefixified file. You need to attach (or diff) the file that has @GENTOO_PORTAGE_EPREFIX@ in the appropriate spots. -unified diff's (diff -u) are much easier to read and help you with. Since libxcb is package.masked anyway, I added the xcb-rebuilder.sh file and will leave this bug open to give you a chance to fix the mistakes ;)
(In reply to comment #3) > I hope I can educate you. Thanks for letting me learn and revise! :) > -eprefixify needs to "inherit prefix" Right, done. > -the prefix tree will never have an independant revbump (-r1) if the main tree > doesn't have it. OK, reverted to 1.3 > -it is no use to attach a eprefixified file. You need to attach (or diff) the > file that has @GENTOO_PORTAGE_EPREFIX@ in the appropriate spots. Duh. Done > -unified diff's (diff -u) are much easier to read and help you with. OK, I'll repost diff's with the revisions requested in just a moment.
Created attachment 195709 [details, diff] libxcb-1.3.ebuild patch I added "inherit prefix", reverted to 1.3, and also added "~x64-macos" as an accepted keyword since I tested it on a 64-bit Gentoo Prefix installation in OSX.
Created attachment 195710 [details, diff] xcb-rebuilder.sh patch This file doesn't already exist in Gentoo Prefix's portage tree, so it will have to be added (obviously). This patch fixes paths for Gentoo Prefix.
(In reply to comment #5) > Created an attachment (id=195709) [edit] > libxcb-1.3.ebuild patch > > I added "inherit prefix", reverted to 1.3, and also added "~x64-macos" as an > accepted keyword since I tested it on a 64-bit Gentoo Prefix installation in > OSX. if you run eprefixify on a file in ${FILESDIR}, it will change the copy there (which is bad), so you'll have to copy it to ${T} or ${S} first to do this safely.