The port fails to build due to a configure error on checking sizeof long, see error report extract below. [...] =>> Building net/ntpsec build started at Sat Feb 15 12:55:50 UTC 2020 port directory: /usr/ports/net/ntpsec package name: ntpsec-1.1.8 building for: FreeBSD p.de 12.1-STABLE FreeBSD 12.1-STABLE 1201512 amd64 maintained by: yuri@FreeBSD.org Makefile ident: $FreeBSD: head/net/ntpsec/Makefile 522770 2020-01-12 09:07:24Z yuri $ Poudriere version: 3.3.3 Host OSVERSION: 1300077 Jail OSVERSION: 1201512 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1201512 UNAME_v=FreeBSD 12.1-STABLE 1201512 UNAME_r=12.1-STABLE BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.3 MAKEOBJDIRPREFIX=/pool/sources/12-STABLE/obj/ MASTERMNT=/pool/poudriere/data/.m/12-amd64-head-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen PWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=12-amd64-head-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- [...] Here the error dropped out by poudriere: [...] Checking for type struct timex : yes Checking for type struct ntptimeval : yes Checking for field time_tick in struct timex : no Checking for field modes in struct timex : yes Checking for field time.tv_nsec in struct ntptimeval : yes Checking for field tai in struct ntptimeval : yes Checking sizeof long : The configuration failed (complete log in /wrkdirs/usr/ports/net/ntpsec/work/ntpsec-NTPsec_1_1_8/build/config.log) ===> Script "configure" failed unexpectedly. Please report the problem to yuri@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/net/ntpsec/work/ntpsec-NTPsec_1_1_8/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/net/ntpsec =>> Cleaning up wrkdir ===> Cleaning for ntpsec-1.1.8 build of net/ntpsec | ntpsec-1.1.8 ended at Sat Feb 15 12:55:58 UTC 2020 build time: 00:00:08 !!! build failure encountered !!! [...]
The central build succeeds on 12: http://beefy6.nyi.freebsd.org/data/120amd64-default/524616/logs/ntpsec-1.1.8.log Do you have any special settings when you build?
@Repoerter, could you include: - The full output of config.log as an attachment please - pkg version -v output as an attachment - /etc/make.conf contents as an attachment
Closing because no additional details have been supplied by the submitter. Submitter, please reopen if this is still a problem.
Created attachment 212275 [details] config.log Having same problem after updating kernel/world 12.1-STABLE r358717 make.conf NO_GAMES= true # do not build games (games/ subdir) NO_I4B= true # do not build isdn4bsd package NO_LPR= true # do not build lpr and related programs NO_BLUETOOTH= true # do not build Bluetooth related stuff NO_BIND=true WITH_PKGNG= yes WITH_SSL_AND_PLAINTEXT=yes # imaps und cclient OPTIONS_UNSET=X11 ENABLE_SUIDPERL=yes #Also build set-user-id suidperl binary DISABLE_VULNERABILITIES=no DEFAULT_VERSIONS+=ssl=openssl WRKDIRPREFIX=/fastdisk/clang
Created attachment 212276 [details] make output
Reopening.
I think this is more than a build problem: The workaround with installing ntpsec from packages does not work too. pkg ntpsec is segfaulting
(In reply to Sigi from comment #7) > pkg ntpsec is segfaulting Please report this segfault here: https://github.com/freebsd/pkg/issues
clarification: pkg install ntpsec is working without problem. Starting ntpsec installed from package does segfaulting. Same with ntpmon [my@machine:/usr/ports/net/ntpsec] # python -V Python 3.7.6 [my@machine:/usr/ports/net/ntpsec] # which ntpmon | xargs ls -la -rwxr-xr-x 1 root wheel 20423 Mar 5 07:29 /usr/local/bin/ntpmon [my@machine:/usr/ports/net/ntpsec] # which ntpd | xargs ls -la -r-xr-xr-x 1 root wheel 865992 Mar 7 23:17 /usr/sbin/ntpd [my@machine:/usr/ports/net/ntpsec] # which ntpd | xargs file /usr/sbin/ntpd: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 12.1 (1201512), FreeBSD-style, stripp ed [my@machine:/usr/ports/net/ntpsec] # which ntpmon | xargs file /usr/local/bin/ntpmon: Python script, ASCII text executable [my@machine:/usr/ports/net/ntpsec] # ntpmon Abort trap (core dumped) [my@machine:/usr/ports/net/ntpsec] # service ntpd start Starting ntpd. Segmentation fault (core dumped) /etc/rc.d/ntpd: WARNING: failed to start ntpd
NTPsec maintainer checking in. We think we've fixed the configuration problem by upgrading waf. Is it still occurring on FreeBSD? The segfault is a different and nastier issue. Can we get a stack trace?
Sorry, i forgot about this ticket. Can confirm that port is building ok. At least since FreeBSD amd64 12.1-STABLE FreeBSD 12.1-STABLE r358717. There was some missing dependency for ntpviz, but cannot remember how i fixed...
A commit references this bug: Author: yuri Date: Wed Sep 2 16:24:06 UTC 2020 New revision: 547366 URL: https://svnweb.freebsd.org/changeset/ports/547366 Log: net/ntpsec: Update 1_1_9 -> 1_1_9-57-ge91d6e5c2 Hoping to resolve bug#244160 PR: 244160 Changes: head/net/ntpsec/Makefile head/net/ntpsec/distinfo
I've just committed the port update to the latest GH revision. Could you please retest? Based on fallout, it only ever failed on 11.3 and 13-CURRENT, and never on 12.