Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2024 19:59:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278336] multimedia/ringrtc: build failure
Message-ID:  <bug-278336-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 278336
           Summary: multimedia/ringrtc: build failure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: lexi.freebsd@le-fay.org

building with poudriere-devel on:

FreeBSD hemlock.eden.le-fay.org 15.0-CURRENT FreeBSD 15.0-CURRENT #5
lf/main-n268981-e4800ae96e1a: Mon Apr  8 17:46:40 BST 2024=20=20=20=20
srcmastr@daphne.eden.le-fay.org:/src/obj/src/freebsd/lf/main/amd64.amd64/sy=
s/LF
amd64

src commit (roughly): 737799dfd3a87cbbe1ff091c13a90c98e3ee21d3

FreeBSD clang version 18.1.3 (https://github.com/llvm/llvm-project.git
llvmorg-18.1.3-0-gc13b7485b879)

the build fails:

[ 30% 870/2791] CXX obj/pc/legacy_stats_collector/legacy_stats_collector.o
FAILED: obj/pc/legacy_stats_collector/legacy_stats_collector.o
c++ -MMD -MF obj/pc/legacy_stats_collector/legacy_stats_collector.o.d
-DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZONE=3D1 -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=3D2 -D_FILE_OFFSET_BITS=3D64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DWEBRTC_ENABLE_PROTOBUF=3D0
-DWEBRTC_STRICT_FIELD_TRIALS=3D0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE
-DRTC_ENABLE_VP9 -DWEBRTC_ENABLE_LIBEVENT -DWEBRTC_LIBRARY_IMPL
-DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=3D0 -DWEBRTC_=
POSIX
-DWEBRTC_LINUX -DWEBRTC_BSD -DABSL_ALLOCATOR_NOTHROW=3D1 -DLIBYUV_DISABLE_N=
EON
-I../.. -Igen -I../../third_party/abseil-cpp -I../../third_party/libyuv/inc=
lude
-Wall -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggres=
sive
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi
-Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-condition=
al
-Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing -fstack-protector -funwind-tables -fPIC
-pthread -fcolor-diagnostics -fmerge-all-constants -m64 -msse3
-Wno-builtin-macro-redefined -D__DATE__=3D -D__TIME__=3D -D__TIMESTAMP__=3D=
 -Xclang
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes
-ftrivial-auto-var-init=3Dpattern -O2 -fdata-sections -ffunction-sections
-fno-unique-section-names -fno-math-errno -fno-omit-frame-pointer -g0
-fvisibility=3Dhidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors
-Wno-shadow -Wctad-maybe-unsupported -Wc++11-narrowing -Wundef
-Wunused-lambda-capture -std=3Dc++17 -Wno-trigraphs -fno-exceptions -fno-rt=
ti
-fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -O2 -pi=
pe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-isystem /usr/local/include  -c ../../pc/legacy_stats_collector.cc -o
obj/pc/legacy_stats_collector/legacy_stats_collector.o
../../pc/legacy_stats_collector.cc:191:54: error: non-constant-expression
cannot be narrowed from type 'double' to 'float' in initializer list
[-Wc++11-narrowing-const-reference]
  191 |       {StatsReport::kStatsValueNameTotalAudioEnergy,
info.total_output_energy},
      |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
^~~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:193:8: error: non-constant-expression ca=
nnot
be narrowed from type 'double' to 'float' in initializer list
[-Wc++11-narrowing-const-reference]
  193 |        info.total_output_duration}};
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:247:54: error: non-constant-expression
cannot be narrowed from type 'double' to 'float' in initializer list
[-Wc++11-narrowing-const-reference]
  247 |       {StatsReport::kStatsValueNameTotalAudioEnergy,
info.total_input_energy},
      |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
^~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:249:8: error: non-constant-expression ca=
nnot
be narrowed from type 'double' to 'float' in initializer list
[-Wc++11-narrowing-const-reference]
  249 |        info.total_input_duration}};
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:343:51: error: non-constant-expression
cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'int' in
initializer list [-Wc++11-narrowing-const-reference]
  343 |       {StatsReport::kStatsValueNameFramesDecoded, info.frames_decod=
ed},
      |                                                   ^~~~~~~~~~~~~~~~~=
~~
../../pc/legacy_stats_collector.cc:387:52: error: type 'double' cannot be
narrowed to 'int' in initializer list [-Wc++11-narrowing-const-reference]
  387 |       {StatsReport::kStatsValueNameFrameRateInput,
round(info.framerate_input)},
      |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:390:51: error: non-constant-expression
cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'int' in
initializer list [-Wc++11-narrowing-const-reference]
  390 |       {StatsReport::kStatsValueNameNacksReceived, info.nacks_receiv=
ed},
      |                                                   ^~~~~~~~~~~~~~~~~=
~~
../../pc/legacy_stats_collector.cc:394:51: error: non-constant-expression
cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'int' in
initializer list [-Wc++11-narrowing-const-reference]
  394 |       {StatsReport::kStatsValueNameFramesEncoded, info.frames_encod=
ed},
      |                                                   ^~~~~~~~~~~~~~~~~=
~~
../../pc/legacy_stats_collector.cc:395:52: error: non-constant-expression
cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'int' in
initializer list [-Wc++11-narrowing-const-reference]
  395 |       {StatsReport::kStatsValueNameHugeFramesSent,
info.huge_frames_sent},
      |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
^~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:783:51: error: non-constant-expression
cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in
initializer list [-Wc++11-narrowing-const-reference]
  783 |       {StatsReport::kStatsValueNameBytesReceived,
info.recv_total_bytes},
      |                                                   ^~~~~~~~~~~~~~~~~=
~~~~
../../pc/legacy_stats_collector.cc:784:47: error: non-constant-expression
cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in
initializer list [-Wc++11-narrowing-const-reference]
  784 |       {StatsReport::kStatsValueNameBytesSent, info.sent_total_bytes=
},
      |                                               ^~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:785:49: error: non-constant-expression
cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in
initializer list [-Wc++11-narrowing-const-reference]
  785 |       {StatsReport::kStatsValueNamePacketsSent,
info.sent_total_packets},
      |                                                 ^~~~~~~~~~~~~~~~~~~=
~~~~
../../pc/legacy_stats_collector.cc:786:41: error: non-constant-expression
cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in
initializer list [-Wc++11-narrowing-const-reference]
  786 |       {StatsReport::kStatsValueNameRtt, info.rtt},
      |                                         ^~~~~~~~
../../pc/legacy_stats_collector.cc:788:8: error: non-constant-expression ca=
nnot
be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in initializ=
er
list [-Wc++11-narrowing-const-reference]
  788 |        info.sent_discarded_packets},
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:790:8: error: non-constant-expression ca=
nnot
be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in initializ=
er
list [-Wc++11-narrowing-const-reference]
  790 |        info.sent_ping_requests_total},
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:792:8: error: non-constant-expression ca=
nnot
be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in initializ=
er
list [-Wc++11-narrowing-const-reference]
  792 |        info.sent_ping_requests_before_first_response},
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:793:55: error: non-constant-expression
cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in
initializer list [-Wc++11-narrowing-const-reference]
  793 |       {StatsReport::kStatsValueNameSentPingResponses,
info.sent_ping_responses},
      |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
^~~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:794:54: error: non-constant-expression
cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in
initializer list [-Wc++11-narrowing-const-reference]
  794 |       {StatsReport::kStatsValueNameRecvPingRequests,
info.recv_ping_requests},
      |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
^~~~~~~~~~~~~~~~~~~~~~~
../../pc/legacy_stats_collector.cc:795:55: error: non-constant-expression
cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'long' in
initializer list [-Wc++11-narrowing-const-reference]
  795 |       {StatsReport::kStatsValueNameRecvPingResponses,
info.recv_ping_responses},
      |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
^~~~~~~~~~~~~~~~~~~~~~~~
19 errors generated.

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