Created attachment 589832 [details] build.log [...] >>> Configuring source in /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0 ... * .ppc: running multilib-minimal_abi_src_configure enabling pic enabling vp8 enabling vp9 enabling shared disabling postproc enabling experimental enabling unit_tests enabling vp9_highbitdepth disabling install_docs disabling docs Unrecognized toolchain 'ppc-linux-gcc' Configuration failed. This could reflect a misconfiguration of your toolchains, improper options selected, or another problem. If you don't see any useful error messages above, the next step is to look at the configure error log file (config.log) to determine what configure was trying to do when it died. >>> Source configured. >>> Compiling source in /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0 ... * .ppc: running multilib-minimal_abi_src_compile make -j28 -l26 verbose=yes GEN_EXAMPLES= make: *** No targets specified and no makefile found. Stop.
Created attachment 589834 [details] config.log
Created attachment 589836 [details] emerge --info
Before libvpx-1.7.0 ppc/ppc64 with detected as generic-gnu. Following added support for ppc/ppc64: https://chromium.googlesource.com/webm/libvpx/+/51289302ab02d81c17d3f15bbfb9a22eef4a36c1 However, https://chromium.googlesource.com/webm/libvpx/+/94655569fe0dd06a59911de489844d2327c661ae removed ppc-linux-gnu platform again. So libvpx-1.7.0 only supports ppc64 but not ppc. Either remove ppc keywords or force ppc-linux-gnu/generic-gnu platform for ppc.
Corrected but title and keywords. The build always fails on ppc. Got nothing to do with FEATURES='test'.
(In reply to Stephan Hartmann from comment #3) > Before libvpx-1.7.0 ppc/ppc64 with detected as generic-gnu. > > Either remove ppc keywords or force ppc-linux-gnu/generic-gnu platform for > ppc. Force it to generic again would be a more sensible choice.
Created attachment 595946 [details, diff] ebuild patch Can you try attached patch please?
(In reply to Stephan Hartmann from comment #6) > Created attachment 595946 [details, diff] [details, diff] > ebuild patch > > Can you try attached patch please? Thanks! The patch works as intended. Though I needed to apply it out from /usr/portage/, not via dropping it into /etc/portage/patches/media-libs/libvpx-1.7.0/.
(In reply to ernsteiswuerfel from comment #7) > (In reply to Stephan Hartmann from comment #6) > > Created attachment 595946 [details, diff] [details, diff] [details, diff] > > ebuild patch > > > > Can you try attached patch please? > Thanks! The patch works as intended. > > Though I needed to apply it out from /usr/portage/, not via dropping it into > /etc/portage/patches/media-libs/libvpx-1.7.0/. Thanks, does that also work for libvpx-1.8.0?
(In reply to Stephan Hartmann from comment #8) > > Though I needed to apply it out from /usr/portage/, not via dropping it into > > /etc/portage/patches/media-libs/libvpx-1.7.0/. > > Thanks, does that also work for libvpx-1.8.0? Yes, does apply to 1.8.0 as well: /usr/portage # patch -p1 < ebuild.patch patching file media-libs/libvpx/libvpx-1.8.0.ebuild Hunk #1 succeeded at 96 (offset 1 line). Builds also fine.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=421b6f443ceceb7f50d1802845c0a169c7257d1e commit 421b6f443ceceb7f50d1802845c0a169c7257d1e Author: Stephan Hartmann <stha09@googlemail.com> AuthorDate: 2019-11-19 15:59:08 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-11-20 19:28:17 +0000 media-libs/libvpx: fix building on ppc Closes: https://bugs.gentoo.org/694368 Thanks-to: ernsteiswuerfel <erhard_f@mailbox.org> Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Stephan Hartmann <stha09@googlemail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13714 media-libs/libvpx/libvpx-1.7.0.ebuild | 3 +++ media-libs/libvpx/libvpx-1.8.0-r1.ebuild | 3 +++ media-libs/libvpx/libvpx-1.8.0.ebuild | 3 +++ 3 files changed, 9 insertions(+)