Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533980 - sys-apps/gentoo-functions-0.8::gentoo_prefix tries to install to /lib due unset ROOTPREFIX
Summary: sys-apps/gentoo-functions-0.8::gentoo_prefix tries to install to /lib due uns...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 23:29 UTC by Michael Weber (RETIRED)
Modified: 2015-01-05 09:49 UTC (History)
0 users

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


Attachments
build.log (gentoo-functions-0.8:20141229-233519.log,4.00 KB, text/plain)
2014-12-29 23:37 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weber (RETIRED) gentoo-dev 2014-12-29 23:29:54 UTC
I needed following mod to avoid qa killing the install.

--- /data/gentoo/usr/portage/sys-apps/gentoo-functions/gentoo-functions-0.8.ebuild
+++ /data/gentoo/usr/portage/sys-apps/gentoo-functions/gentoo-functions-0.8.ebuild
@@ -24,3 +24,7 @@
 src_prepare() {
        tc-export CC
 }
+
+src_install() {
+       emake install ROOTPREFIX="$EPREFIX"
+}


Portage 2.2.14-prefix (python 2.7.8-final-0, default/linux/arm/13.0/armv7a, gcc-4.9.2, unavailable, 3.4.0-cyanogenmod-gc1325c7 armv7l)
=================================================================
System uname: Linux-3.4.0-cyanogenmod-gc1325c7-armv7l-ARMv7_Processor_rev_1_-v7l-with-glibc2.4
KiB Mem:     2952660 total,    169796 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 29 Dec 2014 20:12:11 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 armv7a-hardfloat-linux-gnueabi [disabled]
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1-r3::heroxbd
dev-lang/python:          2.7.8::heroxbd
dev-util/cmake:           3.0.2
sys-apps/baselayout:      2.2::heroxbd
sys-apps/openrc:          0.13.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3::heroxbd
sys-devel/gcc:            4.9.2::heroxbd
sys-devel/gcc-config:     1.8-r1
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20::heroxbd
Repositories: gentoo_prefix heroxbd
ACCEPT_KEYWORDS="arm ~amd64-linux ~arm ~arm-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv7-a -mcpu=cortex-a9 -mfpu=neon -funsafe-math-optimizations"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=armv7-a -mcpu=cortex-a9 -mfpu=neon -funsafe-math-optimizations"
DISTDIR="/data/gentoo/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs case-insensitive-fs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory"
MAKEOPTS="-j4"
PKGDIR="/data/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/data/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/data/gentoo/var/tmp"
PORTDIR="/data/gentoo/usr/portage"
PORTDIR_OVERLAY="/data/gentoo/var/lib/layman/heroxbd"
USE="acl arm armv5te armv6 armv6t2 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pcre prefix rap readline session ssl tcpd unicode zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Michael Weber (RETIRED) gentoo-dev 2014-12-29 23:37:39 UTC
Created attachment 392678 [details]
build.log
Comment 2 Benda Xu gentoo-dev 2015-01-01 12:33:31 UTC
Thanks Michael. I could reproduce it and tracked it in my overlay before it gets carried in gx86.
Comment 3 Fabian Groffen gentoo-dev 2015-01-03 10:23:50 UTC
@heroxbd: will you take care of committing this?
Comment 4 Benda Xu gentoo-dev 2015-01-05 09:49:27 UTC
Committed, thanks.

Index: gentoo-functions-0.8.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-0.8.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 gentoo-functions-0.8.ebuild
--- gentoo-functions-0.8.ebuild 31 Dec 2014 05:09:19 -0000      1.2
+++ gentoo-functions-0.8.ebuild 5 Jan 2015 09:48:02 -0000
@@ -24,3 +24,7 @@
 src_prepare() {
        tc-export CC
 }
+
+src_install() {
+       emake install DESTDIR="${ED}"
+}

--- ./ChangeLog
+++ ./ChangeLog
@@ -2 +2 @@
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
@@ -4,0 +5,3 @@
+  05 Jan 2015; Benda Xu <heroxbd@gentoo.org> gentoo-functions-0.8.ebuild:
+  Prefix support, bug 533980.
+