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

Compile failure in remote.c when --disable-bind8-stats and --without-ssl are specified. #283

Closed
thesamesam opened this issue Jun 7, 2023 · 2 comments

Comments

@thesamesam
Copy link

Originally reported downstream in Gentoo at https://bugs.gentoo.org/907997.

remote.c: In function ‘do_stats’:
remote.c:1249:12: error: ‘RES’ {aka ‘struct remote_stream’} has no member named ‘ssl’
 1249 |         res.ssl = rs->ssl;
      |            ^
remote.c:1249:21: error: ‘struct rc_state’ has no member named ‘ssl’
 1249 |         res.ssl = rs->ssl;
      |                     ^~
make: *** [Makefile:94: remote.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-dns/nsd-4.7.0::gentoo failed (compile phase):
 *   emake failed

I can reproduce it with ./configure --disable-bind8-stats --disable-zone-stats --disable-checking --disable-dnstap --disable-minimal-responses --disable-mmap --enable-nsec3 --disable-ratelimit --disable-root-server --disable-systemd --without-libevent --without-ssl but I haven't narrowed it down to the minimal set of configure options required.

@wcawijngaards wcawijngaards changed the title remote.c:1249:12: error: ‘RES’ {aka ‘struct remote_stream’} has no member named ‘ssl’ Compile failure in remote.c when --disable-bind8-stats and --without-ssl are specified. Jun 7, 2023
@wcawijngaards
Copy link
Member

The issue is caused by the options --disable-bind8-stats and --without-ssl, the assignment should then not be there. The fix removes it and then it should compile.

Thanks for the report! The fix is in the code repository.

@thesamesam
Copy link
Author

Wow! Thank you again for the lightning-quick response. I'll backport that in Gentoo now.

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