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

Added missing deps #2

Closed
wants to merge 6 commits into from
Closed

Added missing deps #2

wants to merge 6 commits into from

Conversation

rouing
Copy link
Contributor

@rouing rouing commented Jul 9, 2020

probably needs more, but this builds

can't find timepps.h: gpsd and chrony have their own ??

yes, you are correct. gpsd-dev has the file: https://git.alpinelinux.org/aports/tree/main/gpsd/APKBUILD?h=3.12-stable (Line 20)

python should be python3
py3-gpsd is also needed.
And a few other things....

# probably needs more, but this builds
# can't find timepps.h: gpsd and chrony have their own ??

yes, you are correct. gpsd-dev has the file: https://git.alpinelinux.org/aports/tree/main/gpsd/APKBUILD?h=3.12-stable (Line 20)

python should be python3
py3-gpsd is also needed.
And a few other things....
added avahi-dev for mDNS optional build
added gps-dev that was missing in previous commits

With just python3 installed, there is no "python".
It acts up when symlinked, so change all #!'s to python3
All #!'s are changed with a find/sed combo to python3 pretty easily.
Noticed I forgot avahi-compat-libdns_sd which provides libdns_sd.so.1 for mDNS. Whoops. Compiles fine now.
More missing deps:

libbsd-dev, libexec-dev...
I got pretty much all but 1 at this point.
Ill prob move that to a diff PR however. This is pretty covered.
@rouing
Copy link
Contributor Author

rouing commented Jul 9, 2020

Closing this and moving it to GitLab

@rouing rouing closed this Jul 9, 2020
ntpsec-bot pushed a commit that referenced this pull request Jun 12, 2022
Otherwise, ntpd crashes from time to time with the following stack trace:
#0  0x00007f5763bfac4d in readv () from /lib64/libc.so.6
#1  0x00007f5763c48b4c in __readvall () from /lib64/libc.so.6
#2  0x00007f5763c467ed in nscd_gethst_r () from /lib64/libc.so.6
#3  0x00007f5763c46c0d in __nscd_gethostbyname2_r () from /lib64/libc.so.6
#4  0x00007f5763c15a2a in gethostbyname2_r () from /lib64/libc.so.6
#5  0x00007f5763bed3ca in gaih_inet.constprop () from /lib64/libc.so.6
#6  0x00007f5763bee225 in getaddrinfo () from /lib64/libc.so.6
#7  0x000055fcf0ad6544 in open_TCP_socket ()
#8  0x000055fcf0ad79b4 in nts_probe ()
#9  0x000055fcf0ac37c4 in dns_lookup ()
#10 0x00007f5763b8205a in start_thread () from /lib64/libc.so.6
#11 0x00007f5763c05d1c in clone3 () from /lib64/libc.so.6

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant