Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927103 - media-video/mjpegtools-2.2.1-r1 fails to compile: quantize_x86.c:44:5: error: type of quant_weight_coeff_sum_mmx does not match original declaration [-Werror=lto-type-mismatch]
Summary: media-video/mjpegtools-2.2.1-r1 fails to compile: quantize_x86.c:44:5: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-16 07:58 UTC by Agostino Sarubbo
Modified: 2024-07-27 21:58 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,189.36 KB, text/plain)
2024-03-16 07:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-16 07:58:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-video/mjpegtools-2.2.1-r1 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-16 07:58:19 UTC
Created attachment 887731 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-07-27 21:58:56 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(+)