Package Details: ntpdate 4.2.8.p18-1

Git Clone URL: https://aur.archlinux.org/ntpdate.git (read-only, click to copy)
Package Base: ntpdate
Description: Client for the Network Time Protocol (NTP)
Upstream URL: http://www.ntp.org/
Licenses: LicenseRef-custom
Conflicts: ntp, ntpdate-dev
Submitter: None
Maintainer: Muflone
Last Packager: Muflone
Votes: 169
Popularity: 0.22
First Submitted: 2008-08-16 19:39 (UTC)
Last Updated: 2025-03-22 20:40 (UTC)

Latest Comments

1 2 Next › Last »

Muflone commented on 2025-03-29 20:13 (UTC)

Rebuild the package in a clean-chroot https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

The package was just rebuilt right now without any issues

dreieck commented on 2025-03-25 09:26 (UTC) (edited on 2025-03-25 09:26 (UTC) by dreieck)

Adding to

Need to add -Wno-incompatible-pointer-types to CFLAGS to avoid errors about incompatibility with libmd

The build error(s) I get are

ntp_control.c:3667:25: error: passing argument 2 of ‘MD5Update’ from incompatible pointer type [-Wincompatible-pointer-types]
 3667 |         MD5Update(&ctx, salt, sizeof(salt));
      |                         ^~~~
      |                         |
      |                         u_int32 * {aka unsigned int *}
[...]

and subsequent similar errors.

Regards and thanks for the package!

hmayer commented on 2025-03-23 23:04 (UTC)

Need to add -Wno-incompatible-pointer-types to CFLAGS to avoid errors about incompatibility with libmd as in https://gitlab.archlinux.org/archlinux/packaging/packages/ntp/-/issues/4

This patch works for me:


diff --git a/PKGBUILD b/PKGBUILD
index 03b9a5e..e4e95cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,2 +33,3 @@ prepare() {
 build() {
+  CFLAGS="${CFLAGS} -Wno-incompatible-pointer-types"
   cd "${srcdir}/${_pkgname}-${_pkgver}"

jonlubas commented on 2025-03-22 13:48 (UTC) (edited on 2025-03-22 13:50 (UTC) by jonlubas)

could not locate pthread_detach()

这包还有人维护吗?

Dominiquini commented on 2025-02-08 06:16 (UTC)

configure: error: could not locate pthread_detach()

kvic commented on 2023-01-07 13:50 (UTC)

Save and apply this patch (https://bugs.ntp.org/attachment.cgi?id=1814&action=diff&collapsed=&headers=1&format=raw) to ntp-4.2.8p15. Works for me.

cstorm commented on 2022-11-11 08:40 (UTC)

Upstream bug report and fix until ntp-4.2.8p16 is released: https://bugs.ntp.org/show_bug.cgi?id=3741

redfast00 commented on 2022-09-08 15:32 (UTC) (edited on 2022-09-08 15:32 (UTC) by redfast00)

  CC       file.o
In file included from /usr/include/pthread.h:33,
                 from work_thread.c:13:
work_thread.c:45:57: error: missing binary operator before token "("
   45 | #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN
      |                                                         ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:893: work_thread.o] Error 1
make[3]: *** Waiting for unfinished jobs....

<deleted-account> commented on 2020-07-13 12:38 (UTC)

Thank you!

Muflone commented on 2017-10-01 15:59 (UTC)

Package updated and fixed