[MacPorts] #59692: ds9 does not build with OpenSSL 1.1.0
MacPorts
noreply at macports.org
Fri Nov 15 15:51:21 UTC 2019
#59692: ds9 does not build with OpenSSL 1.1.0
--------------------------------+----------------------
Reporter: carolinestraatman | Owner: lpsinger
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: ds9 |
--------------------------------+----------------------
Comment (by lpsinger):
> Your suggestions are quite technical.
Sorry about that, carolinestraatman. I don't have a resolution for you
yet; I am still working on this and I simply leaving notes about my
debugging.
> What... should be updated to version 8.0.1?
Unfortunately, the latest version of ds9, 8.0.1, is still broken. The
problem is that ds9 comes with a copy of tcltls which is too old to build
against openssl >= 1.1.0. I was able to work around this by substituting a
more recent version of tcltls (https://github.com/macports/macports-
ports/pull/5814). It is getting further now, but I am getting a new error
message. I see some similar issues in Trac for other ports, and this has
to do with icu/libxml2 issues.
{{{
:info:build /usr/bin/clang -DPACKAGE_NAME=\"tksao\"
-DPACKAGE_TARNAME=\"tksao\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"tksao\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DBUILD_tksao=/\*\*/ -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SHM_H=1 -DUSE_THREAD_ALLOC=1
-D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSTATIC_BUILD=1
-DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
-DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_IS_LONG=1 -I.
-I./colorbar -I./fitsy++ -I./frame -I./list -I./magnifier -I./panner
-I./util -I./vector -I./wcssubs -I./widget -I/opt/local/var/macports/build
/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/include
-I/opt/local/include/libxml2 -I"/opt/local/var/macports/build
/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tcl8.6/generic"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/generic"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/unix"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/generic/ttk"
-I/opt/local/include -pipe -g -Wall -c `echo frame/fvcontour.C` -o
frame/fvcontour.o
:info:build In file included from frame/frmarkerxml.C:7:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlreader.h:14:
:info:build In file included from
/opt/local/include/libxml2/libxml/tree.h:1307:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlmemory.h:218:
:info:build In file included from
/opt/local/include/libxml2/libxml/threads.h:35:
:info:build In file included from
/opt/local/include/libxml2/libxml/globals.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/libxml2/unicode/uenum.h:23:
:info:build /opt/local/include/libxml2/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/libxml2/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/libxml2/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/libxml2/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/libxml2/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/libxml2/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/libxml2/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 ;
:info:build In file included from frame/frmarkerxml.C:7:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlreader.h:14:
:info:build In file included from
/opt/local/include/libxml2/libxml/tree.h:1307:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlmemory.h:218:
:info:build In file included from
/opt/local/include/libxml2/libxml/threads.h:35:
:info:build In file included from
/opt/local/include/libxml2/libxml/globals.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 /opt/local/include/libxml2/unicode/uenum.h:68:1: warning:
rvalue references are a C++11 extension [-Wc++11-extensions]
:info:build U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer,
UEnumeration, uenum_close);
:info:build ^
:info:build /opt/local/include/libxml2/unicode/localpointer.h:568:53:
note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
:info:build LocalPointerClassName(LocalPointerClassName &&src)
U_NOEXCEPT \
:info:build ^
:info:build In file included from frame/frmarkerxml.C:7:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlreader.h:14:
:info:build In file included from
/opt/local/include/libxml2/libxml/tree.h:1307:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlmemory.h:218:
:info:build In file included from
/opt/local/include/libxml2/libxml/threads.h:35:
:info:build In file included from
/opt/local/include/libxml2/libxml/globals.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 /opt/local/include/libxml2/unicode/uenum.h:68:1: error:
expected ';' at end of declaration list
:info:build /opt/local/include/libxml2/unicode/localpointer.h:568:60:
note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
:info:build LocalPointerClassName(LocalPointerClassName &&src)
U_NOEXCEPT \
:info:build ^
:info:build /opt/local/include/libxml2/unicode/platform.h:529:23: note:
expanded from macro 'U_NOEXCEPT'
:info:build # define U_NOEXCEPT noexcept
:info:build ^
:info:build In file included from frame/frmarkerxml.C:7:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlreader.h:14:
:info:build In file included from
/opt/local/include/libxml2/libxml/tree.h:1307:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlmemory.h:218:
:info:build In file included from
/opt/local/include/libxml2/libxml/threads.h:35:
:info:build In file included from
/opt/local/include/libxml2/libxml/globals.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 /opt/local/include/unicode/ucnv.h:585:1: warning: rvalue
references are a C++11 extension [-Wc++11-extensions]
:info:build U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer,
UConverter, ucnv_close);
:info:build ^
:info:build /opt/local/include/libxml2/unicode/localpointer.h:568:53:
note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
:info:build LocalPointerClassName(LocalPointerClassName &&src)
U_NOEXCEPT \
:info:build ^
:info:build In file included from frame/frmarkerxml.C:7:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlreader.h:14:
:info:build In file included from
/opt/local/include/libxml2/libxml/tree.h:1307:
:info:build In file included from
/opt/local/include/libxml2/libxml/xmlmemory.h:218:
:info:build In file included from
/opt/local/include/libxml2/libxml/threads.h:35:
:info:build In file included from
/opt/local/include/libxml2/libxml/globals.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 /opt/local/include/unicode/ucnv.h:585:1: error: expected ';'
at end of declaration list
:info:build /opt/local/include/libxml2/unicode/localpointer.h:568:60:
note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
:info:build LocalPointerClassName(LocalPointerClassName &&src)
U_NOEXCEPT \
:info:build ^
:info:build /opt/local/include/libxml2/unicode/platform.h:529:23: note:
expanded from macro 'U_NOEXCEPT'
:info:build # define U_NOEXCEPT noexcept
:info:build ^
:info:build /usr/bin/clang -DPACKAGE_NAME=\"tksao\"
-DPACKAGE_TARNAME=\"tksao\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"tksao\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DBUILD_tksao=/\*\*/ -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SHM_H=1 -DUSE_THREAD_ALLOC=1
-D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSTATIC_BUILD=1
-DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
-DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_IS_LONG=1 -I.
-I./colorbar -I./fitsy++ -I./frame -I./list -I./magnifier -I./panner
-I./util -I./vector -I./wcssubs -I./widget -I/opt/local/var/macports/build
/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/include
-I/opt/local/include/libxml2 -I"/opt/local/var/macports/build
/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tcl8.6/generic"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/generic"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/unix"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/generic/ttk"
-I/opt/local/include -pipe -g -Wall -c `echo frame/grid.C` -o
frame/grid.o
:info:build /usr/bin/clang -DPACKAGE_NAME=\"tksao\"
-DPACKAGE_TARNAME=\"tksao\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"tksao\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DBUILD_tksao=/\*\*/ -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SHM_H=1 -DUSE_THREAD_ALLOC=1
-D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSTATIC_BUILD=1
-DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
-DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_IS_LONG=1 -I.
-I./colorbar -I./fitsy++ -I./frame -I./list -I./magnifier -I./panner
-I./util -I./vector -I./wcssubs -I./widget -I/opt/local/var/macports/build
/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/include
-I/opt/local/include/libxml2 -I"/opt/local/var/macports/build
/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tcl8.6/generic"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/generic"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/unix"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/generic/ttk"
-I/opt/local/include -pipe -g -Wall -c `echo frame/grid25d.C` -o
frame/grid25d.o
:info:build /usr/bin/clang -DPACKAGE_NAME=\"tksao\"
-DPACKAGE_TARNAME=\"tksao\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"tksao\ 1.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DBUILD_tksao=/\*\*/ -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SHM_H=1 -DUSE_THREAD_ALLOC=1
-D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSTATIC_BUILD=1
-DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
-DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_IS_LONG=1 -I.
-I./colorbar -I./fitsy++ -I./frame -I./list -I./magnifier -I./panner
-I./util -I./vector -I./wcssubs -I./widget -I/opt/local/var/macports/build
/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/include
-I/opt/local/include/libxml2 -I"/opt/local/var/macports/build
/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tcl8.6/generic"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/generic"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/unix"
-I"/opt/local/var/macports/build/_Users_lpsinger_src_lscsoft-
macports_testing_science_ds9/ds9/work/SAOImageDS9/tk8.6/generic/ttk"
-I/opt/local/include -pipe -g -Wall -c `echo frame/grid2d.C` -o
frame/grid2d.o
:info:build 7 warnings and 4 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59692#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list