Opened 2 years ago

Closed 2 years ago

#65688 closed defect (fixed)

maildrop @3.0.0 build fails on at least Mojave and Catalina

Reported by: rlhamil Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: maildrop

Description

:info:build In file included from rfc3676parsercpp.C:7:
:info:build In file included from ./rfc3676parser.h:12:
:info:build /opt/local/include/courier-unicode.h:1580:45: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
:info:build         int converted(const char *ptr, size_t cnt) override;
:info:build                                                    ^
:info:build /opt/local/include/courier-unicode.h:1631:49: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
:info:build         int converted(const char32_t *ptr, size_t cnt) override
:info:build                                                        ^
:info:build /opt/local/include/courier-unicode.h:1733:45: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
:info:build         int converted(const char *ptr, size_t cnt) override
:info:build                                                    ^
:info:build /opt/local/include/courier-unicode.h:1859:26: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
:info:build         int callback(int value) override;
:info:build                                 ^
:info:build /opt/local/include/courier-unicode.h:2055:30: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
:info:build         int callback(int, char32_t) override;
:info:build                                     ^
:info:build /opt/local/include/courier-unicode.h:2339:6: error: no template named 'tuple' in namespace 'std'
:info:build std::tuple<std::vector<unicode_bidi_level_t>,
:info:build ~~~~~^
:info:build /opt/local/include/courier-unicode.h:2350:6: error: no template named 'tuple' in namespace 'std'
:info:build std::tuple<std::vector<unicode_bidi_level_t>,
:info:build ~~~~~^
:info:build /opt/local/include/courier-unicode.h:2363:22: error: expected expression
:info:build                  &reorder_callback=[](size_t, size_t){},
:info:build                                    ^
:info:build /opt/local/include/courier-unicode.h:2370:23: error: expected expression
:info:build                   &reorder_callback=[](size_t, size_t){},
:info:build                                     ^
:info:build /opt/local/include/courier-unicode.h:2381:5: error: expected expression
:info:build                   [](size_t) {},
:info:build                   ^
:info:build /opt/local/include/courier-unicode.h:2391:4: error: expected expression
:info:build                  [](size_t) {},
:info:build                  ^
:info:build /opt/local/include/courier-unicode.h:2420:18: error: expected expression
:info:build                        &lambda=[](size_t,size_t){},
:info:build                                ^
:info:build /opt/local/include/courier-unicode.h:2505:1: error: unknown type name 'constexpr'
:info:build constexpr int decompose_flag_qc=UNICODE_DECOMPOSE_FLAG_QC;
:info:build ^
:info:build /opt/local/include/courier-unicode.h:2506:1: error: unknown type name 'constexpr'
:info:build constexpr int decompose_flag_compat=UNICODE_DECOMPOSE_FLAG_COMPAT;
:info:build ^
:info:build /opt/local/include/courier-unicode.h:2509:30: error: no member named 'tuple' in namespace 'std'
:info:build                                   const std::vector<std::tuple<size_t, size_t>>
:info:build                                                     ~~~~~^
:info:build /opt/local/include/courier-unicode.h:2509:36: error: unexpected type name 'size_t': expected expression
:info:build                                   const std::vector<std::tuple<size_t, size_t>>
:info:build                                                                ^
:info:build /opt/local/include/courier-unicode.h:2515:30: error: no member named 'tuple' in namespace 'std'
:info:build                                          const std::vector<std::tuple<size_t,
:info:build                                                            ~~~~~^
:info:build /opt/local/include/courier-unicode.h:2515:36: error: unexpected type name 'size_t': expected expression
:info:build                                          const std::vector<std::tuple<size_t,
:info:build                                                                       ^
:info:build /opt/local/include/courier-unicode.h:2519:1: error: unknown type name 'constexpr'
:info:build constexpr int compose_flag_removeunused=UNICODE_COMPOSE_FLAG_REMOVEUNUSED;
:info:build ^
:info:build /opt/local/include/courier-unicode.h:2521:1: error: unknown type name 'constexpr'
:info:build constexpr int compose_flag_oneshot=UNICODE_COMPOSE_FLAG_ONESHOT;
:info:build ^

Attachments (1)

main.log-maildrop.txt (185.8 KB) - added by rlhamil 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by rlhamil

Attachment: main.log-maildrop.txt added

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

So maildrop needs C++11 to match its dependency courier-unicode.

comment:2 Changed 2 years ago by lstone19

I just ran into this as well. Courier-unicode was updated a couple of days ago. Falling back courier-unicode to the previous (v.2.1.0) got maildrop working again. I'm running Monterey.

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In a8f30955ff525e0faa5d3a9f1002776defc1a89e/macports-ports (master):

maildrop: Use C++11

Closes: #65688

Note: See TracTickets for help on using tickets.