Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920524 - dev-libs/libuninum-2.7-r2 fails to compile (GCC-14-SYSTEM): uninum.c:38:26: error: passing argument 1 of wcslen from incompatible pointer type [-Wincompatible-pointer-types]
Summary: dev-libs/libuninum-2.7-r2 fails to compile (GCC-14-SYSTEM): uninum.c:38:26: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-22 07:57 UTC by Agostino Sarubbo
Modified: 2024-01-05 21:07 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,107.80 KB, text/plain)
2023-12-22 07:57 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 2023-12-22 07:57:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/libuninum-2.7-r2 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-12-22 07:57:01 UTC
Created attachment 880206 [details]
build.log

build log and emerge --info
Comment 2 Conrad Kostecki gentoo-dev 2024-01-05 13:32:55 UTC
@sam: Do you have an idea how to fix this? Upstream is long dead, so I can't really fill there an issue.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-05 13:36:19 UTC
the 'long' games look wrong here

it needs to start using wchar_t
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-05 13:36:41 UTC
(In reply to Sam James from comment #3)
> the 'long' games look wrong here
> 
> it needs to start using wchar_t

fedora did https://src.fedoraproject.org/rpms/libuninum/blob/rawhide/f/libuninum-2.7-64bit-clean.patch which looks right, this was horribly broken before
Comment 5 Conrad Kostecki gentoo-dev 2024-01-05 20:39:29 UTC
Thanks!
Comment 6 Larry the Git Cow gentoo-dev 2024-01-05 21:07:54 UTC
The bug has been closed via the following commit(s):

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

commit ba98e2ac86e6d89a887e49539aa1ec2f0733b6e5
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-01-05 21:04:36 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-01-05 21:07:42 +0000

    dev-libs/libuninum: fix incompatible pointer type
    
    Closes: https://bugs.gentoo.org/920524
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-libs/libuninum/files/libuninum-2.7-64bit.patch | 37 ++++++++++++++++++++++
 dev-libs/libuninum/files/libuninum-2.7-c99.patch   | 30 ++++++++++++++++++
 ...ninum-2.7-r2.ebuild => libuninum-2.7-r3.ebuild} | 10 +++++-
 3 files changed, 76 insertions(+), 1 deletion(-)