Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2018 12:22:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228195] rdate port fails to build
Message-ID:  <bug-228195-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228195

            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@FreeBSD.org
          Reporter: kpect@protonmail.com
          Assignee: johans@FreeBSD.org
             Flags: maintainer-feedback?(johans@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 2=
018=20
   root@KPECT  amd64 1101515
$ cd /usr/ports/sysutils/rdate/
total 14
-rw-r--r--  1 root  wheel   134  4 =D0=BC=D0=B0=D1=8F    2015 distinfo
drwxr-xr-x  2 root  wheel     3 27 =D1=8F=D0=BD=D0=B2.  00:53 files
-rw-r--r--  1 root  wheel  1024 27 =D1=8F=D0=BD=D0=B2.  00:53 Makefile
-rw-r--r--  1 root  wheel   295  1 =D0=B8=D1=8E=D0=BD=D1=8F   2014 pkg-descr
$ doas make
=3D=3D=3D>   rdate-20150501 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by rdate-20150501 for building
=3D=3D=3D>  Extracting for rdate-20150501
=3D> SHA256 Checksum OK for rdate-20150501.tar.gz.
=3D=3D=3D>  Patching for rdate-20150501
/usr/bin/sed -i.bak -e 's,/right,,'
/usr/obj/usr/ports/sysutils/rdate/work/rdate/rdate.8
=3D=3D=3D>  Configuring for rdate-20150501
=3D=3D=3D>  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=3Divybridge  -MD  -MF.depend.rdate.o -MTrdate.o
-std=3Dgnu99 -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=3Divybridge  -MD  -MF.depend.rfc868time.o
-MTrfc868time.o -std=3Dgnu99 -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=3Divybridge  -MD  -MF.depend.ntp.o -MTntp.o -std=
=3Dgnu99
-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=3Divybridge  -MD  -MF.depend.ntpleaps.o -MTntpleap=
s.o
-std=3Dgnu99 -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
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/rdate
$

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228195-7788>