ncrack fails to build in Debian unstable due to -Werror=implicit-function-declaration
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c, debian, linux
- Domain
- build-system
Research direction
Start by reading xmalloc.c around xasprintf and compare the build failure with related issue #134 to find the relevant build configuration or declaration. Reproduce the Debian unstable build if the environment is available, then confirm it completes without the implicit-function-declaration error.
Written by the indexing model from the issue text.
Description
Related to https://github.com/nmap/ncrack/issues/134
xmalloc.c: In function ‘xasprintf’:
xmalloc.c:114:13: error: implicit declaration of function ‘vasprintf’; did you mean ‘xasprintf’? [-Werror=implicit-function-declaration]
114 | i = vasprintf(ret, fmt, ap);
| ^~~~~~~~~
| xasprintf
make[2]: Leaving directory '/<<PKGBUILDDIR>>/nbase'
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nmap/ncrack
-
13/03/2006Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
Build failure with OpenSSL 4.0Possibly taken @vmpyr claimed this 121 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
' Hydra brute force a Wordpress admin login hydra -L usernames.txt -P passwords.txt $ip smb -V -fOpen
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
error C3861Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Similar issues
-
severity: low
Difficulty 1/5 Under an hour Newbie friendliness 72/100
luainkernel/lunatik#2727 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 6 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pytorch/pytorch#206707 · 1 comment ·
Maintainers usually reply within 1 day
-
area/build-framework kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
yugabyte/yugabyte-db#39342 ·
Maintainers usually reply within 1 day