Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936562 - media-video/mjpegtools-2.2.1-r1 - [perl-5.40] [icu-75.1] [gcc-15] /.../Region2D.hh: error: class Region2D<INDEX, SIZE> has no member named DoesContainPoint
Summary: media-video/mjpegtools-2.2.1-r1 - [perl-5.40] [icu-75.1] [gcc-15] /.../Region...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-07-23 17:38 UTC by Toralf Förster
Modified: 2024-07-27 21:58 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.87 KB, text/plain)
2024-07-23 17:38 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,61.45 KB, application/x-xz)
2024-07-23 17:38 UTC, Toralf Förster
Details
environment (environment,94.89 KB, text/plain)
2024-07-23 17:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-07-23 17:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,56.23 KB, application/x-xz)
2024-07-23 17:38 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.92 KB, application/x-xz)
2024-07-23 17:38 UTC, Toralf Förster
Details
media-video:mjpegtools-2.2.1-r1:20240723-044747.log.xz (media-video:mjpegtools-2.2.1-r1:20240723-044747.log.xz,27.37 KB, application/x-xz)
2024-07-23 17:38 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,66.88 KB, application/x-xz)
2024-07-23 17:38 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,50.29 KB, application/x-xz)
2024-07-23 17:38 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-07-23 17:38:37 UTC
  167 |         errno = newdenoise_init (denoiser.frames, denoiser.frame.w,
      |         ^~~~~
In file included from /var/tmp/portage/media-video/mjpegtools-2.2.1-r1/work/mjpegtools-2.2.1/y4mdenoise/SetRegion2D.hh:12,
                 from /var/tmp/portage/media-video/mjpegtools-2.2.1-r1/work/mjpegtools-2.2.1/y4mdenoise/MotionSearcher.hh:15,
                 from /var/tmp/portage/media-video/mjpegtools-2.2.1-r1/work/mjpegtools-2.2.1/y4mdenoise/newdenoise.cc:19:
/var/tmp/portage/media-video/mjpegtools-2.2.1-r1/work/mjpegtools-2.2.1/y4mdenoise/Region2D.hh: In member function void Region2D<INDEX, SIZE>::UnionDebug(Status_t&, INDEX, INDEX, INDEX, REGION_TEMP&):
/var/tmp/portage/media-video/mjpegtools-2.2.1-r1/work/mjpegtools-2.2.1/y4mdenoise/Region2D.hh:439:34: error: class Region2D<INDEX, SIZE> has no member named DoesContainPoint
  439 |                         || this->DoesContainPoint (rHere.m_tnY, tnX)))
      |                                  ^~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened-20240719-044003

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
  ~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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
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 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
  [1]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 461cafaca4f72cb1f38c0ee38e34b7ead4c5b68e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jul 23 04:04:12 2024 +0000

    2024-07-23 04:04:11 UTC

emerge -qpvO media-video/mjpegtools
[ebuild  N    ] media-video/mjpegtools-2.2.1-r1  USE="-dv -gtk -png -quicktime -sdl -sdlgfx -static-libs" CPU_FLAGS_X86="mmx"
Comment 1 Toralf Förster gentoo-dev 2024-07-23 17:38:38 UTC
Created attachment 898207 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-07-23 17:38:39 UTC
Created attachment 898208 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-07-23 17:38:40 UTC
Created attachment 898209 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-07-23 17:38:41 UTC
Created attachment 898210 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-07-23 17:38:42 UTC
Created attachment 898211 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-07-23 17:38:43 UTC
Created attachment 898212 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-07-23 17:38:45 UTC
Created attachment 898213 [details]
media-video:mjpegtools-2.2.1-r1:20240723-044747.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-07-23 17:38:46 UTC
Created attachment 898214 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-07-23 17:38:47 UTC
Created attachment 898215 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-07-27 21:58:57 UTC
The bug has been closed via the following commit(s):

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

commit 3f8de491a11fd52f6350c604247ebc0f630cab98
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-27 21:57:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-27 21:57:44 +0000

    media-video/mjpegtools: various correctness fixes
    
    * Fix build with GCC 15
    * Fix LTO safety
    * Fix C99 issue in configure
    
    Closes: https://bugs.gentoo.org/899868
    Closes: https://bugs.gentoo.org/927103
    Closes: https://bugs.gentoo.org/936562
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/mjpegtools-2.2.1-gcc15-template.patch    | 349 +++++++++++++++++++++
 .../mjpegtools/files/mjpegtools-2.2.1-lto.patch    |  24 ++
 .../mjpegtools-2.2.1-puts-c99-configure.patch      |  13 +
 ...-2.2.1-r1.ebuild => mjpegtools-2.2.1-r2.ebuild} |   3 +
 4 files changed, 389 insertions(+)