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

-current build fails with scandir error #5

Open
sysfu opened this issue Jul 10, 2024 · 1 comment
Open

-current build fails with scandir error #5

sysfu opened this issue Jul 10, 2024 · 1 comment

Comments

@sysfu
Copy link

sysfu commented Jul 10, 2024

httpd-plus-install.log
Just tried building against latest cvs sync of current (7.5) source tree using the script as per the readme instructions

Craps out with this error:

/usr/src/usr.sbin/httpd/server_file.c:549:18: error: call to undeclared function 'scandirat'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
        if ((namesize = scandirat(fd, ".", &namelist, select_visible,
                        ^
/usr/src/usr.sbin/httpd/server_file.c:549:18: note: did you mean 'scandir'?
/usr/include/dirent.h:91:5: note: 'scandir' declared here
int scandir(const char *, struct dirent ***, int (*)(const struct dirent *),
    ^
1 error generated.
*** Error 1 in /usr/src/usr.sbin/httpd (<sys.mk>:87 'server_file.o')
Restoring original sources ... Done.

Installing httpd-plus failed (exitcode: 2).
@sysfu sysfu changed the title build fails with scandir error -current build fails with scandir error Jul 10, 2024
@sysfu
Copy link
Author

sysfu commented Jul 10, 2024

Edited this comment from original: I reproduced the error on another fresh 7.5 system. The original version of this comment had an error that was caused by inadvertently trying build current on a 7.4-stable system, so it can be disregarded.

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

1 participant