[MacPorts] #63014: Fail to install libquicktime
MacPorts
noreply at macports.org
Wed Jun 2 06:49:46 UTC 2021
#63014: Fail to install libquicktime
----------------------+--------------------------
Reporter: adrianch | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: libquicktime
----------------------+--------------------------
Here's the console output:
{{{
$ sudo port install libquicktime
---> Computing dependencies for libquicktime
---> Fetching archive for libquicktime
---> Attempting to fetch libquicktime-1.2.4_11.darwin_19.x86_64.tbz2 from
http://jog.id.packages.macports.org/macports/packages/libquicktime
---> Attempting to fetch libquicktime-1.2.4_11.darwin_19.x86_64.tbz2 from
https://pek.cn.packages.macports.org/macports/packages/libquicktime
---> Attempting to fetch libquicktime-1.2.4_11.darwin_19.x86_64.tbz2 from
https://kmq.jp.packages.macports.org/libquicktime
---> Building libquicktime
Error: Failed to build libquicktime: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libquicktime/libquicktime/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
}}}
This is what I can see from the log:
{{{
:info:build /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/clang
-DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-I/opt/local/include/libpng16 -DLOCALE_DIR=\"/opt/local/share/locale\"
-pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -finline-functions -Wall -Winline -Wmissing-declarations
-Wdeclaration-after-statement -fvisibility=hidden -MT qtpng.lo -MD -MP -MF
.deps/qtpng.Tpo -c -o qtpng.lo qtpng.c
:info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I../..
-I../../include -I../../include -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-I/opt/local/include/libpng16 -DLOCALE_DIR=\"/opt/local/share/locale\"
-pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -finline-functions -Wall -Winline -Wmissing-declarations
-Wdeclaration-after-statement -fvisibility=hidden -MT qtpng.lo -MD -MP -MF
.deps/qtpng.Tpo -c qtpng.c -fno-common -DPIC -o .libs/qtpng.o
:info:build qtpng.c:74:5: error: implicitly declaring library function
'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror
,-Wimplicit-function-declaration]
:info:build memcpy(data, codec->buffer + codec->buffer_position,
length);
:info:build ^
:info:build qtpng.c:74:5: note: include the header <string.h> or
explicitly provide a declaration for 'memcpy'
:info:build qtpng.c:213:7: error: implicitly declaring library function
'strcasecmp' with type 'int (const char *, const char *)' [-Werror
,-Wimplicit-function-declaration]
:info:build if(!strcasecmp(key, "png_compression_level"))
:info:build ^
:info:build qtpng.c:213:7: note: include the header <strings.h> or
explicitly provide a declaration for 'strcasecmp'
:info:build 2 errors generated.
:info:build make[3]: *** [qtpng.lo] Error 1
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libquicktime/libquicktime/work/libquicktime-1.2.4/plugins/png'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libquicktime/libquicktime/work/libquicktime-1.2.4/plugins'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libquicktime/libquicktime/work/libquicktime-1.2.4'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libquicktime/libquicktime/work/libquicktime-1.2.4'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libquicktime/libquicktime/work/libquicktime-1.2.4"
&& /usr/bin/make -j4 -w all
:info:build Exit code: 2
:error:build Failed to build libquicktime: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63014>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list