[Bug 252280] benchmarks/iperf: does not build bad_C++_code

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 30 02:44:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252280

            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 at FreeBSD.org
          Reporter: vas at sibptus.ru
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org
 Attachment #221098 text/plain
         mime type:

Created attachment 221098
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221098&action=edit
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 = *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
=>> Cleaning up wrkdir
===>  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 !!!

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


More information about the freebsd-ports-bugs mailing list