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

Bug 923762

Summary: dev-db/mydumper-0.14.5.2 fails to compile: myloader_stream.c:26:7: error: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Werror
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: CONFIRMED ---    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-02-04 09:14:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/mydumper-0.14.5.2 fails to compile.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-04 09:14:48 UTC
Created attachment 884185 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-04 09:14:50 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/dev-db/mydumper-0.14.5.2/work/mydumper-0.14.5-2/src/mydumper_jobs.c:1163:22: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
/var/tmp/portage/dev-db/mydumper-0.14.5.2/work/mydumper-0.14.5-2/src/mydumper_jobs.c:1240:4: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
/var/tmp/portage/dev-db/mydumper-0.14.5.2/work/mydumper-0.14.5-2/src/mydumper_jobs.c:1247:4: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
/var/tmp/portage/dev-db/mydumper-0.14.5.2/work/mydumper-0.14.5-2/src/mydumper_jobs.c:92:22: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
/var/tmp/portage/dev-db/mydumper-0.14.5.2/work/mydumper-0.14.5-2/src/mydumper_working_thread.c:837:11: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
/var/tmp/portage/dev-db/mydumper-0.14.5.2/work/mydumper-0.14.5-2/src/myloader.c:283:17: error: passing arguments to 'initialize_job' without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
FAILED: CMakeFiles/mydumper.dir/src/mydumper_jobs.c.o 
FAILED: CMakeFiles/mydumper.dir/src/mydumper_working_thread.c.o 
FAILED: CMakeFiles/myloader.dir/src/myloader.c.o 
FAILED: CMakeFiles/myloader.dir/src/myloader_stream.c.o 
/var/tmp/portage/dev-db/mydumper-0.14.5.2/work/mydumper-0.14.5-2/src/myloader_stream.c:26:7: error: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Werror,-Wdeprecated-non-prototype]