Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887249 - net-misc/vmpsd-1.4: many warnings due to missing headers inclusions
Summary: net-misc/vmpsd-1.4: many warnings due to missing headers inclusions
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
Reported: 2022-12-19 18:28 UTC by Jocelyn Mayer
Modified: 2022-12-21 19:24 UTC (History)
1 user (show)

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

Output from emerge --info =net-misc/vmpsd-1.4 (emerge-infos-vmpsd-1.4,24.16 KB, text/plain)
2022-12-19 18:30 UTC, Jocelyn Mayer
Patch proposal to silent 'implicit declaration of functions' warnings (vmpsd-1.4-includes.patch,1.69 KB, patch)
2022-12-19 18:31 UTC, Jocelyn Mayer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.