Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685930

Summary: media-libs/avidemux-core-2.7.0 : /.../mem.h:341:79: error: alloc_size attribute ignored on a function returning int [-Werror=attributes]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-libs:avidemux-core-2.7.0:20190514-073436.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-14 07:54:19 UTC
In file included from /var/tmp/portage/media-libs/avidemux-core-2.7.0/work/avidemux-core-2.7.0_build/ffmpeg/source/libavutil/common.h:464,
                 from /var/tmp/portage/media-libs/avidemux-core-2.7.0/work/avidemux_2.7.0/avidemux_core/ADM_coreUtils/src/ADM_infoExtractor.cpp:25:
/var/tmp/portage/media-libs/avidemux-core-2.7.0/work/avidemux-core-2.7.0_build/ffmpeg/source/libavutil/mem.h:341:79: error: ‘alloc_size’ attribute ignored on a function returning ‘int’ [-Werror=attributes]
  341 | 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      |                                                              ^


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_20190510-222116

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1
  [2]   rust-1.34.1 *



emerge -qpvO media-libs/avidemux-core
[ebuild  N    ] media-libs/avidemux-core-2.7.0  USE="nls -debug -nvenc -sdl (-system-ffmpeg) -vaapi -vdpau -xv"
Comment 1 Toralf Förster gentoo-dev 2019-05-14 07:54:21 UTC
Created attachment 576588 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-14 07:54:24 UTC
Created attachment 576590 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-14 07:54:27 UTC
Created attachment 576592 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-14 07:54:30 UTC
Created attachment 576594 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-14 07:54:33 UTC
Created attachment 576596 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-14 07:54:35 UTC
Created attachment 576598 [details]
media-libs:avidemux-core-2.7.0:20190514-073436.log
Comment 7 Toralf Förster gentoo-dev 2019-05-14 07:54:38 UTC
Created attachment 576600 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2019-05-14 09:04:44 UTC

*** This bug has been marked as a duplicate of bug 685142 ***