[Bug 248479] multimedia/x265: fails to build with SVTHEVC off

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 5 08:05:53 UTC 2020


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

            Bug ID: 248479
           Summary: multimedia/x265: fails to build with SVTHEVC off
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: vvd at unislabs.com
                CC: mi at ALDAN.algebra.com
             Flags: maintainer-feedback?(mi at ALDAN.algebra.com)
                CC: mi at ALDAN.algebra.com
             Flags: maintainer-feedback?

12.1 amd64:

FAILED: encoder/CMakeFiles/encoder.dir/api.cpp.o 
/usr/bin/c++  -DENABLE_HDR10_PLUS -DEXPORT_C_API=1 -DHAVE_INT_TYPES_H=1
-DHIGH_BIT_DEPTH=0 -DSVT_HEVC -DX265_ARCH_X86=1 -DX265_DEPTH=8 -DX265_NS=x265
-DX86_64=1 -D__STDC_LIMIT_MACROS=1
-I/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/.
-I/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/dynamicHDR10 -I.
-I/usr/local/include/svt-hevc
-I/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/common
-I/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/encoder -O2 -pipe
-DNDEBUG -O3 -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -DNDEBUG
-O3 -fstack-protector-strong -fno-strict-aliasing   -Wall -Wextra -Wshadow
-std=gnu++11 -fPIC -Wno-array-bounds -ffast-math -mstackrealign -fno-exceptions
-Wno-uninitialized -DLINKED_10BIT=1 -DLINKED_12BIT=1 -MD -MT
encoder/CMakeFiles/encoder.dir/api.cpp.o -MF
encoder/CMakeFiles/encoder.dir/api.cpp.o.d -o
encoder/CMakeFiles/encoder.dir/api.cpp.o -c
/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/encoder/api.cpp
/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/encoder/api.cpp:408:55:
error: array type 'unsigned char [1024]' is not assignable
                    inputData->dolbyVisionRpu.payload = X265_MALLOC(uint8_t,
1024);
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/encoder/api.cpp:415:55:
error: array type 'unsigned char [1024]' is not assignable
                    inputData->dolbyVisionRpu.payload = NULL;
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/encoder/api.cpp:653:43:
warning: address of array 'inputData->dolbyVisionRpu.payload' will always
evaluate to 'true' [-Wpointer-bool-conversion]
            if (inputData->dolbyVisionRpu.payload)
X265_FREE(inputData->dolbyVisionRpu.payload);
            ~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/tmp/work/usr/ports/multimedia/x265/work/x265_3.2.1/source/encoder/api.cpp:1986:39:
error: array type 'unsigned char [1024]' is not assignable
    inputData->dolbyVisionRpu.payload = NULL;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning and 3 errors generated.

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


More information about the freebsd-ports-bugs mailing list