Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2020 02:44:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252280] benchmarks/iperf: does not build bad_C++_code
Message-ID:  <bug-252280-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 252280
           Summary: benchmarks/iperf: does not build bad_C++_code
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: vas@sibptus.ru
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org
 Attachment #221098 text/plain
         mime type:

Created attachment 221098
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D221098&action=
=3Dedit
Poudriere build log

c++ -DHAVE_CONFIG_H -I. -I..   -I../include  -I../include  -Wall -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -MT Settings.o -MD -MP -MF
.deps/Settings.Tpo -c -o Settings.o Settings.cpp
Settings.cpp:1063:12: error: no matching function for call to 'localtime'
            ts =3D *localtime(&nowsecs);
                  ^~~~~~~~~
/usr/include/time.h:154:12: note: candidate function not viable: no known
conversion from 'long *' to 'const time_t *' (aka 'const int *') for 1st
argument
struct tm *localtime(const time_t *);
           ^
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/benchmarks/iperf/work/iperf-2.0.14a/=
src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/benchmarks/iperf/work/iperf-2.0.14a
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/benchmarks/iperf/work/iperf-2.0.14a
*** Error code 1

Stop.
make: stopped in /usr/ports/benchmarks/iperf
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for iperf-2.0.14a_3
build of benchmarks/iperf | iperf-2.0.14a_3 ended at Tue Dec 29 18:14:18 +07
2020
build time: 00:00:17
!!! build failure encountered !!!

--=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-252280-7788>