[MacPorts] #56587: ffmpeg-devel @20180523: `libavformat/mxfenc.c:1152:36: error: too many arguments provided to function-like macro invocation` (was: Failed to build ffmpeg-devel)
MacPorts
noreply at macports.org
Sun Jun 17 02:52:27 UTC 2018
#56587: ffmpeg-devel @20180523: `libavformat/mxfenc.c:1152:36: error: too many
arguments provided to function-like macro invocation`
---------------------------+----------------------
Reporter: llamafilm | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.0
Resolution: | Keywords:
Port: ffmpeg-devel |
---------------------------+----------------------
Changes (by Ionic):
* cc: ionic (added)
Old description:
> I have used ffmpeg-devel +nonfree before on this system, but today when I
> try to upgrade, I get an error. I have tried cleaning it and
> uninstalling it.
New description:
I have used ffmpeg-devel +nonfree before on this system, but today when I
try to upgrade, I get an error. I have tried cleaning it and uninstalling
it.
{{{
:info:build libavformat/mxfenc.c:1152:36: error: too many arguments
provided to function-like macro invocation
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x01,0x00,0x00},
16);
:info:build ^
:info:build /usr/include/secure/_string.h:64:9: note: macro 'memcpy'
defined here
:info:build #define memcpy(dest, src, len)
\
:info:build ^
:info:build libavformat/mxfenc.c:1152:9: note: parentheses are required
around macro argument containing braced initializer list
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x01,0x00,0x00},
16);
:info:build ^
:info:build (
)
:info:build libavformat/mxfenc.c:1156:36: error: too many arguments
provided to function-like macro invocation
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x02,0x00,0x00},
16);
:info:build ^
:info:build /usr/include/secure/_string.h:64:9: note: macro 'memcpy'
defined here
:info:build #define memcpy(dest, src, len)
\
:info:build ^
:info:build libavformat/mxfenc.c:1156:9: note: parentheses are required
around macro argument containing braced initializer list
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x02,0x00,0x00},
16);
:info:build ^
:info:build (
)
:info:build libavformat/mxfenc.c:1159:36: error: too many arguments
provided to function-like macro invocation
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x03,0x00,0x00},
16);
:info:build ^
:info:build /usr/include/secure/_string.h:64:9: note: macro 'memcpy'
defined here
:info:build #define memcpy(dest, src, len)
\
:info:build ^
:info:build libavformat/mxfenc.c:1159:9: note: parentheses are required
around macro argument containing braced initializer list
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x03,0x00,0x00},
16);
:info:build ^
:info:build (
)
:info:build libavformat/mxfenc.c:1162:36: error: too many arguments
provided to function-like macro invocation
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x05,0x00,0x00},
16);
:info:build ^
:info:build /usr/include/secure/_string.h:64:9: note: macro 'memcpy'
defined here
:info:build #define memcpy(dest, src, len)
\
:info:build ^
:info:build libavformat/mxfenc.c:1162:9: note: parentheses are required
around macro argument containing braced initializer list
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x05,0x00,0x00},
16);
:info:build ^
:info:build (
)
:info:build libavformat/mxfenc.c:1165:36: error: too many arguments
provided to function-like macro invocation
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x06,0x00,0x00},
16);
:info:build ^
:info:build /usr/include/secure/_string.h:64:9: note: macro 'memcpy'
defined here
:info:build #define memcpy(dest, src, len)
\
:info:build ^
:info:build libavformat/mxfenc.c:1165:9: note: parentheses are required
around macro argument containing braced initializer list
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x06,0x04,0x01,0x01,0x01,0x01,0x06,0x00,0x00},
16);
:info:build ^
:info:build (
)
:info:build libavformat/mxfenc.c:1168:36: error: too many arguments
provided to function-like macro invocation
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x08,0x04,0x01,0x01,0x01,0x01,0x07,0x00,0x00},
16);
:info:build ^
:info:build /usr/include/secure/_string.h:64:9: note: macro 'memcpy'
defined here
:info:build #define memcpy(dest, src, len)
\
:info:build ^
:info:build libavformat/mxfenc.c:1168:9: note: parentheses are required
around macro argument containing braced initializer list
:info:build memcpy(ul,
(UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x08,0x04,0x01,0x01,0x01,0x01,0x07,0x00,0x00},
16);
:info:build ^
:info:build (
)
:info:build 6 errors generated.
}}}
--
Comment:
Luckily,
[https://github.com/FFmpeg/FFmpeg/commit/df3d962d2e736c0748b91a3c8c701d7cb96154a8
upstream has a fix for that].
--
Ticket URL: <https://trac.macports.org/ticket/56587#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list