Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416979 - x11-apps/xinit : add Gentoo Prefix support
Summary: x11-apps/xinit : add Gentoo Prefix support
Status: RESOLVED DUPLICATE of bug 444898
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal enhancement
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2012-05-21 21:51 UTC by Benn Snyder
Modified: 2012-11-27 16:26 UTC (History)
1 user (show)

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


Attachments
patch for the xinit ebuild (xinit-prefix.ebuild.patch,406 bytes, patch)
2012-05-21 21:58 UTC, Benn Snyder
Details | Diff
patch for the xinit ebuild (xinit-prefix.ebuild.patch,463 bytes, patch)
2012-05-21 22:43 UTC, Benn Snyder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benn Snyder 2012-05-21 21:51:12 UTC
The x11-apps/xinit ebuild attempts to install files outside the prefix, resulting in a QA issue.

Reproducible: Always

Steps to Reproduce:
1. emerge xinit
Actual Results:  
 * QA Notice: the following files are outside of the prefix:
 * /etc
 * /etc/X11
 * /etc/X11/xinit
 * /etc/X11/xinit/launchd_startx
 * /etc/X11/xinit/xinitrc
 * /Library
 * /Library/LaunchAgents
 * /Library/LaunchAgents/org.x.startx.plist
 * /Library/LaunchDaemons
 * /Library/LaunchDaemons/org.x.privileged_startx.plist
 * ERROR: x11-apps/xinit-1.3.1-r1 failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix

Expected Results:  
Installs without issue.

emerge --info
Portage 2.2.01.20430-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.8.0 i386)
=================================================================
System uname: Darwin-9.8.0-i386-32bit
Timestamp of tree: Mon, 21 May 2012 18:24:09 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:      4.2_p28::gentoo_prefix
dev-lang/python:      2.7.3-r2::gentoo_prefix
dev-util/pkgconfig:   0.26::gentoo_prefix
sys-devel/autoconf:   2.68::gentoo_prefix
sys-devel/automake:   1.11.5::gentoo_prefix
sys-devel/gcc-config: 1.5-r2::gentoo_prefix
sys-devel/libtool:    2.4.2::gentoo_prefix
sys-devel/make:       3.82::gentoo_prefix
Repositories: gentoo_prefix local-overlay
Installed sets: 
ACCEPT_KEYWORDS="~x86-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-apple-darwin9"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/Users/amre/gentoo-prefix/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j4 --load-average=6 --keep-going"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
LINGUAS="en_US"
MAKEOPTS="-j12 -l7.8"
PKGDIR="/Users/amre/gentoo-prefix/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/amre/gentoo-prefix/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/amre/gentoo-prefix/var/tmp"
PORTDIR="/Users/amre/gentoo-prefix/usr/portage"
PORTDIR_OVERLAY="usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua bash-completion coreaudio cracklib cxx mmx mmxext modules ncurses objc objc++ offensive prefix readline sse sse2 ssl threads x86-macos 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Benn Snyder 2012-05-21 21:58:05 UTC
Created attachment 312599 [details, diff]
patch for the xinit ebuild

This patch is against x11-apps/xinit-1.3.1-r1.ebuild, which I chose because it's keyworded amd64, but it should be applied against all x11-apps/xinit.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-05-21 22:13:28 UTC
Please provide your emerge --info for completeness
Comment 3 Benn Snyder 2012-05-21 22:43:41 UTC
Created attachment 312611 [details, diff]
patch for the xinit ebuild

Patch against xinit-1.3.1-r1.ebuild.
Comment 4 Benn Snyder 2012-05-21 22:48:09 UTC
(In reply to comment #2)
> Please provide your emerge --info for completeness

I did - it's right there in the description.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-05-22 01:23:04 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > Please provide your emerge --info for completeness
> 
> I did - it's right there in the description.

Oh, overlooked it! :)

@x11 team, please add prefix support, thanks.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-05-22 01:24:15 UTC
(In reply to comment #5)

> @x11 team, please add prefix support, thanks.

Sorry, one more thing. Patch looks good since the ebuild is EAPI4 already. Also add ~x64-macos keyword and only apply to latest version, please.
Comment 7 Christoph Junghans (RETIRED) gentoo-dev 2012-11-27 16:26:32 UTC

*** This bug has been marked as a duplicate of bug 444898 ***