[MacPorts] #58929: ffmpeg won't build complains that it cannot find libtheora
MacPorts
noreply at macports.org
Thu Sep 5 01:35:32 UTC 2019
#58929: ffmpeg won't build complains that it cannot find libtheora
---------------------+----------------------
Reporter: hellyj | Owner: dbevans
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: ffmpeg |
---------------------+----------------------
Changes (by dbevans):
* status: assigned => accepted
Comment:
This is definitely a repeatable problem.
The pertinent lines from ffmpeg/config.log are these:
{{{
require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec
-logg
check_lib libtheora theora/theoraenc.h th_info_init -ltheoraenc
-ltheoradec -logg
check_func_headers theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec
-logg
test_ld cc -ltheoraenc -ltheoradec -logg
test_cc
BEGIN /opt/local/var/macports/build/_Volumes_MiniHD_opt_github
.com_macports_macports-
ports_multimedia_ffmpeg/ffmpeg/work/.tmp/ffconf.A8LNs42Y/test.c
1 #include <theora/theoraenc.h>
2 #include <stdint.h>
3 long check_th_info_init(void) { return (long) th_info_init; }
4 int main(void) { int ret = 0;
5 ret |= ((intptr_t)check_th_info_init) & 0xFFFF;
6 return ret; }
END /opt/local/var/macports/build/_Volumes_MiniHD_opt_github
.com_macports_macports-
ports_multimedia_ffmpeg/ffmpeg/work/.tmp/ffconf.A8LNs42Y/test.c
/usr/bin/clang -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I$(SRC_PATH)/compat/dispatch_semaphore -DPIC -pipe -Os -DHAVE_LRINTF
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch
x86_64 -std=c11 -Werror=partial-availability -fomit-frame-pointer -fPIC
-pthread -I/opt/local/include/p11-kit-1 -I/opt/local/include/ossp
-I/opt/local/include/fribidi -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/libxml2
-I/opt/local/include/ossp -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/ossp
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include/fribidi -I/opt/local/include/openjpeg-2.3
-I/opt/local/include/opus -I/opt/local/include/opus -D_REENTRANT
-I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng16 -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/ossp
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -c -o
/opt/local/var/macports/build/_Volumes_MiniHD_opt_github
.com_macports_macports-
ports_multimedia_ffmpeg/ffmpeg/work/.tmp/ffconf.A8LNs42Y/test.o
/opt/local/var/macports/build/_Volumes_MiniHD_opt_github
.com_macports_macports-
ports_multimedia_ffmpeg/ffmpeg/work/.tmp/ffconf.A8LNs42Y/test.c
In file included from
/opt/local/var/macports/build/_Volumes_MiniHD_opt_github
.com_macports_macports-
ports_multimedia_ffmpeg/ffmpeg/work/.tmp/ffconf.A8LNs42Y/test.c:1:
In file included from /opt/local/include/theora/theoraenc.h:24:
In file included from /opt/local/include/ogg/ogg.h:24:
/opt/local/include/ogg/os_types.h:77:12: error: unknown type name
'uint16_t'
typedef uint16_t ogg_uint16_t;
^
/opt/local/include/ogg/os_types.h:79:12: error: unknown type name
'uint32_t'
typedef uint32_t ogg_uint32_t;
^
/opt/local/include/ogg/os_types.h:81:12: error: unknown type name
'uint64_t'
typedef uint64_t ogg_uint64_t;
^
3 errors generated.
ERROR: libtheora not found
}}}
I'm guessing this is related to recent changes to the libogg port, not
ffmpeg itself. Continuing to track down the exact cause. Thanks for the
ticket.
--
Ticket URL: <https://trac.macports.org/ticket/58929#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list