[MacPorts] #56991: wine cannot be built against the 10.14 SDK
MacPorts
noreply at macports.org
Sat Oct 19 03:18:46 UTC 2019
#56991: wine cannot be built against the 10.14 SDK
---------------------------------------------+------------------------
Reporter: IComplainInComments | Owner: ryandesign
Type: defect | Status: assigned
Priority: Low | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords: mojave
Port: wine wine-devel wine-crossover |
---------------------------------------------+------------------------
Comment (by akj850):
Thanks. I did a package update, and got several rebuilds, but libomp was
not installed (I did build it without problem). The chromaprint problem
persists (perhaps I was too impatient to wait for your updates to roll
out?)
{{{
Building CXX object src/cmd/CMakeFiles/fpcalc.dir/fpcalc.cpp.o
cd
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/build/src/cmd
&& /usr/bin/clang++ -DHAVE_CONFIG_H -D_SCL_SECURE_NO_WARNINGS
-D_USE_MATH_DEFINES -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-I/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/build
-I/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src
-I/opt/local/include -pipe -Os -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk
-std=c++11 -DNDEBUG -arch x86_64 -arch i386 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk -mmacosx-version-
min=10.13 -o CMakeFiles/fpcalc.dir/fpcalc.cpp.o -c
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:117:2:
warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
av_register_all();
^
/opt/local/include/libavformat/avformat.h:2049:1: note: 'av_register_all'
has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro
'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:18:
/opt/local/include/libavcodec/avcodec.h:1454:16: warning:
'convergence_duration' is deprecated [-Wdeprecated-declarations]
typedef struct AVPacket {
^
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:123:12:
note: in implicit copy assignment operator for 'AVPacket' first required
here
m_packet0 = m_packet;
^
/opt/local/include/libavcodec/avcodec.h:1505:5: note:
'convergence_duration' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro
'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:18:
/opt/local/include/libavcodec/avcodec.h:1454:16: warning:
'convergence_duration' is deprecated [-Wdeprecated-declarations]
typedef struct AVPacket {
^
/opt/local/include/libavcodec/avcodec.h:1505:5: note:
'convergence_duration' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro
'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:130:2:
warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
av_packet_unref(&m_packet0);
^
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:27:25:
note: expanded from macro 'av_packet_unref'
#define av_packet_unref av_free_packet
^
/opt/local/include/libavcodec/avcodec.h:4472:1: note: 'av_free_packet' has
been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro
'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:181:55:
warning: 'codec' is deprecated [-Wdeprecated-declarations]
m_codec_ctx = m_format_ctx->streams[m_stream_index]->codec;
^
/opt/local/include/libavformat/avformat.h:884:5: note: 'codec' has been
explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro
'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:194:12:
error: use of undeclared identifier 'avcodec_alloc_frame'
m_frame = av_frame_alloc();
^
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:31:24:
note: expanded from macro 'av_frame_alloc'
#define av_frame_alloc avcodec_alloc_frame
^
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:232:2:
error: use of undeclared identifier 'avcodec_free_frame'; did you mean
'avcodec_get_name'?
av_frame_free(&m_frame);
^~~~~~~~~~~~~
avcodec_get_name
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:35:23:
note: expanded from macro 'av_frame_free'
#define av_frame_free avcodec_free_frame
^
/opt/local/include/libavcodec/avcodec.h:6175:13: note: 'avcodec_get_name'
declared here
const char *avcodec_get_name(enum AVCodecID id);
^
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:232:16:
error: cannot initialize a parameter of type 'enum AVCodecID' with an
rvalue of type 'AVFrame **'
av_frame_free(&m_frame);
^~~~~~~~
/opt/local/include/libavcodec/avcodec.h:6175:45: note: passing argument to
parameter 'id' here
const char *avcodec_get_name(enum AVCodecID id);
^
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:274:4:
warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
av_packet_unref(&m_packet0);
^
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:27:25:
note: expanded from macro 'av_packet_unref'
#define av_packet_unref av_free_packet
^
/opt/local/include/libavcodec/avcodec.h:4472:1: note: 'av_free_packet' has
been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro
'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
In file included from
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/cmd/fpcalc.cpp:7:
/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/chromaprint-1.4.3/src/audio/ffmpeg_audio_reader.h:297:9:
warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
ret = avcodec_decode_audio4(m_codec_ctx, m_frame,
&m_got_frame, &m_packet);
^
/opt/local/include/libavcodec/avcodec.h:4778:1: note:
'avcodec_decode_audio4' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro
'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
7 warnings and 3 errors generated.
make[2]: *** [src/cmd/CMakeFiles/fpcalc.dir/fpcalc.cpp.o] Error 1
make[2]: Leaving directory
`/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/build'
make[1]: *** [src/cmd/CMakeFiles/fpcalc.dir/all] Error 2
make[1]: Leaving directory
`/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/build'
make: *** [all] Error 2
make: Leaving directory
`/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/build'
Command failed: cd
"/opt/universal/var/macports/build/_opt_universal_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_chromaprint/chromaprint/work/build"
&& /usr/bin/make -j6 -w all VERBOSE=ON
Exit code: 2
Error: Failed to build chromaprint: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56991#comment:105>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list