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

Bug 909190

Summary: media-video/motion-4.3.2-r3 - ffmpeg.c: error: assignment of member video_codec in read-only object
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Johannes Willem (Hans) Fernhout <hfern>
Status: CONFIRMED ---    
Severity: normal CC: media-video, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
media-video:motion-4.3.2-r3:20230626-013904.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-06-26 15:09:12 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\"  -D_THREAD_SAFE     -O2 -pipe -march=native -fno-diagnostics-color -c -o stream.o stream.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\"  -D_THREAD_SAFE     -O2 -pipe -march=native -fno-diagnostics-color -c -o ffmpeg.o ffmpeg.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\"  -D_THREAD_SAFE     -O2 -pipe -march=native -fno-diagnostics-color -c -o webu.o webu.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\"  -D_THREAD_SAFE     -O2 -pipe -march=native -fno-diagnostics-color -c -o webu_html.o webu_html.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\"  -D_THREAD_SAFE     -O2 -pipe -march=native -fno-diagnostics-color -c -o webu_stream.o webu_stream.c
ffmpeg.c: In function ffmpeg_get_oformat:
ffmpeg.c:343:67: error: assignment of member video_codec in read-only object
  343 |   if (ffmpeg->oc->oformat) ffmpeg->oc->oformat->video_codec = MY_CODEC_ID_MPEG2VIDEO;
      |                                                             ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20230623-230924

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.5
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit f6a5e073e391be6df0b279d0da5bdaac2daed26b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jun 26 00:31:58 2023 +0000

    2023-06-26 00:31:57 UTC

emerge -qpvO media-video/motion
[ebuild  N    ] media-video/motion-4.3.2-r3  USE="ffmpeg webp -mariadb (-mmal) -mysql -postgres -sqlite -v4l"
Comment 1 Toralf Förster gentoo-dev 2023-06-26 15:09:13 UTC
Created attachment 864645 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-26 15:09:14 UTC
Created attachment 864646 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-06-26 15:09:15 UTC
Created attachment 864647 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-26 15:09:16 UTC
Created attachment 864648 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-26 15:09:17 UTC
Created attachment 864649 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-26 15:09:18 UTC
Created attachment 864650 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-26 15:09:19 UTC
Created attachment 864651 [details]
media-video:motion-4.3.2-r3:20230626-013904.log
Comment 8 Toralf Förster gentoo-dev 2023-06-26 15:09:20 UTC
Created attachment 864652 [details]
temp.tar.xz