[Bug 228195] rdate port fails to build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 12 12:22:52 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228195
Bug ID: 228195
Summary: rdate port fails to build
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: johans at FreeBSD.org
Reporter: kpect at protonmail.com
Assignee: johans at FreeBSD.org
Flags: maintainer-feedback?(johans at FreeBSD.org)
rdate port fails to build, PSB:
$ uname -aK
FreeBSD KPECT 11.1-STABLE FreeBSD 11.1-STABLE #0: Sat Apr 21 18:26:49 MSK 2018
root at KPECT amd64 1101515
$ cd /usr/ports/sysutils/rdate/
total 14
-rw-r--r-- 1 root wheel 134 4 мая 2015 distinfo
drwxr-xr-x 2 root wheel 3 27 янв. 00:53 files
-rw-r--r-- 1 root wheel 1024 27 янв. 00:53 Makefile
-rw-r--r-- 1 root wheel 295 1 июня 2014 pkg-descr
$ doas make
===> rdate-20150501 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rdate-20150501 for building
===> Extracting for rdate-20150501
=> SHA256 Checksum OK for rdate-20150501.tar.gz.
===> Patching for rdate-20150501
/usr/bin/sed -i.bak -e 's,/right,,'
/usr/obj/usr/ports/sysutils/rdate/work/rdate/rdate.8
===> Configuring for rdate-20150501
===> Building for rdate-20150501
--- objwarn ---
--- .depend ---
echo rdate: /usr/lib/libc.a /usr/lib/libutil.a >> .depend
--- objwarn ---
Warning: Object directory not changed from original
/usr/obj/usr/ports/sysutils/rdate/work/rdate
--- rdate.o ---
--- rfc868time.o ---
--- ntp.o ---
--- ntpleaps.o ---
--- rdate.o ---
cc -Os -pipe -fno-strict-aliasing -fomit-frame-pointer -funroll-loops
-ffast-math -Wall -march=ivybridge -MD -MF.depend.rdate.o -MTrdate.o
-std=gnu99 -fstack-protector-strong -Qunused-arguments -c rdate.c -o
rdate.o
--- rfc868time.o ---
cc -Os -pipe -fno-strict-aliasing -fomit-frame-pointer -funroll-loops
-ffast-math -Wall -march=ivybridge -MD -MF.depend.rfc868time.o
-MTrfc868time.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c
rfc868time.c -o rfc868time.o
--- ntp.o ---
cc -Os -pipe -fno-strict-aliasing -fomit-frame-pointer -funroll-loops
-ffast-math -Wall -march=ivybridge -MD -MF.depend.ntp.o -MTntp.o -std=gnu99
-fstack-protector-strong -Qunused-arguments -c ntp.c -o ntp.o
--- ntpleaps.o ---
cc -Os -pipe -fno-strict-aliasing -fomit-frame-pointer -funroll-loops
-ffast-math -Wall -march=ivybridge -MD -MF.depend.ntpleaps.o -MTntpleaps.o
-std=gnu99 -fstack-protector-strong -Qunused-arguments -c ntpleaps.c -o
ntpleaps.o
--- rdate.o ---
rdate.c:54:10: fatal error: 'util.h' file not found
#include <util.h>
^~~~~~~~
1 error generated.
*** [rdate.o] Error code 1
make[1]: stopped in /usr/obj/usr/ports/sysutils/rdate/work/rdate
--- ntp.o ---
ntp.c:188:24: warning: implicit declaration of function 'SA_LEN' is invalid in
C99 [-Wimplicit-function-declaration]
if (connect(fd, peer, SA_LEN(peer)) < 0) {
^
1 warning generated.
1 error
make[1]: stopped in /usr/obj/usr/ports/sysutils/rdate/work/rdate
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/rdate
$
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list