I need gentoo-prefix in /opt for asus rt-n16 http://wiki.openwrt.org/toh/asus/rt-n16 mipsel router with "Tomato by Shibby" http://tomato.groov.pl/?dir=K26/ current http://tomato.groov.pl/download/K26/build5x-120-EN/tomato-K26USB-1.28.RT-MIPSR2-120-AIO.trx firmware. Some info: $ cat /proc/cpuinfo system type : Broadcom BCM4716 chip rev 1 pkg 10 processor : 0 cpu model : MIPS 74K V4.0 BogoMIPS : 239.20 cpu MHz : 480 wait instruction : no microsecond timers : yes tlb_entries : 64 extra interrupt vector : no hardware watchpoint : yes ASEs implemented : mips16 dsp shadow register sets : 1 VCED exceptions : not available VCEI exceptions : not available unaligned_instructions : 110192 $ uname -a Linux asus 2.6.22.19 #22 Sat Jun 7 02:32:13 CEST 2014 mips GNU/Linux I build from sys-apps/proot ( http://packages.gentoo.org/package/sys-apps/proot?arches=all ) + app-emulation/qemu ( http://packages.gentoo.org/package/app-emulation/qemu ) and http://mirrors.ustc.edu.cn/gentoo/experimental/mips/stages/stage3-mips32el-20140426.tar.bz2 Steps to Reproduce: Unpack stage3-mips32el-20140426.tar.bz2 to /home/mipsel $ proot -R /home/mipsel -b /proc -q "qemu-mipsel" $ /bin/bash $ export EPREFIX="/opt" $ export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:/usr/bin:/bin" $ export CHOST="mipsel-pc-linux-gnu" $ ./bootstrap-prefix.sh /opt/tmp stage1 $ export LATEST_TREE_YES=1 $ ./bootstrap-prefix.sh /opt stage2 $ ./bootstrap-prefix.sh /opt stage3 Now i need to install gcc or glibc with --nodeps in prefix… gcc fails to compile with --nodeps so Reproducible: Always Steps to Reproduce: 1. proot -R /home/mipsel -b /proc -q "qemu-mipsel" 2. emerge -1 --nodeps =sys-libs/glibc-2.19-r1 3. Actual Results: Failed to install with error: [31;01m*[0m ERROR: sys-libs/glibc-2.19-r1::gentoo_prefix failed: [31;01m*[0m Aborting due to QA concerns: there are files installed outside the prefix [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m misc-functions.sh, line 1925: Called install_qa_check [31;01m*[0m misc-functions.sh, line 244: Called install_qa_check_prefix [31;01m*[0m misc-functions.sh, line 943: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m die "Aborting due to QA concerns: there are files installed outside the prefix" Expected Results: successful compilation && installation $ emerge --info '=sys-libs/glibc-2.19-r1::gentoo_prefix' !!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/usr/portage' !!! Invalid Repository Location (not a dir): '/usr/portage' WARNING: One or more repositories have missing repo_name entries: /usr/portage/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. Portage 2.2.10 (unavailable, gcc-4.8.2, glibc-2.19, 3.14.0-sabayon mips) ================================================================= System Settings ================================================================= System uname: Linux-3.14.0-sabayon-mips-with-gentoo-2.2 KiB Mem: 3075972 total, 246128 free KiB Swap: 5177340 total, 5177340 free Timestamp of tree: Unknown ld GNU ld (GNU Binutils) 2.24 dev-lang/python: 2.7.6-r1, 3.3.5, 3.4.0 sys-devel/autoconf: 2.69 sys-devel/automake: 1.14.1 sys-devel/binutils: 2.24-r2 sys-devel/libtool: 2.4.2 sys-kernel/linux-headers: 3.14 (virtual/os-headers) Repositories: ACCEPT_LICENSE="* -@EULA" CFLAGS="-O2 -march=mips32 -mabi=32 -mplt -pipe" CHOST="mipsel-unknown-linux-gnu" CONFIG_PROTECT="/etc /etc/entropy /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=mips32 -mabi=32 -mplt -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS="http://distfiles.gentoo.org" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="" Unset: ACCEPT_KEYWORDS, EMERGE_DEFAULT_OPTS, PORTAGE_BUNZIP2_COMMAND
Created attachment 378982 [details] build.log.xz
glibc isn't fully prefix aware yet. it's in progress. *** This bug has been marked as a duplicate of bug 473728 ***