Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945292 - media-video/xvattr-1.3-r3 fails to compile: getopt.h:147:12: error: conflicting types for getopt; have int(void)
Summary: media-video/xvattr-1.3-r3 fails to compile: getopt.h:147:12: error: conflicti...
Status: RESOLVED FIXED
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: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-29 08:50 UTC by Agostino Sarubbo
Modified: 2025-02-19 11:16 UTC (History)
0 users

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


Attachments
build.log (build.log,48.59 KB, text/plain)
2024-11-29 08:50 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-11-29 08:50:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-video/xvattr-1.3-r3 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-29 08:50:58 UTC
Created attachment 912582 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-02-19 11:16:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f191a3a5093f118e0af971d716a389034de473d

commit 1f191a3a5093f118e0af971d716a389034de473d
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-18 17:56:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-19 11:15:17 +0000

    media-video/xvattr: Fix build
    
    Corrects incompatible pointer types by casting GTK-style.
    Also removes fallback definition of getopt, leaving only POSIX one,
    because it is present both on glibc and musl systems
    
    Closes: https://bugs.gentoo.org/945292
    Closes: https://bugs.gentoo.org/919367
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40639
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/xvattr-1.3-conflicting-types.patch       | 42 ++++++++++++++++++++++
 .../{xvattr-1.3-r3.ebuild => xvattr-1.3-r4.ebuild} |  3 +-
 2 files changed, 44 insertions(+), 1 deletion(-)