Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933169

Summary: sys-fs/reiser4progs-2.0.5: volume.c:174:24: error: incompatible function pointer types initializing 'int (*)(uint64_t *, uint64_t, uint32_t, int, int)'
Product: Gentoo Linux Reporter: Denis Pronin <dannftk>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dannftk
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36161
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: the patch that fixes the issue
build log revealing how compilation fails

Description Denis Pronin 2024-05-30 06:40:10 UTC
vol/volume.c fails to compile with clang due to the reason given in the summary

Reproducible: Always

Steps to Reproduce:
1. set clang as the system compiler before executing 'emerge'
2. emerge -1 reiser4progs
3. see how compilation will fail

Actual Results:  
compilation fails

Expected Results:  
compilation must succeed
Comment 1 Denis Pronin 2024-05-30 06:40:58 UTC
Created attachment 894634 [details, diff]
the patch that fixes the issue
Comment 2 Denis Pronin 2024-05-30 06:47:32 UTC
Created attachment 894635 [details]
build log revealing how compilation fails
Comment 3 Denis Pronin 2024-05-30 11:19:31 UTC
There is PR https://github.com/gentoo/gentoo/pull/36161
Comment 4 Mike Gilbert gentoo-dev 2024-06-01 17:06:04 UTC

*** This bug has been marked as a duplicate of bug 887119 ***