Summary: | Пересобрать с --enable-ntp-signd | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Andrey Cherepanov <cas> |
Component: | ntpd | Assignee: | Sergey Y. Afonin <asy> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P3 | CC: | asy, mike, oleg_zolotov, sin |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
URL: | https://forum.altlinux.org/index.php?topic=306.msg291478#msg291478 |
Description
Andrey Cherepanov
2016-07-25 18:04:15 MSK
Не собирается с --enable-ntp-signd. Точнее собирается, но не проходит make check, надо в код вчитываться (написал сейчас на bugs@ntp, может сами поправят в p9): CCLD test-ntp_signd ntp_signd.o: In function `send_via_ntp_signd': /home/asy/RPM/BUILD/ntp-4.2.8/tests/ntpd/./../../ntpd/ntp_signd.c:130: multiple definition of `send_via_ntp_signd' t-ntp_signd.o:/home/asy/RPM/BUILD/ntp-4.2.8/tests/ntpd/../../ntpd/ntp_signd.c:130: first defined here collect2: error: ld returned 1 exit status Плюс надо понять, что делать с ntpsigndsocket: у нас ntpd в chroot. У Самбы путь к сокету где задаётся ? Я с Самбой дело не имею практически. Если секцию %check в спеке убрать, то всё собирается и, наверное, будет и работать. На всякий случай p9 - это имеется ввиду ntp 4.2.8p9, а не версия платформы ALT. :-) Описание ошибки у разработчика https://bugs.ntp.org/show_bug.cgi?id=2951 Я использовал такой ntp.conf: server 127.127.1.0 fudge 127.127.1.0 stratum 10 server 0.pool.ntp.org iburst prefer server 1.pool.ntp.org iburst prefer driftfile /var/lib/ntpd/ntp.drift logfile /var/log/ntp.log ntpsigndsocket /var/lib/samba/ntp_signd/ restrict default mssntp Соберите, пожалуйста, версию 4.2.8p9 - ошибку вроде исправили: * [Bug 2951] ntpd tests fail: multiple definition of `send_via_ntp_signd' - fixed Makefile.am <perlinger@ntp.org> |