Opened 6 years ago

Closed 6 years ago

#56587 closed defect (fixed)

ffmpeg-devel @20180523: `libavformat/mxfenc.c:1152:36: error: too many arguments provided to function-like macro invocation`

Reported by: llamafilm Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.5.0
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), ionic
Port: ffmpeg-devel

Description (last modified by Ionic (Mihai Moldovan))

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.

Attachments (1)

main.log (1.6 MB) - added by llamafilm 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by llamafilm

Attachment: main.log added

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Cc: jeremyhu added
Owner: set to dbevans
Status: newassigned

comment:2 Changed 6 years ago by Ionic (Mihai Moldovan)

Cc: ionic added
Description: modified (diff)
Summary: Failed to build ffmpeg-develffmpeg-devel @20180523: `libavformat/mxfenc.c:1152:36: error: too many arguments provided to function-like macro invocation`
Last edited 6 years ago by Ionic (Mihai Moldovan) (previous) (diff)

comment:3 Changed 6 years ago by Mihai Moldovan <ionic@…>

Resolution: fixed
Status: assignedclosed

In 648f9d2c9c281b296847dd5fef105f4a4eac7f71/macports-ports (master):

multimedia/ffmpeg-devel: apply upstream fix for initializer list usage in macro.

Fixes: #56587

Note: See TracTickets for help on using tickets.