Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935046 - media-video/ffmpeg-6.1.1-r5 - [perl-5.40] [icu-75.1] [gcc-15] src/.../error.h: error: returning int from a function with return type FFBigNum {aka struct gcry_mpi } makes pointer fro
Summary: media-video/ffmpeg-6.1.1-r5 - [perl-5.40] [icu-75.1] [gcc-15] src/.../error.h...
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: 935377
  Show dependency tree
 
Reported: 2024-06-27 20:51 UTC by Toralf Förster
Modified: 2024-07-03 00:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.40 KB, text/plain)
2024-06-27 20:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,149.73 KB, text/plain)
2024-06-27 20:51 UTC, Toralf Förster
Details
environment (environment,151.10 KB, text/plain)
2024-06-27 20:51 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.34 KB, application/x-xz)
2024-06-27 20:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.38 KB, application/x-xz)
2024-06-27 20:51 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,46.00 KB, application/x-xz)
2024-06-27 20:51 UTC, Toralf Förster
Details
media-video:ffmpeg-6.1.1-r5:20240627-204320.log.xz (media-video:ffmpeg-6.1.1-r5:20240627-204320.log.xz,16.46 KB, application/x-xz)
2024-06-27 20:51 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,39.72 KB, application/x-xz)
2024-06-27 20:51 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,43.20 KB, application/x-xz)
2024-06-27 20:51 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 2024-06-27 20:51:49 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avformat -O2 -pipe -march=native -fno-diagnostics-color   -march=znver3 -std=c11 -fPIC -pthread     -I/usr/incl
x86_64-pc-linux-gnu-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avformat -O2 -pipe -march=native -fno-diagnostics-color   -march=znver3 -std=c11 -fPIC -pthread     -I/usr/incl
x86_64-pc-linux-gnu-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avformat -O2 -pipe -march=native -fno-diagnostics-color   -march=znver3 -std=c11 -fPIC -pthread     -I/usr/incl
x86_64-pc-linux-gnu-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avformat -O2 -pipe -march=native -fno-diagnostics-color   -march=znver3 -std=c11 -fPIC -pthread     -I/usr/incl
In file included from src/libavformat/rtmpdh.c:35:
src/libavformat/rtmpdh.c: In function dh_generate_key:
src/libavutil/error.h:41:20: error: returning int from a function with return type FFBigNum {aka struct gcry_mpi *} makes pointer from integer without a cast [-Wint-conversion]
   41 | #define AVERROR(e) (-(e))   ///< Returns a negative error code from a POSIX error code, to return from library functions.
      |                    ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240625-075412

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0
    Requested by dilfridge and sam

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.4 linux/amd64

  HEAD of ::gentoo
commit 824626fab16a70194ae724874bdd9aa61eb5cffb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 27 19:49:06 2024 +0000

    2024-06-27 19:49:05 UTC

emerge -qpvO media-video/ffmpeg
[ebuild  N    ] media-video/ffmpeg-6.1.1-r5  USE="bzip2 dav1d encode fontconfig gcrypt gnutls gpl iconv ieee1394 jpegxl network pic postproc rav1e threads verify-sig webp zlib -X -alsa -amf -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -fdk -flite -frei0r -fribidi -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -jack -jpeg2k -kvazaar -ladspa -lcms -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -mp3 -nvenc -openal -opencl -opengl -openh264 -openssl -opus -oss -pulseaudio -qsv -rubberband -samba -sdl -shaderc -snappy -sndio -soc -speex -srt -ssh -static-libs -svg -svt-av1 -test -theora -truetype -twolame -v4l -vaapi -vdpau -vidstab -vmaf -vorbis -vpx -vulkan -x264 -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"
Comment 1 Toralf Förster gentoo-dev 2024-06-27 20:51:50 UTC
Created attachment 896546 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-27 20:51:51 UTC
Created attachment 896547 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-27 20:51:53 UTC
Created attachment 896548 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-27 20:51:54 UTC
Created attachment 896549 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-27 20:51:55 UTC
Created attachment 896550 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-27 20:51:56 UTC
Created attachment 896551 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-27 20:51:57 UTC
Created attachment 896552 [details]
media-video:ffmpeg-6.1.1-r5:20240627-204320.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-27 20:51:58 UTC
Created attachment 896553 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-06-27 20:51:59 UTC
Created attachment 896554 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-28 10:03:42 UTC
new libgcrypt?
Comment 11 Larry the Git Cow gentoo-dev 2024-07-03 00:37:17 UTC
The bug has been closed via the following commit(s):

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

commit 30a975a77cc37ac5678880eb8d1b6255fe270a88
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-03 00:35:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-03 00:35:44 +0000

    media-video/ffmpeg: fix another modern C issue
    
    Closes: https://bugs.gentoo.org/935377
    Closes: https://bugs.gentoo.org/935046
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffmpeg/ffmpeg-6.1.1-r7.ebuild          | 622 +++++++++++++++++++++
 .../ffmpeg-6.1.1-wint-inconversion-libgcrypt.patch |  68 +++
 2 files changed, 690 insertions(+)