Opened 5 years ago
Closed 5 years ago
#59645 closed defect (fixed)
scribus @1.4.7_6: error: expected ';' at end of declaration list
Reported by: | tehcog (tehcog) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | scribus |
Description
:error:build Failed to build scribus: command execution failed
Please see attached main.log
Attachments (1)
Change History (3)
Changed 5 years ago by tehcog (tehcog)
Attachment: | scribus_main.log added |
---|
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | scribus @1.4.7_6 fails to build on mavericks → scribus @1.4.7_6: error: expected ';' at end of declaration list |
---|
The log says:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.7/scribus/plugins/gettext/odtim/contentreader.cpp:29: :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.7/scribus/plugins/gettext/odtim/contentreader.h:37: :info:build In file included from /opt/local/include/libxml2/libxml/SAX.h:18: :info:build In file included from /opt/local/include/libxml2/libxml/parser.h:810: :info:build In file included from /opt/local/include/libxml2/libxml/encoding.h:31: :info:build In file included from /opt/local/include/unicode/ucnv.h:53: :info:build In file included from /opt/local/include/unicode/uenum.h:23: :info:build /opt/local/include/unicode/localpointer.h:71:51: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] :info:build static void* U_EXPORT2 operator new(size_t) = delete; :info:build ^ :info:build /opt/local/include/unicode/localpointer.h:72:53: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] :info:build static void* U_EXPORT2 operator new[](size_t) = delete; :info:build ^ :info:build /opt/local/include/unicode/localpointer.h:74:58: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] :info:build static void* U_EXPORT2 operator new(size_t, void*) = delete; :info:build ^ :info:build /opt/local/include/unicode/localpointer.h:224:34: warning: rvalue references are a C++11 extension [-Wc++11-extensions] :info:build LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { :info:build ^ :info:build /opt/local/include/unicode/localpointer.h:224:40: error: expected ';' at end of declaration list :info:build LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { :info:build ^ :info:build ; :info:build /opt/local/include/unicode/localpointer.h:405:30: warning: rvalue references are a C++11 extension [-Wc++11-extensions] :info:build LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { :info:build ^ :info:build /opt/local/include/unicode/localpointer.h:405:36: error: expected ';' at end of declaration list :info:build LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { :info:build ^ :info:build ;
This is the same issue reported against other ports in many, many other tickets. This port includes a libxml2 header, which includes an icu header, and the latest version of icu requires C++11, therefore this port now requires C++11, and this port needs to indicate that with compiler.cxx_standard 2011
and configure.cxxflags-append -std=c++11
.
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
main.log