Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670868 - media-video/ffmpeg with USE=samba fails to build whem net-fs/samba compiled without USE=client
Summary: media-video/ffmpeg with USE=samba fails to build whem net-fs/samba compiled w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-11-10 22:26 UTC by Alexey Skobkin
Modified: 2018-11-26 14:16 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Skobkin 2018-11-10 22:26:20 UTC
media-video/ffmpeg with USE=samba fails to build whem net-fs/samba compiled without USE=client

build.log

 * Package:    media-video/ffmpeg-4.1
 * Repository: gentoo
 * Maintainer: media-video@gentoo.org
 * USE:        abi_x86_64 amd64 bzip2 cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 elibc_glibc encode gnutls gpl hardcoded-tables iconv kernel_linux libass libdrm lzma mp3 network opus postproc samba threads truetype userland_GNU v4l vorbis vpx x264 x265 zlib
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Applying chromium-r1.patch ...
 [ ok ]
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
/var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1/configure --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-4.1/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags=-O2 -pipe -march=native -fomit-frame-pointer --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-libcelt --enable-version3 --disable-indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa --disable-outdev=oss --disable-outdev=sdl --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-libtls --enable-lzma --enable-network --disable-opencl --disable-openssl --enable-postproc --enable-libsmbclient --disable-ffplay --disable-sdl2 --disable-vaapi --disable-vdpau --disable-xlib --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --disable-opengl --disable-libv4l2 --disable-libpulse --enable-libdrm --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libcodec2 --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --enable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex --disable-librsvg --disable-ffnvcodec --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --disable-chromaprint --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --enable-libass --disable-lv2 --enable-libfreetype --disable-librubberband --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-libaom --disable-libopenh264 --disable-libsnappy --disable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxvid --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-aesni --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-xop --cpu=host --disable-doc --disable-htmlpages --enable-manpages
ERROR: libsmbclient 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 "ffbuild/config.log" produced by configure as this will help
solve the problem.
 * ERROR: media-video/ffmpeg-4.1::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3169:  Called multilib-minimal_src_configure
 *   environment, line 2274:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2489:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2204:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2202:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  725:  Called multilib-minimal_abi_src_configure
 *   environment, line 2268:  Called multilib_src_configure
 *   environment, line 2794:  Called die
 * The specific snippet of code:
 *       "${@}" || die;
 *
 * If you need support, post the output of `emerge --info '=media-video/ffmpeg-4.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-4.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-4.1/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-4.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1'

emerge --info:

Portage 2.3.51 (python 3.5.5-final-0, default/linux/amd64/17.0/no-multilib, gcc-8.2.0, glibc-2.27-r6, 4.19.1-gentoo-skobkin x86_64)
=================================================================
System uname: Linux-4.19.1-gentoo-skobkin-x86_64-AMD_A10-6800K_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.6
KiB Mem:     7664736 total,    153832 free
KiB Swap:    8191996 total,   8045308 free
Timestamp of repository gentoo: Wed, 07 Nov 2018 19:04:37 +0000
Head commit of repository gentoo: 7e9660b600040ac5e02490df9d2cb64db7422b02

sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.5 [disabled]
app-shells/bash:          4.4_p23::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.5-r1::gentoo
dev-util/cmake:           3.12.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::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.31.1-r1::gentoo
sys-devel/gcc:            8.2.0-r4::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.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

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

megacoffee
    location: /var/lib/layman/megacoffee
    sync-type: laymansync
    sync-uri: https://rhodecode.megacoffee.net/gentoo-overlay/main
    masters: gentoo
    priority: 50

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
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 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news nodoc parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4"
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="aac acl acpi amd64 avx branding bzip2 cli cracklib crypt curl curlwrappers cxx dbus dga dri dv exif fbcon ffmpeg flac fortran gdbm gif git gnutls gzip hddtemp iconv idn imagemagick inotify ipv6 jit jpeg lame libass libnotify libtirpc lm_sensors lzma lzo mad matroska mhash mime mmap mmx mmxext mp3 mp4 mpeg ncurses nls nptl ogg openmp pam pch pcre png posix readline samba sasl seccomp session sharedmem smp sockets sse sse2 sse3 sse4_1 ssl ssse3 syslog systemd taglib tcmalloc tcpd threads truetype udev udisks unicode upnp upnp-av upower usb v4l vhosts videos vorbis x264 x265 xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" 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 libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access auth_basic autoindex browser cache_purge charset dav empty_gif fancyindex fastcgi gzip headers_more limit_conn limit_req map memcached proxy referer rewrite upload_progress" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 pypy3" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Craig Andrews gentoo-dev 2018-11-13 02:12:46 UTC
Are you sure this isn't a duplicate of bug 666548 ?
Comment 2 Craig Andrews gentoo-dev 2018-11-13 02:20:26 UTC
(In reply to Craig Andrews from comment #1)
> Are you sure this isn't a duplicate of bug 666548 ?

Actually, ffmpeg does require net-fs/samba[client], which is what this bug wants.

bug 666548 will still prevent ffmpeg from compiling against >=net-fs/samba-4.9.0 but that doesn't have anything to do with samba's client use flag.
Comment 3 Larry the Git Cow gentoo-dev 2018-11-26 14:16:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c48303e3a22d6feaa494ad9ab1a257f516855598

commit c48303e3a22d6feaa494ad9ab1a257f516855598
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-11-13 02:19:54 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-11-26 14:15:53 +0000

    media-video/ffmpeg: When using samba, require the client use flag
    
    Closes: https://bugs.gentoo.org/670868
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-video/ffmpeg/ffmpeg-3.2.6.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-3.2.7.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-3.3.4.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-3.3.6.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-3.3.8.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-3.4.5.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-4.0.2.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-4.0.3.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-4.1.ebuild   | 2 +-
 media-video/ffmpeg/ffmpeg-9999.ebuild  | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)