Opened 4 years ago

Closed 4 years ago

#59721 closed defect (fixed)

Failed to build libdap @3.18.1 during macro expansion from libxml

Reported by: platipodium (Carsten Lemmen) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: libdap

Description

Error: Failed to build libdap: command execution failed

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..  -I.. -I../d4_ce -I. -I/opt/local/include/libxml2 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -I.. -I../d4_ce -I. -I/opt/local/include/libxml2 -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 -MT libd4_ce_parser_la-d4_ce_parser.tab.lo -MD -MP -MF .deps/libd4_ce_parser_la-d4_ce_parser.tab.Tpo -c -o libd4_ce_parser_la-d4_ce_parser.tab.lo `test -f 'd4_ce_parser.tab.cc' || echo './'`d4_ce_parser.tab.cc
libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../d4_ce -I. -I/opt/local/include/libxml2 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -I.. -I../d4_ce -I. -I/opt/local/include/libxml2 -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 -MT libd4_ce_parser_la-d4_ce_parser.tab.lo -MD -MP -MF .deps/libd4_ce_parser_la-d4_ce_parser.tab.Tpo -c d4_ce_parser.tab.cc  -fno-common -DPIC -o .libs/libd4_ce_parser_la-d4_ce_parser.tab.o
In file included from d4_ce_parser.yy:80:
In file included from ../BaseType.h:50:
In file included from ../AttrTable.h:54:
In file included from ../XMLWriter.h:33:
In file included from /opt/local/include/libxml2/libxml/xmlwriter.h:18:
In file included from /opt/local/include/libxml2/libxml/xmlIO.h:117:
In file included from /opt/local/include/libxml2/libxml/globals.h:18:
In file included from /opt/local/include/libxml2/libxml/parser.h:810:
In file included from /opt/local/include/libxml2/libxml/encoding.h:31:
In file included from /opt/local/include/unicode/ucnv.h:53:
In file included from /opt/local/include/libxml2/unicode/uenum.h:23:
/opt/local/include/libxml2/unicode/localpointer.h:71:51: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new(size_t) = delete;
                                                  ^
/opt/local/include/libxml2/unicode/localpointer.h:72:53: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new[](size_t) = delete;
                                                    ^
/opt/local/include/libxml2/unicode/localpointer.h:74:58: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new(size_t, void*) = delete;
                                                         ^
/opt/local/include/libxml2/unicode/localpointer.h:224:34: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
    LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                 ^
/opt/local/include/libxml2/unicode/localpointer.h:224:40: error: expected ';' at end of declaration list
    LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                       ^
                                       ;
/opt/local/include/libxml2/unicode/localpointer.h:405:30: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
    LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                             ^
/opt/local/include/libxml2/unicode/localpointer.h:405:36: error: expected ';' at end of declaration list
    LocalArray(LocalArray<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) {
                                   ^
                                   ;

Attachments (1)

main.log (83.0 KB) - added by platipodium (Carsten Lemmen) 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by platipodium (Carsten Lemmen)

Attachment: main.log added

comment:1 Changed 4 years ago by mf2k (Frank Schima)

In the future, please add the port maintainer(s) to Cc (port info --maintainers libdap), if any.

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Owner: set to tenomoto
Status: newassigned

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 134cb9c9d05ee6e044dc330204d9dc33ee495f73/macports-ports (master):

libxml2: update to 2.9.10

Also, don't expose the ICU C++ API via libxml/encoding.h if the C++
version is too old.

Fixes: #59499
Fixes: #59519
Fixes: #59565
Fixes: #59567
Fixes: #59645
Fixes: #59721
Fixes: #59736

Note: See TracTickets for help on using tickets.