Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] media-libs/libvpx-1.7.0 configure -- Unrecogni ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
MoeDathstern
n00b
n00b


Joined: 01 Aug 2019
Posts: 7

PostPosted: Thu Aug 01, 2019 1:44 pm    Post subject: [Solved] media-libs/libvpx-1.7.0 configure -- Unrecogni ... Reply with quote

Hi!

I try to install www-client/firefox on a 32-bit PowerBook G4. Firefox needs media-libs/libvpx-1.7.0.
During configure of media-libs/libvpx-1.7.0 the build aborts with the error
Quote:

Unrecognized toolchain 'ppc-linux-gcc'


Does someone know how I can solve this issue?

Thanks!
Moe

Logfiles

# emerge --info '=media-libs/libvpx-1.7.0::gentoo'
Code:

Portage 2.3.69 (python 3.6.5-final-0, default/linux/powerpc/ppc32/17.0, gcc-8.3.0, glibc-2.29-r2, 4.19.57-gentoo ppc)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.57-gentoo-ppc-7447A,_altivec_supported-with-gentoo-2.6
KiB Mem:     2069604 total,    262408 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 01 Aug 2019 08:30:01 +0000
Head commit of repository gentoo: dc225da03b2a3b803cf323eb8f75b39881b60181
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="@FREE"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
GENTOO_MIRRORS="https://mirror.mdfnet.se/gentoo"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl berkdb big-endian bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 ncurses nls nptl openmp pam pcre ppc readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_PPC="32" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="ieee1275" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev glint mga nv r128 radeon dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge -pqv '=media-libs/libvpx-1.7.0::gentoo'
Code:

[ebuild  N    ] media-libs/libvpx-1.7.0  USE="highbitdepth postproc threads -doc -static-libs -svc -test"


/var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0-.ppc/config.log
Code:

# /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/configure --prefix=/usr --libdir=/usr/lib --enable-pic --enable-vp8 --enable-vp9 --enable-shared --extra-cflags=-O2 -mcpu=powerpc -mtune=powerpc -pipe --disable-avx --disable-avx2 --disable-mmx --enable-postproc --disable-sse --disable-sse2 --disable-sse3 --disable-sse4_1 --disable-ssse3 --disable-experimental --disable-spatial-svc --disable-static --disable-unit-tests --enable-multithread --enable-vp9-highbitdepth --disable-install-docs --disable-docs


/var/tmp/portage/media-libs/libvpx-1.7.0/temp/build.log
Code:

 * Package:    media-libs/libvpx-1.7.0
 * Repository: gentoo
 * Maintainer: media-video@gentoo.org chromium@gentoo.org
 * USE:        abi_ppc_32 elibc_glibc highbitdepth kernel_linux postproc ppc threads userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libvpx-1.7.0.tar.gz to /var/tmp/portage/media-libs/libvpx-1.7.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/libvpx-1.7.0/work
>>> Preparing source in /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0 ...
 * Applying libvpx-1.3.0-sparc-configure.patch ...
 [ ok ]
>>> Source prepared.
>>> 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
  enabling postproc
  disabling experimental
Ignoring --disable-spatial-svc -- not in experimental mode.
  disabling static
  disabling 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 -j1 verbose=yes GEN_EXAMPLES=
make: *** No targets specified and no makefile found.  Stop.
 * ERROR: media-libs/libvpx-1.7.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/libvpx-1.7.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libvpx-1.7.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libvpx-1.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libvpx-1.7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0-.ppc'
 * S: '/var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0'


Last edited by MoeDathstern on Sun Aug 04, 2019 8:47 am; edited 1 time in total
Back to top
View user's profile Send private message
MoeDathstern
n00b
n00b


Joined: 01 Aug 2019
Posts: 7

PostPosted: Thu Aug 01, 2019 2:29 pm    Post subject: [Solved] Re: media-libs/libvpx-1.7.0 configure -- Unrecog... Reply with quote

MoeDathstern wrote:

During configure of media-libs/libvpx-1.7.0 the build aborts with the error
Code:
Unrecognized toolchain 'ppc-linux-gcc'

Does someone know how I can solve this issue?


I solved the issue with a user patch as described in https://wiki.gentoo.org/wiki//etc/portage/patches
My patch libvpx-1.7.0-ppc-toolchain-configure.patch
Code:

diff -ruN a/configure b/configure
--- a/configure 2019-08-01 15:00:08.064819006 +0200
+++ b/configure 2019-08-01 15:50:27.030161089 +0200
@@ -116,6 +116,7 @@
 all_platforms="${all_platforms} mips64-linux-gcc"
 all_platforms="${all_platforms} ppc64-linux-gcc"
 all_platforms="${all_platforms} ppc64le-linux-gcc"
+all_platforms="${all_platforms} ppc-linux-gcc"
 all_platforms="${all_platforms} sparc-solaris-gcc"
 all_platforms="${all_platforms} sparc-linux-gcc"
 all_platforms="${all_platforms} x86-android-gcc"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum