Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928566 - x11-plugins/wmrecord-1.0.5.3-r2 fails to compile: wmrecord.c:383:17: error: passing argument 2 of snprintf makes integer from pointer without a cast [-Wint-conversion]
Summary: x11-plugins/wmrecord-1.0.5.3-r2 fails to compile: wmrecord.c:383:17: error: p...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-04 06:48 UTC by Agostino Sarubbo
Modified: 2024-05-12 22:19 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,44.50 KB, text/plain)
2024-04-04 06:48 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-04-04 06:48:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-plugins/wmrecord-1.0.5.3-r2 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#CF0004
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-04 06:48:54 UTC
Created attachment 889389 [details]
build.log

build log and emerge --info
Comment 2 NHO 2024-05-11 11:14:18 UTC
I dunno what's this program tries to do, my minimal test program segfaults. As it ought to, trying to take a pointer to address "3" as a format string and using string "000" as a size. Someone may be swapped order of operations?
But it's also wrong because string "000" is length 4, due to null terminator.

It's also for WindowMaker/AfterStep WMs and unlikely to work anywhere else, was written 20 years ago and is untouched since, with any upstream dead, and there's better audio recording software out there.
Let's just drop this.
Comment 3 Bernard Cafarelli gentoo-dev 2024-05-12 22:19:45 UTC
Thanks for the analysis! I agree with the conclusion, let's last rite this one