| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
PREFIX assumes leading '/'. Thus the idiom is
$(DESTDIR)$(PREFIX)/foo
and not
$(DESTDIR)/$(PREFIX)/foo
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
| |
Leave __<var>__ substitutions for runtime substitution
and keep @<var>@ for 'make install' substitution.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
libtool.m4 uses lt_cv_to_host_file_cmd to store the name of a function
used to convert between unix and win32 path styles; when doing a linux to
mingw cross-compilation it ends up with func_convert_file_nix_to_w32
which uses the winepath utility to do the job. However, using that tool
will create a wineprefix in ${CATEGORY}/${P}/homedir and potentially
cause access violations in sandbox.
Bug: https://bugs.gentoo.org/631492
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
Flags should be one per line, not multiple:
--- Invalid USE flag in 'use.force': '-kernel_linux kernel_linux'
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Need for make.defaults:
portage does not allow ARCH override in make.conf anymore
Need for use.force:
embedded profile enforces linux target on us. It's ok as a default
but would be nice to be able to override it with nothing (bare-metal)
or other OS without existing profile.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@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>
|
|
|
|
|
|
|
|
|
| |
glibc, musl, uclibc and uclibc-ng all define needed signals
and syscalls needed for job control.
Reported-by: Felix Janda
Bug: https://bugs.gentoo.org/553988
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
| |
re_compile_pattern is present in glibc, uclibc, uclibc-ng, but not musl
Reported-by: Felix Janda
Bug: https://bugs.gentoo.org/553988
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Reported-by: Marty E. Plummer
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Reported-by: Marty E. Plummer
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
|
|
|
|
|
|
| |
This way you can support glibc and musl targets on the same system and
not have to worry about switching out site scripts.
URL: https://bugs.gentoo.org/554032
|
|
|
|
|
|
| |
URL: https://bugs.gentoo.org/570762
Reported-by: Fabio Rossi <rossi.f@inwind.it>
Signed-off-by: Mike Frysinger <vapier@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>
|
|
|
|
|
|
|
|
|
|
| |
Most of these no longer exist (and were somewhat invalid to begin with),
and the package appears to do the right thing now with the various tests
(like falling back to link/compile tests when run fails). Punt them all.
URL: https://bugs.gentoo.org/516642
Reported-by: Scott Alfter <scott@alfter.us>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
| |
URL: https://bugs.gentoo.org/550776
Reported-by: Sven E. <dark@verfeiert.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
The previous commit was supposed to include globs at the end of the
targets but forgot to add while also splitting.
URL: https://bugs.gentoo.org/497626
Signed-off-by: Mike Frysinger <vapier@chromium.org>
|
|
|
|
|
|
|
|
| |
The previous code also relied on partial substrings so that linux-gnueabi
would load both linux-gnu and linux-gnueabi. Restore that logic as well.
URL: https://bugs.gentoo.org/497626
Signed-off-by: Mike Frysinger <vapier@chromium.org>
|
|
|
|
|
|
|
|
| |
The POSIX rewrite accidentally dropped the appending logic so all the
`site+=...` changed to `site=...`. Restore that.
URL: https://bugs.gentoo.org/497626
Signed-off-by: Mike Frysinger <vapier@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The crossdev code had a more full-featured parser of the repos.conf output
than the emerge-wrapper. The latter failed to include the last overlay in
the list leading to ugly warnings like:
/usr/bin/emerge-wrapper: line 48: /eclass/toolchain-funcs.eclass: No such file or directory
/usr/bin/emerge-wrapper: line 49: tc-arch: command not found
URL: https://bugs.gentoo.org/546748
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
| |
The main linux file already sets these /dev tests.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
URL: https://bugs.gentoo.org/497626
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
URL: https://bugs.gentoo.org/340989
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
| |
The current output isn't clear as to what is wrong.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
URL: https://bugs.gentoo.org/525068
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>
|
|
|
|
|
|
|
|
| |
Since we're looking for the pkgconfig dir, let's probe it directly rather
than rely on specific C library files.
URL: https://bugs.gentoo.org/518790
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
URL: https://bugs.gentoo.org/520880
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
| |
Rather than hardcode /usr/lib, set PKG_CONFIG_SYSTEM_LIBRARY_PATH to the
right libdir paths. This should handle lib vs lib64 vs lib correctly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Now that the 0.24 release has been out for a few years, we can start
relying on its availability.
URL: https://bugs.gentoo.org/517530
Reported-by: Mike Marineau <mike@marineau.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
The core linux-gnu site had its abstract sockets set to yes, but the
mips one was specifically setting it to no. Drop the mips code.
URL: http://crbug.com/394181
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
If people want these settings, they can use the embedded profile.
Instead, provide more reasonable USE/CFLAGS settings out of the
box.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
Since the cross-xxx/{glibc,linux-headers} packages are installed into the
sysroot, we don't want to try and install them in here too as they'll run
into file collisions. So automatically add them to package.provided.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
We've deleted most of this from the uclibc ebuilds and have been pushing
people to use CFLAGS for optimization selection. Drop the logic from
here too.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
Cross-compiling logic has largely stabilized enough now that we don't need
this post-install hack to keep things sane. Plus, if you install a package
that doesn't cross-compile properly, you'll notice pretty quickly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
| |
We don't really need to do this anymore as crossdev will initialize things
automatically for you now.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
This is where make.profile belongs in current portage
|
|
|
|
|
|
| |
Portage will take care of this itself internally.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
The main crossdev process handles multilib for us now.
URL: https://bugs.gentoo.org/432084
Reported-by: Dennis Schridde <devurandom@gmx.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Since configure settings can change over time, we don't want crossdev
accidentally breaking native builds when its only designed to fix up
cross builds.
URL: https://bugs.gentoo.org/427184
Reported-by: Justin Lecher <jlec@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
The sysroot in the toolchain itself should be able to locate the
headers and libraries just fine. Using -L/-I breaks the search
order for some applications.
URL: http://bugs.gentoo.org/364003
Reported-by: Joerg Faschingbauer <joerg.faschingbauer@aon.at>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|