Opened 2 weeks ago

Closed 10 days ago

Last modified 10 days ago

#7772 closed defect (needs_more_info)

Configure failure

Reported by: kliffgomel Owned by:
Priority: normal Component: build system
Version: git-master Keywords: libx265
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Configure failure on check_func_headers x265.h x265_api_get:

check_func_headers x265.h x265_api_get -LD:/ffmpeg-autobuild/local64/lib -lx265 -lstdc++ -lgcc
test_ld cc -LD:/ffmpeg-autobuild/local64/lib -lx265 -lstdc++ -lgcc
test_cc -LD:/ffmpeg-autobuild/local64/lib
BEGIN /tmp/ffconf.lirNJCBB/test.c

1 #include <x265.h>
2 #include <stdint.h>
3 long check_x265_api_get(void) { return (long) x265_api_get; }
4 int main(void) { int ret = 0;
5 ret |= ((intptr_t)check_x265_api_get) & 0xFFFF;
6 return ret; }

END /tmp/ffconf.lirNJCBB/test.c
gcc -D_FORTIFY_SOURCE=2 -DUSE_MINGW_ANSI_STDIO=1 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -USTRICT_ANSI -DUSE_MINGW_ANSI_STDIO=1 -Dprintf=gnu_printf -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DOPJ_STATIC -mthreads -mtune=generic -O2 -pipe -DLIBTWOLAME_STATIC -DLIBXML_STATIC -DKVZ_STATIC_LIB -IC:/PROGRA~1/NVIDIA~2/CUDA/v10.1/include -std=c11 -fomit-frame-pointer -ID:/ffmpeg-autobuild/local64/include/harfbuzz -ID:/ffmpeg-autobuild/local64/include/freetype2 -ID:/ffmpeg-autobuild/local64/include/fribidi -ID:/ffmpeg-autobuild/local64/include/freetype2 -DLIBXML_STATIC -ID:/ffmpeg-autobuild/msys64/mingw64/include/libxml2 -ID:/ffmpeg-autobuild/local64/include/freetype2 -ID:/ffmpeg-autobuild/local64/include/freetype2 -ID:/ffmpeg-autobuild/local64/include/fribidi -ID:/ffmpeg-autobuild/msys64/mingw64/include/openjpeg-2.3 -ID:/ffmpeg-autobuild/local64/include/opus -ID:/ffmpeg-autobuild/local64/include/opus -LD:/ffmpeg-autobuild/local64/lib -c -o /tmp/ffconf.lirNJCBB/test.o /tmp/ffconf.lirNJCBB/test.c
In file included from D:/ffmpeg-autobuild/msys64/tmp/ffconf.lirNJCBB/test.c:1:
D:/ffmpeg-autobuild/local64/include/x265.h:1801:43: error: unknown type name 'bool'; did you mean '_Bool'?

x265_zone *x265_zone_alloc(int zoneCount, bool isZoneFile);

~
_Bool

D:/ffmpeg-autobuild/msys64/tmp/ffconf.lirNJCBB/test.c: In function 'check_x265_api_get':
D:/ffmpeg-autobuild/msys64/tmp/ffconf.lirNJCBB/test.c:3:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

long check_x265_api_get(void) { return (long) x265_api_get; }


ERROR: x265 not found using pkg-config

ffmpeg version git-master db332832a17c6da68067869da815dfcef174dca3
built on windows 10 with mingw64 gcc 8.3.0 rev 1

Attachments (1)

config.log (568.1 KB) - added by kliffgomel 2 weeks ago.
configure log

Download all attachments as: .zip

Change History (7)

Changed 2 weeks ago by kliffgomel

configure log

comment:1 Changed 2 weeks ago by cehoyos

Do you think this is a regression?
Is the issue reproducible with ./configure --enable-gpl --enable-libx265?

comment:2 Changed 2 weeks ago by kliffgomel

Yes, this issue reproducible with ./configure --enable-gpl --enable-libx265

comment:3 Changed 2 weeks ago by cehoyos

  • Priority changed from important to normal

comment:4 Changed 2 weeks ago by cehoyos

  • Keywords libx265 added; configure removed

comment:5 Changed 10 days ago by kliffgomel

  • Resolution set to fixed
  • Status changed from new to closed

comment:6 Changed 10 days ago by cehoyos

  • Resolution changed from fixed to needs_more_info
Note: See TracTickets for help on using tickets.