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

conf2struct possibly still broken with libconfig 1.7.3 #13

Closed
wak-google opened this issue Jul 26, 2021 · 3 comments
Closed

conf2struct possibly still broken with libconfig 1.7.3 #13

wak-google opened this issue Jul 26, 2021 · 3 comments

Comments

@wak-google
Copy link

| NOTE: make -j 72 DESTDIR=/build PREFIX=/usr USELIBCAP=1 USELIBBSD=1 USESYSTEMD=1 sslh-conf.h
| Makefile:74: warning: ignoring prerequisites on suffix rule definition
| conf2struct sslhconf.cfg
| [WARN] Settings is null in get_hashvalue at /build/usr/bin/conf2struct line 52.
| Use of uninitialized value $header in concatenation (.) or string at /build/usr/bin/conf2struct line 1780.
| Use of uninitialized value $header in concatenation (.) or string at /build/usr/bin/conf2struct line 1780.
| : No such file or directory
| make: *** [Makefile:84: sslh-conf.h] Error 2

I don't run into these errors if I revert the libconfig change. This is using conf2struct at 06ddd92

@yrutschle
Copy link
Owner

How about with -j 1 ?

@wak-google
Copy link
Author

It's the same even if I just execute conf2struct sslhconf.cfg directly.

@yrutschle
Copy link
Owner

ok, the call to fetch_hashref("/") translates, through the Perl API, to the same issue as I had here with libconfig 1.7.3.
The Perl API is lacking a way to retrieve the root element, so I worked around that.

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