Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pvpgn-1.8.5-1005: implicitly declaring library function 'calloc' #1101

Closed
cooljeanius opened this issue Nov 6, 2023 · 3 comments
Closed

Comments

@cooljeanius
Copy link

There are a number of these; I'm just doing the last few to appear:

Dependency check: zlib
zlib/pvpgn_zutil.c:213:20: error: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Werror,-Wimplicit-function-declaration]
    return (voidpf)calloc(items, size);
                   ^
zlib/pvpgn_zutil.c:213:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
zlib/pvpgn_zutil.c:220:5: error: implicitly declaring library function 'free' with type 'void (void *)' [-Werror,-Wimplicit-function-declaration]
    free(ptr);
    ^
zlib/pvpgn_zutil.c:220:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
2 errors generated.
Dependency check: win32
### execution of /tmp/fink.8vJHq failed, exit code 2
### execution of /tmp/fink.YHF4d failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-pvpgn-1.8.5-1005
(Reading database ... 
dpkg: serious warning: files list file for package `fink-buildlock-ccp4-6.5-1' missing, assuming package has no files currently installed.
1037403 files and directories currently installed.)
Removing fink-buildlock-pvpgn-1.8.5-1005 ...

(I'm on x86_64 Big Sur with Xcode 13)
cc @U-238

@dmacks
Copy link
Member

dmacks commented Nov 6, 2023

Not surprising to find these sorts of things in a 9-year-old release. I think https://github.com/pvpgn/pvpgn-server is the current master repo.

@cooljeanius
Copy link
Author

ah ok, I just opened d1zzy/pvpgn#11 because that was the one that maintainer @U-238 had opened a pull request against...

@dmacks
Copy link
Member

dmacks commented Nov 6, 2023

This is not just a missing #include or two in a .c, but even down at autoconf's own tests (lots of incorrect ./configure results, with similar -Werror in the config.log). On it...

@dmacks dmacks closed this as completed in e254e2b Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants