Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834960 - media-video/ffmpeg-4.4.1-r2 - ERROR: libssh not found using pkg-config
Summary: media-video/ffmpeg-4.4.1-r2 - ERROR: libssh not found using pkg-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-11 14:28 UTC by Toralf Förster
Modified: 2022-04-05 06:57 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.73 KB, text/plain)
2022-03-11 14:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,32.45 KB, text/plain)
2022-03-11 14:28 UTC, Toralf Förster
Details
environment (environment,131.10 KB, text/plain)
2022-03-11 14:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.49 KB, application/x-bzip)
2022-03-11 14:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,47.23 KB, application/x-bzip)
2022-03-11 14:28 UTC, Toralf Förster
Details
media-video:ffmpeg-4.4.1-r2:20220310-230145.log (media-video:ffmpeg-4.4.1-r2:20220310-230145.log,6.04 KB, text/plain)
2022-03-11 14:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.96 KB, application/x-bzip)
2022-03-11 14:28 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-03-11 14:28:42 UTC
too long lines were shrinked:

>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/ffmpeg-4.4.1-r2/work/ffmpeg-4.4.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
/var/tmp/portage/media-video/ffmpeg-4.4.1-r2/work/ffmpeg-4.4.1/configure --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-4.4.1-r2/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
ERROR: libssh not found using pkg-config

If you think configure made a mistake, make sure you are using the latest

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20220310-182958

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 87a996cd15a7abcdfd874eded3228966392d8faa
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 10 21:36:49 2022 +0000

    2022-03-10 21:36:44 UTC

emerge -qpvO media-video/ffmpeg
[ebuild  N    ] media-video/ffmpeg-4.4.1-r2  USE="bzip2 dav1d encode gme gnutls gpl iconv libdrm libxml2 network ssh threads x264 zlib -X -alsa -amf -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libilbc -librtmp -libsoxr -libtesseract -libv4l -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -mp3 -openal -opencl -opengl -openh264 -openssl -opus -oss -pic -postproc -pulseaudio -rav1e -rubberband -samba -sdl -snappy -sndio -speex -srt -static-libs -svg -svt-av1 -test -theora -truetype -twolame -v4l -vaapi -vdpau -vidstab -vorbis -vpx -vulkan -webp -x265 -xvid -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2022-03-11 14:28:43 UTC
Created attachment 766767 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-11 14:28:44 UTC
Created attachment 766768 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-03-11 14:28:46 UTC
Created attachment 766769 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-11 14:28:47 UTC
Created attachment 766770 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-11 14:28:48 UTC
Created attachment 766771 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-11 14:28:49 UTC
Created attachment 766772 [details]
media-video:ffmpeg-4.4.1-r2:20220310-230145.log
Comment 7 Toralf Förster gentoo-dev 2022-03-11 14:28:50 UTC
Created attachment 766773 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-11 14:36:54 UTC
require_pkg_config libssh libssh libssh/sftp.h sftp_init
check_pkg_config libssh libssh libssh/sftp.h sftp_init
test_pkg_config libssh libssh libssh/sftp.h sftp_init
x86_64-pc-linux-gnu-pkg-config --exists --print-errors libssh
check_func_headers libssh/sftp.h sftp_init -lssh
test_ld cc -lssh
test_cc
BEGIN /var/tmp/portage/media-video/ffmpeg-4.4.1-r2/temp/ffconf.trrf0n4h/test.c
    1	#include <libssh/sftp.h>
    2	#include <stdint.h>
    3	long check_sftp_init(void) { return (long) sftp_init; }
    4	int main(void) { int ret = 0;
    5	 ret |= ((intptr_t)check_sftp_init) & 0xFFFF;
    6	return ret; }
END /var/tmp/portage/media-video/ffmpeg-4.4.1-r2/temp/ffconf.trrf0n4h/test.c
x86_64-pc-linux-gnu-gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -pipe -march=native -fno-diagnostics-color -O2 -march=znver3 -std=c11 -fPIC -pthread -I/usr/include/p11-kit-1 -I/usr/include/libdrm -c -o /var/tmp/portage/media-video/ffmpeg-4.4.1-r2/temp/ffconf.trrf0n4h/test.o /var/tmp/portage/media-video/ffmpeg-4.4.1-r2/temp/ffconf.trrf0n4h/test.c
/var/tmp/portage/media-video/ffmpeg-4.4.1-r2/temp/ffconf.trrf0n4h/test.c:1:10: fatal error: libssh/sftp.h: No such file or directory
    1 | #include <libssh/sftp.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
ERROR: libssh not found using pkg-config
Comment 9 Larry the Git Cow gentoo-dev 2022-04-05 06:57:33 UTC
The bug has been closed via the following commit(s):

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

commit f90006777ea8b859af15272cb6637f552e1d014a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-05 06:55:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-05 06:56:51 +0000

    media-video/ffmpeg: fix libssh dependency
    
    Closes: https://bugs.gentoo.org/834960
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffmpeg/{ffmpeg-4.4.1-r4.ebuild => ffmpeg-4.4.1-r5.ebuild} | 2 +-
 media-video/ffmpeg/{ffmpeg-5.0-r2.ebuild => ffmpeg-5.0-r3.ebuild}     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)