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

Bug 887249

Summary: net-misc/vmpsd-1.4: many warnings due to missing headers inclusions
Product: Gentoo Linux Reporter: Jocelyn Mayer <l_indien>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: UNCONFIRMED ---    
Severity: normal CC: l_indien
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: Output from emerge --info =net-misc/vmpsd-1.4
Patch proposal to silent 'implicit declaration of functions' warnings

Description Jocelyn Mayer 2022-12-19 18:28:47 UTC
When merging vmpsd, one will get many warnings:
implicit declaration of function 'xxx'
incompatible implicit declaration of built-in function 'xxx'
This could potentially lead to bugs if the listed functions would be called with wrong types parameters, as the compiler cannot check them without a valid prototype and can be easily fixed by adding a few headers inclusions.
As upstream seems dead (CVS repository, last release in 2014), I'm not to post a request on sourceforge, at least for now.

Reproducible: Always

Steps to Reproduce:
1. Emerge vmpsd
2. Admire the build log

Actual Results:  
Many warnings for implicit declarations of functions.

Expected Results:  
No such warning
Comment 1 Jocelyn Mayer 2022-12-19 18:30:43 UTC
Created attachment 843871 [details]
Output from emerge --info =net-misc/vmpsd-1.4
Comment 2 Jocelyn Mayer 2022-12-19 18:31:26 UTC
Created attachment 843873 [details, diff]
Patch proposal to silent 'implicit declaration of functions' warnings
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-21 19:16:03 UTC
I think this is pretty much a duplicate of bug 883125 which contains the same errors, but given this has a patch, I'll See Also it.
Comment 4 Jocelyn Mayer 2022-12-21 19:24:22 UTC
Ooops... Sorry...
I did not see the other submission with a search, I would have post the patch there...
I notice the "metabug" #870412 for further patches of the same kind.