| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This can happen if you rm -rf the SYSROOT (rather than crossdev -C).
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On non-prefixed systems, cross-emerge installs to /usr/${CHOST} by
default. On prefixed systems, this default effectively becomes
${BROOT}/usr/${CHOST}/${BROOT}, which is unexpected and makes little
sense. The first BROOT originates from the ROOT setting in the cross
make.conf. The second BROOT is the prefix that Portage is configured
to use by default.
We therefore need to avoid the second BROOT by overriding Portage with
a blank EPREFIX value. Note that a bug in Portage itself means that
this is ineffective on versions before 2.3.69 but it's no worse than
it was before either.
For users who do want to set their own EPREFIX, the PORTAGE_CONFIGROOT
default has been updated to ${SYSROOT}${EPREFIX} as the prefixed
location is required for this variable. This is despite man emerge
suggesting otherwise!
Closes: https://bugs.gentoo.org/642604
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 21a0f5a3d83084436e6f6b66114cc5c593528866
("cross-emerge: tweak EPREFIX handling to be POSIX sh, bug #650100")
introduced a bug:
$ foo-emerge
foo-emerge: line 13: [: =: unary operator expected
Tweak it by quoting 'test' argument.
Reported-by: Marty E. Plummer
Bug: https://bugs.gentoo.org/650100
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Reported and fixed by Scall.
Reported-by: Scall
Fixed-by: Scall
Closes: https://bugs.gentoo.org/650100
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
|
|
|
|
|
|
| |
BUILD_LDFLAGS was missing, add it too.
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Portage is not designed to run wrapped in fakeroot. Instead one should
set FEATURES="fakeroot". Wrapping emerge with fakeroot triggers emerge
to disable fakeroot.
URL: https://bugs.gentoo.org/489016
URL: https://bugs.gentoo.org/523098
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
|
|
|
|
|
|
|
|
| |
Only execute portageq once to speed things up, and only remove the
variables we are looking up from the env. Using the -i flag makes
portage very unhappy when $PATH goes missing.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
| |
URL: http://bugs.gentoo.org/331589
Reported-by: Juan P Daza P <tcpip4000@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ned Ludd <solar@gentoo.org>
|
|
|
|
|
|
| |
These cause cross-scm comparisons a pita.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Ned Ludd <solar@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Ned Ludd <solar@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Ned Ludd <solar@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Ned Ludd <solar@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
| |
Also rewrite in POSIX shell.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|