Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694368 - media-libs/libvpx-1.7.0 : Unrecognized toolchain 'ppc-linux-gcc'
Summary: media-libs/libvpx-1.7.0 : Unrecognized toolchain 'ppc-linux-gcc'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 693510
  Show dependency tree
 
Reported: 2019-09-14 18:49 UTC by ernsteiswuerfel
Modified: 2019-11-20 19:28 UTC (History)
2 users (show)

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


Attachments
build.log (libvpx-1.7.0:20190914-184056.log,2.68 KB, text/plain)
2019-09-14 18:49 UTC, ernsteiswuerfel
Details
config.log (config.log,497 bytes, text/plain)
2019-09-14 18:50 UTC, ernsteiswuerfel
Details
emerge --info (file_694368.txt,5.85 KB, text/plain)
2019-09-14 18:51 UTC, ernsteiswuerfel
Details
ebuild patch (libvpx-1.7.0-ppc-ebuild.patch,573 bytes, patch)
2019-11-13 08:53 UTC, Stephan Hartmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2019-09-14 18:49:59 UTC
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.
Comment 1 ernsteiswuerfel archtester 2019-09-14 18:50:23 UTC
Created attachment 589834 [details]
config.log
Comment 2 ernsteiswuerfel archtester 2019-09-14 18:51:16 UTC
Created attachment 589836 [details]
emerge --info
Comment 3 Stephan Hartmann (RETIRED) gentoo-dev 2019-09-14 19:27:54 UTC
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.
Comment 4 ernsteiswuerfel archtester 2019-09-14 22:25:21 UTC
Corrected but title and keywords. The build always fails on ppc. Got nothing to do with FEATURES='test'.
Comment 5 ernsteiswuerfel archtester 2019-09-14 22:43:30 UTC
(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.
Comment 6 Stephan Hartmann (RETIRED) gentoo-dev 2019-11-13 08:53:55 UTC
Created attachment 595946 [details, diff]
ebuild patch

Can you try attached patch please?
Comment 7 ernsteiswuerfel archtester 2019-11-19 12:58:35 UTC
(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/.
Comment 8 Stephan Hartmann (RETIRED) gentoo-dev 2019-11-19 13:02:54 UTC
(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?
Comment 9 ernsteiswuerfel archtester 2019-11-19 15:51:10 UTC
(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.
Comment 10 Larry the Git Cow gentoo-dev 2019-11-20 19:28:36 UTC
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(+)