[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Quick fix to make ntpdate build, complete patch later.



Hello,

Svante Signell, le Mon 17 Dec 2012 19:06:09 +0100, a écrit :
> The attached enables a build of ntp (4.2.6.p5+dfsg-2), especially
> ntpdate.

This should be forwarded to the maintainer, but maybe after wheezy
release. In the meanwhile, I'll uploaded a package on debian-ports.

> The configure option ISC_PLATFORM_HAVEIPV6 is enabled by the
> configure script. That creates a problem to run ntpdate without the -4
> option: 
> .../ntpdate -q pool.ntp.org (or some other time server)
> 17 Dec 18:52:20 ntpdate_4.2.6.p5[10647]: setsockopt() IPV6_V6ONLY
> failed: Protocol not available
> To be fixed later :)

Yes. We have a recurring issue with IPv6 when it's not completely
enabled in /servers/socket/26

> +ifeq (hurd, $(DEB_HOST_ARCH_OS))
> +	for file in ntpdate ntp-wait ntpd ntp-keygen; do \
> +		mv debian/ntp/usr/bin/$$file debian/ntp/usr/sbin/$$file || exit; \
> +	done
> +else
>  	for file in ntpdate ntp-wait ntpd ntptime ntp-keygen; do \
>  		mv debian/ntp/usr/bin/$$file debian/ntp/usr/sbin/$$file || exit; \
>  	done
> +endif

That part needs to be discussed with the maintainer. He might not like
having to keep two lists up to date, including one he'll probably never
test himself.

Samuel


Reply to: