Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927410 - media-video/dvdauthor-0.7.2-r3 fails to compile: subgen-image.c:200:22: error: passing argument 1 of GetMagickVersion from incompatible pointer type [-Wincompatible-pointer-types]
Summary: media-video/dvdauthor-0.7.2-r3 fails to compile: subgen-image.c:200:22: error...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2024-03-21 15:59 UTC by Agostino Sarubbo
Modified: 2025-01-04 09:39 UTC (History)
0 users

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


Attachments
build.log (build.log,89.05 KB, text/plain)
2024-03-21 15:59 UTC, Agostino Sarubbo
Details
Fix incorrect integer type and patch several compiler warnings (dvdauthor-0.7.2-imagemagick7-type-and-warnings.patch,30.43 KB, patch)
2025-01-04 09:38 UTC, Anon Emuss
Details | Diff
Fix incorrect integer type (dvdauthor-0.7.2-imagemagick7-type.patch,539 bytes, patch)
2025-01-04 09:39 UTC, Anon Emuss
Details | Diff

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

Issue: media-video/dvdauthor-0.7.2-r3 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-21 15:59:28 UTC
Created attachment 888049 [details]
build.log

build log and emerge --info
Comment 2 Anon Emuss 2025-01-04 09:38:07 UTC
Created attachment 915819 [details, diff]
Fix incorrect integer type and patch several compiler warnings

The variable with the incorrect type appears to only be used for one thing, so just changing it to the correct type appears to fix the problem.  I am attaching a patch with that fix, plus cleans up several compiler warnings I was wading through to find the actual error.  I think they are all fairly safe changes, but there is a chance I messed up.  If that seems unsafe, or hard to check, I will also attach a minimal patch that should just fix the error.
Comment 3 Anon Emuss 2025-01-04 09:39:35 UTC
Created attachment 915820 [details, diff]
Fix incorrect integer type

This is a minimal version of the patch I just submitted.  I took out all the compiler warning fixes, and left just the fix for the compiler error.