Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ABI and multilib requested by ffmpeg on a x86
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
k9dog
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2009
Posts: 103
Location: Denmark

PostPosted: Wed Sep 26, 2018 2:06 am    Post subject: ABI and multilib requested by ffmpeg on a x86 Reply with quote

I'm running a 32bit x86 Gentoo with just 2 GB(x86 install limits addressing to 4GB (core 2) but speeds up certain things as it reduces memory consumption on a system already limited in size. I already have compiled ffmpeg 3.3.8, but during last update same ffmpeg ( 3.3.8 ) started failing during compile in the configure process.
The configure complains about multilib, which I haven't enabled and shouldn't afaik. I could try earlier versions, but this used to compile. Later versions makes emerge try to pull later nvidia drivers and nvidia is a laptop legacy card/chip.
Have anyone else seen this issue with ffmpeg? Can I tell Gentoo to just compile for x86_32. I did try to add ABI_X86=32, but error persist. Masking doesn't seem to be an option (yeah maybe I could try previous revision and loose the already working unpatched version that did compile -same version and revision).
Ah darn it. I'll try previous revision. Hm didn't help. I also changed my layman sync type to git for most. Perhaps that started it

emerge --info '=media-video/ffmpeg-3.3.8::gentoo':
Code:
Portage 2.3.50 (python 2.7.15-final-0, default/linux/x86/17.0/desktop, gcc-6.4.0, glibc-2.27-r6, 4.9.126-gentoo-nvidia i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.126-gentoo-nvidia-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-gentoo-2.6
KiB Mem:     2065776 total,    158840 free
KiB Swap:    4194300 total,   4164596 free
Timestamp of repository gentoo: Tue, 25 Sep 2018 17:00:01 +0000
Head commit of repository gentoo: b1c5582274f9a51d86a11111874e416044e46ecb
Head commit of repository gamerlay: c4bf54dcf5d6ce68622a493fa51c35c3f3fc215a

Head commit of repository mozilla: e5f3ddabf9959c85228868c85456fb0facc0f81d

Head commit of repository seeds: 1007c49cde064c8b442d95db2a166cbc18e9cd5d

Head commit of repository torbrowser: bbe46d50d3db5f2461ec5dfa6ad35298e0404b5b

Head commit of repository wine: 1b956b8f5fea3aece1d17c7b0b3ef9a3a97e7ceb

Head commit of repository x11: c76981fdd31fbc70db2ff44814e4d7dfe7e71ba0

sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.12.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r4::gentoo, 6.4.0-r4::gentoo, 7.3.0-r5::gentoo, 8.2.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::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: no
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

k9canon
    location: /usr/local/portage
    masters: gentoo

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/gamerlay.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

mva
    location: /var/lib/layman/mva
    sync-type: laymansync
    sync-uri: https://github.com/msva/mva-overlay
    masters: gentoo
    priority: 50

seeds
    location: /var/lib/layman/seeds
    sync-type: git
    sync-uri: git://github.com/vonavi/seeds.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: git
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

wine
    location: /var/lib/layman/wine
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/wine.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/x11.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -U_FORTIFY_SOURCE"
DISTDIR="/mnt/nas/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://130.230.54.100/gentoo http://130.230.54.100 ftp://trumpetti.atm.tut.fi/gentoo http://trumpetti.atm.tut.fi/gentoo http://distfiles.gentoo.org/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="da"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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="X a52 aac ac3 acl acpi additions aio alsa apache2 asyncns berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cg cli consolekit crypt css cups curl custom-cflags cxx dbus docs dri drm dts dvd dvdr egl emboss encode equalizer exif extensions faac fam fbcon fbcondecor ffmpeg flac foomaticdb fortran gbm gd gdbm gdk gif gimp glamor glib gnutls gpm gstreamer gtk iconv icu introspection jack java jit jpeg kerberos lame lcms ldap legacy-systray libkms libnotify libtirpc lm_sensors loop-aes lua lvm mad mbox memcached memlimit mhash midi mmap mms mng modpluf modules mozilla mp3 mp4 mpeg mplayer mtp ncurses networkmanager nls nptl nptlonly nsplugin ogg opencl opengl openmp openrc openssl orc pam pango pcre pdf pdo php png policykit portaudio postgres ppds profile pulseaudio python qt4 qt5 readline realtime rtsp samba sasl sctp sdl seccomp sharedmem socks5 soprano spell sqlite ssl ssl2 startup-notification static-libs sudo svg synaptics tcpd theora threads tiff truetype udev udisks unicode usb v4l vaapi vdpau vhost-net virt-network vnc vorbis wifi wxwidgets x264 x86 xa xattr xcb xml xv xvid xvmc zeroconf zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtePortage 2.3.50 (python 2.7.15-final-0, default/linux/x86/17.0/desktop, gcc-6.4.0, glibc-2.27-r6, 4.9.126-gentoo-nvidia i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.126-gentoo-nvidia-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-gentoo-2.6
KiB Mem:     2065776 total,    654544 free
KiB Swap:    4194300 total,   4132224 free
Timestamp of repository gentoo: Tue, 25 Sep 2018 17:00:01 +0000
Head commit of repository gentoo: b1c5582274f9a51d86a11111874e416044e46ecb
Head commit of repository gamerlay: c4bf54dcf5d6ce68622a493fa51c35c3f3fc215a

Head commit of repository mozilla: e5f3ddabf9959c85228868c85456fb0facc0f81d

Head commit of repository seeds: 1007c49cde064c8b442d95db2a166cbc18e9cd5d

Head commit of repository torbrowser: bbe46d50d3db5f2461ec5dfa6ad35298e0404b5b

Head commit of repository wine: 1b956b8f5fea3aece1d17c7b0b3ef9a3a97e7ceb

Head commit of repository x11: c76981fdd31fbc70db2ff44814e4d7dfe7e71ba0

sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.12.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r4::gentoo, 6.4.0-r4::gentoo, 7.3.0-r5::gentoo, 8.2.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::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: no
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

k9canon
    location: /usr/local/portage
    masters: gentoo

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/gamerlay.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

mva
    location: /var/lib/layman/mva
    sync-type: laymansync
    sync-uri: https://github.com/msva/mva-overlay
    masters: gentoo
    priority: 50

seeds
    location: /var/lib/layman/seeds
    sync-type: git
    sync-uri: git://github.com/vonavi/seeds.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: git
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

wine
    location: /var/lib/layman/wine
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/wine.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/x11.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -U_FORTIFY_SOURCE"
DISTDIR="/mnt/nas/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://130.230.54.100/gentoo http://130.230.54.100 ftp://trumpetti.atm.tut.fi/gentoo http://trumpetti.atm.tut.fi/gentoo http://distfiles.gentoo.org/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="da"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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="X a52 aac ac3 acl acpi additions aio alsa apache2 asyncns berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cg cli consolekit crypt css cups curl custom-cflags cxx dbus docs dri drm dts dvd dvdr egl emboss encode equalizer exif extensions faac fam fbcon fbcondecor ffmpeg flac foomaticdb fortran gbm gd gdbm gdk gif gimp glamor glib gnutls gpm gstreamer gtk iconv icu introspection jack java jit jpeg kerberos lame lcms ldap legacy-systray libkms libnotify libtirpc lm_sensors loop-aes lua lvm mad mbox memcached memlimit mhash midi mmap mms mng modpluf modules mozilla mp3 mp4 mpeg mplayer mtp ncurses networkmanager nls nptl nptlonly nsplugin ogg opencl opengl openmp openrc openssl orc pam pango pcre pdf pdo php png policykit portaudio postgres ppds profile pulseaudio python qt4 qt5 readline realtime rtsp samba sasl sctp sdl seccomp sharedmem socks5 soprano spell sqlite ssl ssl2 startup-notification static-libs sudo svg synaptics tcpd theora threads tiff truetype udev udisks unicode usb v4l vaapi vdpau vhost-net virt-network vnc vorbis wifi wxwidgets x264 x86 xa xattr xcb xml xv xvid xvmc zeroconf zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="da" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86" QEMU_USER_TARGETS="x86" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="net pixma" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa dummy fbdev modesetting" XFCE_PLUGINS="brightness clock trash" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/ffmpeg-3.3.8::gentoo was built with the following:
USE="X alsa amr amrenc bluray bs2b bzip2 cdio (celt) encode fdk flite fribidi gme gnutls gpl hardcoded-tables iconv jack libilbc librtmp libsoxr libv4l mp3 network opengl openh264 openssl opus postproc pulseaudio rubberband samba schroedinger sdl snappy sofalizer ssh static-libs theora threads truetype twolame v4l vaapi vdpau vorbis vpx webp x264 xcb xvid zeromq zimg zlib zvbi (-altivec) -chromaprint -chromium -cpudetection -debug -doc -fontconfig -frei0r -gcrypt -gmp -gsm -iec61883 -ieee1394 -jpeg2k -kvazaar -ladspa -libass -libcaca -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -nvenc -openal -oss -pic -speex -test -wavpack -x265" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher"

ch 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="da" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="arm x86 sparc" QEMU_USER_TARGETS="x86" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="net pixma" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa dummy fbdev modesetting" XFCE_PLUGINS="brightness clock trash" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/ffmpeg-3.3.8::gentoo was built with the following:
USE="X alsa amr amrenc bluray bs2b bzip2 cdio (celt) encode fdk flite fribidi gme gnutls gpl hardcoded-tables iconv jack libilbc librtmp libsoxr libv4l mp3 network opengl openh264 openssl opus postproc pulseaudio rubberband samba schroedinger sdl snappy sofalizer ssh static-libs theora threads truetype twolame v4l vaapi vdpau vorbis vpx webp x264 xcb xvid zeromq zimg zlib zvbi (-altivec) -chromaprint -chromium -cpudetection -debug -doc -fontconfig -frei0r -gcrypt -gmp -gsm -iec61883 -ieee1394 -jpeg2k -kvazaar -ladspa -libass -libcaca -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -nvenc -openal -oss -pic -speex -test -wavpack -x265" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher"



build.log
Code:
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
/var/tmp/portage/media-video/ffmpeg-3.3.8/work/ffmpeg-3.3.8/configure --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --docdir=/usr/share/doc/ffmpeg-3.3.8/html --mandir=/usr/share/man --enable-shared --cc=i686-pc-linux-gnu-gcc --cxx=i686-pc-linux-gnu-g++ --ar=i686-pc-linux-gnu-ar --optflags=-march=prescott -O2 -pipe --enable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --enable-version3 --disable-indev=oss --disable-outdev=oss --enable-version3 --enable-nonfree --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --enable-openssl --enable-postproc --enable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --enable-libv4l2 --enable-libpulse --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libfdk-aac --disable-libopenjpeg --enable-libbluray --disable-libcelt --enable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --enable-libopus --enable-libilbc --enable-librtmp --enable-libssh --enable-libschroedinger --disable-libspeex --enable-libvorbis --enable-libvpx --enable-libzvbi --enable-libbs2b --disable-chromaprint --enable-libflite --disable-frei0r --enable-libfribidi --disable-fontconfig --disable-ladspa --disable-libass --enable-libfreetype --enable-librubberband --enable-netcdf --enable-libzmq --enable-libzimg --enable-libsoxr --enable-pthreads --enable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --enable-libopenh264 --enable-libsnappy --enable-libtheora --enable-libtwolame --disable-libwavpack --enable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --disable-amd3dnow --disable-amd3dnowext --disable-aesni --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-xop --cpu=prescott --disable-doc --disable-htmlpages --enable-manpages
ERROR: smbclient not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
 * ERROR: media-video/ffmpeg-3.3.8::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3186:  Called multilib-minimal_src_configure
 *   environment, line 2293:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2507:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2223:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2221:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  744:  Called multilib-minimal_abi_src_configure
 *   environment, line 2287:  Called multilib_src_configure
 *   environment, line 2811:  Called die
 * The specific snippet of code:
 *       "${@}" || die;
 *
 * If you need support, post the output of `emerge --info '=media-video/ffmpeg-3.3.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-3.3.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-3.3.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-3.3.8/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/ffmpeg-3.3.8/work/ffmpeg-3.3.8-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-video/ffmpeg-3.3.8/work/ffmpeg-3.3.8'
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Wed Sep 26, 2018 12:57 pm    Post subject: Reply with quote

that's got nothing to do with multilib. in the callstack you see the multilib stuff because the ebuild itself is multilib capable.

The actual error is above:
ERROR: smbclient not found

I have seen this, too. Since I didn't need it, I just disabled samba useflag for ffmpeg. If you need it, you need to create a bug.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Wed Sep 26, 2018 1:02 pm    Post subject: Reply with quote

Christian99 is right.

Either disable samba for ffmpeg or emerge samba w/smbclient use flag
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Wed Sep 26, 2018 4:34 pm    Post subject: Reply with quote

actually, since recently, ffmpeg is failing with this error, even when client flag is enabled for samba. (and smbclient is actually available)
For me it's also failing for ffmpeg-3.4.4.

I checked /var/tmp/portage/media-video/ffmpeg-3.4.4/work/ffmpeg-3.4.4-abi_x86_32.x86/ffbuild/config.log
and it has errors at the end:
Code:
...
use_pkg_config libsmbclient smbclient libsmbclient.h smbc_init
check_pkg_config libsmbclient smbclient libsmbclient.h smbc_init
pkg-config --exists --print-errors smbclient
check_func_headers libsmbclient.h smbc_init -I/usr/include/samba-4.0 -L/usr/lib32 -lsmbclient
check_ld cc -I/usr/include/samba-4.0 -L/usr/lib32 -lsmbclient
check_cc -I/usr/include/samba-4.0 -L/usr/lib32
BEGIN /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.c
    1   #include <libsmbclient.h>
    2   #include <stdint.h>
    3   long check_smbc_init(void) { return (long) smbc_init; }
    4   int main(void) { int ret = 0;
    5    ret |= ((intptr_t)check_smbc_init) & 0xFFFF;
    6   return ret; }
END /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.c
x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -O2 -pipe -march=native -march=skylake -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/include/uuid -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/bs2b -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/opus -I/usr/include/opus -D_REENTRANT -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/samba-4.0 -L/usr/lib32 -c -o /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.o /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.c
In file included from /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.c:1:
/usr/include/samba-4.0/libsmbclient.h:158:18: error: field 'btime_ts' has incomplete type
  struct timespec btime_ts;
                  ^~~~~~~~
/usr/include/samba-4.0/libsmbclient.h:162:18: error: field 'mtime_ts' has incomplete type
  struct timespec mtime_ts;
                  ^~~~~~~~
/usr/include/samba-4.0/libsmbclient.h:166:18: error: field 'atime_ts' has incomplete type
  struct timespec atime_ts;
                  ^~~~~~~~
/usr/include/samba-4.0/libsmbclient.h:170:18: error: field 'ctime_ts' has incomplete type
  struct timespec ctime_ts;
                  ^~~~~~~~
/usr/include/samba-4.0/libsmbclient.h:1107:38: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
                               struct timeval *tbuf);
                                      ^~~~~~~
/usr/include/samba-4.0/libsmbclient.h:1926:41: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
 int smbc_utimes(const char *url, struct timeval *tbuf);
                                         ^~~~~~~
require smbclient libsmbclient.h smbc_init -lsmbclient
check_lib smbclient libsmbclient.h smbc_init -lsmbclient
check_func_headers libsmbclient.h smbc_init -lsmbclient
check_ld cc -lsmbclient
check_cc
BEGIN /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.c
    1   #include <libsmbclient.h>
    2   #include <stdint.h>
    3   long check_smbc_init(void) { return (long) smbc_init; }
    4   int main(void) { int ret = 0;
    5    ret |= ((intptr_t)check_smbc_init) & 0xFFFF;
    6   return ret; }
END /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.c
x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -O2 -pipe -march=native -march=skylake -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/include/uuid -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/bs2b -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/opus -I/usr/include/opus -D_REENTRANT -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -c -o /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.o /var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.c
/var/tmp/portage/media-video/ffmpeg-3.4.4/temp/ffconf.JUwgzGH8/test.c:1:10: fatal error: libsmbclient.h: No such file or directory
 #include <libsmbclient.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
ERROR: smbclient not found


not really sure what to make of this, first it finds the header, but has some error, then it doesn't find the header...
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Wed Sep 26, 2018 4:48 pm    Post subject: Reply with quote

https://bugs.gentoo.org/666548

https://github.com/samuelbernardo/ssnb-overlay/blob/master/net-fs/samba/files/samba-4.9.1-fix_libsmbclient_h.patch
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
k9dog
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2009
Posts: 103
Location: Denmark

PostPosted: Wed Sep 26, 2018 5:26 pm    Post subject: Reply with quote

It was a bit strange.
Update had installed samba 4.9.1 which seemed to be missing the smbclient command (Thanks for spotting the error), even with client in the use flags.
I downgraded to 4.9.0 which did seem to have the command, but ffmpeg still didn't see it for whatever reason.
Now I removed samba support from ffmpeg. Possibly a reboot would have worked, but since new samba was missing the smbclient, I just removed use flag and reinstated the new version of samba as well as samba.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Thu Sep 27, 2018 10:41 am    Post subject: Reply with quote

k9dog wrote:

Update had installed samba 4.9.1 which seemed to be missing the smbclient command (Thanks for spotting the error), even with client in the use flags.

I have smbclient executable for samba 4.9.1 with client flag.
Quote:

I downgraded to 4.9.0 which did seem to have the command, but ffmpeg still didn't see it for whatever reason.

The error message is misleading as it seems. The root of the failure is an incompatibility, that is falsly reported.
Quote:

Possibly a reboot would have worked,

That's not Windows(tm) ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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