[MacPorts] #36332: Building qca fails
#36332: Building qca fails --------------------+-------------------------------- Reporter: ben@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: qca --------------------+-------------------------------- I get the following error when attempting to build qca (a dependency of ktouch). I'm using Mountain Lion, Xcode 4.5, and my ports are installed to /opt/macports. The log file that it mentions is attached.
sudo port -v install qca
---> Computing dependencies for qca. ---> Fetching distfiles for qca ---> Verifying checksum(s) for qca ---> Checksumming qca-2.0.3.tar.bz2 ---> Extracting qca ---> Extracting qca-2.0.3.tar.bz2 ---> Applying patches to qca ---> Applying patch-configure.diff patching file configure ---> Configuring qca Configuring Qt Cryptographic Architecture (QCA) ... PREFIX=/opt/macports BINDIR=/opt/macports/bin INCDIR=/opt/macports/include LIBDIR=/opt/macports/lib DATADIR=/opt/macports/share EX_QTDIR=/opt/macports QC_STATIC= QC_RELEASE=Y QC_DEBUG= QC_DEBUG_AND_RELEASE= QC_NO_SEPARATE_DEBUG_INFO= QC_SEPARATE_DEBUG_INFO= QC_NO_FRAMEWORK=Y QC_FRAMEWORK= QC_UNIVERSAL= QC_MAC_SDK= QC_DISABLE_TESTS= QC_CERTSTORE_PATH= QC_CERTSTORE_INTERNAL= Verifying Qt 4 build environment ... qmake found in /opt/macports/bin/qmake makespec is macx-g++ Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks -> ok conf command: [./configure] conf path: [./configure] srcdir: [/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3] builddir: [/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3] profile: [/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/qca.pro] qmake path: [/opt/macports/bin/qmake] qmakespec: [] make tool: [/opt/macports/bin/gmake] Checking for Qt >= 4.2 ... * QT_VERSION = 0x40803 -> yes * extra += CONFIG += release * extra += CONFIG += x86_64 * extra += DEFINES += DATADIR=\\\"$$DATADIR/qca\\\" * DEFINES += HAVE_SYS_FILIO_H * Wrote atest.cpp: # include <stdlib.h> # include <sys/mman.h> int main() { void *f = 0; return mlock(f,8); } * Wrote atest.pro: CONFIG += console CONFIG -= qt app_bundle DESTDIR = $$PWD SOURCES += atest.cpp * [/opt/macports/bin/qmake atest.pro] * returned: 0 * [/opt/macports/bin/gmake] /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -o atest.o atest.cpp /usr/bin/clang++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.8 -o atest atest.o * returned: 0 * [/opt/macports/bin/gmake distclean] rm -f atest.o rm -f *~ core *.core rm -f atest rm -f Makefile * returned: 0 * extra += * extra += prffiles.path = /opt/macports/share/qt4/mkspecs/features prffiles.files = crypto.prf INSTALLS += prffiles * extra += pcfiles.path = $$LIBDIR/pkgconfig pcfiles.files = lib/pkgconfig/qca2.pc INSTALLS += pcfiles Checking for certstore ...Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks using Mac built-in Good, your configure finished. Now run /opt/macports/bin/gmake. ---> Building qca make: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3' cd tools/ && /opt/macports/bin/qmake /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/tools/tools.pro -o Makefile cd src/ && /opt/macports/bin/qmake /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/src/src.pro -o Makefile cd unittest/ && /opt/macports/bin/qmake /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/unittest/unittest.pro -o Makefile cd examples/ && /opt/macports/bin/qmake /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/examples/examples.pro -o Makefile Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks cd src/ && /usr/bin/make -f Makefile all make[1]: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/src' /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o util.o botantools/botan/util.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o charset.o botantools/botan/charset.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o parsing.o botantools/botan/parsing.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o exceptn.o botantools/botan/exceptn.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mutex.o botantools/botan/mutex.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mux_qt.o botantools/botan/mux_qt/mux_qt.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o defalloc.o botantools/botan/defalloc.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mem_pool.o botantools/botan/mem_pool.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o libstate.o botantools/botan/libstate.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o modules.o botantools/botan/modules.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_comba.o botantools/botan/mp_comba.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_mul.o botantools/botan/mp_mul.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_mulop.o botantools/botan/mp_mulop.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_shift.o botantools/botan/mp_shift.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_asm.o botantools/botan/mp_asm.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_misc.o botantools/botan/mp_misc.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o divide.o botantools/botan/divide.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o bit_ops.o botantools/botan/bit_ops.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_base.o botantools/botan/big_base.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_code.o botantools/botan/big_code.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_io.o botantools/botan/big_io.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_ops2.o botantools/botan/big_ops2.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_ops3.o botantools/botan/big_ops3.cpp In file included from botantools/botan/big_ops2.cpp:34: In file included from botantools/botan/botan/bigint.h:38: botantools/botan/botan/secmem.h:217:41: error: use of undeclared identifier 'set' { MemoryRegion<T>::init(true); set(in, n); } ^ this-> botantools/botan/big_ops2.cpp:170:26: note: in instantiation of member function 'QCA::Botan::SecureVector<unsigned int>::SecureVector' requested here SecureVector<word> z(data(), x_sw); ^ botantools/botan/botan/secmem.h:83:12: note: must qualify identifier to find this declaration in dependent base class void set(const T in[], u32bit n) { create(n); copy(in, n); } ^ botantools/botan/botan/secmem.h:84:12: note: must qualify identifier to find this declaration in dependent base class void set(const MemoryRegion<T>& in) { set(in.begin(), in.size()); } ^ 1 error generated. make[1]: *** [big_ops2.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/src' make: *** [sub-src-all] Error 2 make: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3' Command failed: cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3" && /usr/bin/make -j4 -w all Exit code: 2 Warning: targets not executed for qca: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port qca for details: /opt/macports/var/macports/logs/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets -- Ticket URL: <https://trac.macports.org/ticket/36332> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… Old description:
I get the following error when attempting to build qca (a dependency of ktouch).
I'm using Mountain Lion, Xcode 4.5, and my ports are installed to /opt/macports.
The log file that it mentions is attached.
sudo port -v install qca
---> Computing dependencies for qca. ---> Fetching distfiles for qca ---> Verifying checksum(s) for qca ---> Checksumming qca-2.0.3.tar.bz2 ---> Extracting qca ---> Extracting qca-2.0.3.tar.bz2 ---> Applying patches to qca ---> Applying patch-configure.diff patching file configure ---> Configuring qca Configuring Qt Cryptographic Architecture (QCA) ...
PREFIX=/opt/macports BINDIR=/opt/macports/bin INCDIR=/opt/macports/include LIBDIR=/opt/macports/lib DATADIR=/opt/macports/share EX_QTDIR=/opt/macports QC_STATIC= QC_RELEASE=Y QC_DEBUG= QC_DEBUG_AND_RELEASE= QC_NO_SEPARATE_DEBUG_INFO= QC_SEPARATE_DEBUG_INFO= QC_NO_FRAMEWORK=Y QC_FRAMEWORK= QC_UNIVERSAL= QC_MAC_SDK= QC_DISABLE_TESTS= QC_CERTSTORE_PATH= QC_CERTSTORE_INTERNAL=
Verifying Qt 4 build environment ... qmake found in /opt/macports/bin/qmake makespec is macx-g++ Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks -> ok conf command: [./configure] conf path: [./configure] srcdir: [/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3] builddir: [/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3] profile: [/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/qca.pro] qmake path: [/opt/macports/bin/qmake] qmakespec: [] make tool: [/opt/macports/bin/gmake]
Checking for Qt >= 4.2 ... * QT_VERSION = 0x40803 -> yes
* extra += CONFIG += release
* extra += CONFIG += x86_64
* extra += DEFINES += DATADIR=\\\"$$DATADIR/qca\\\"
* DEFINES += HAVE_SYS_FILIO_H * Wrote atest.cpp: # include <stdlib.h> # include <sys/mman.h> int main() { void *f = 0; return mlock(f,8); }
* Wrote atest.pro: CONFIG += console CONFIG -= qt app_bundle DESTDIR = $$PWD SOURCES += atest.cpp
* [/opt/macports/bin/qmake atest.pro] * returned: 0 * [/opt/macports/bin/gmake] /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -o atest.o atest.cpp /usr/bin/clang++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.8 -o atest atest.o * returned: 0 * [/opt/macports/bin/gmake distclean] rm -f atest.o rm -f *~ core *.core rm -f atest rm -f Makefile * returned: 0 * extra += * extra += prffiles.path = /opt/macports/share/qt4/mkspecs/features prffiles.files = crypto.prf INSTALLS += prffiles
* extra += pcfiles.path = $$LIBDIR/pkgconfig pcfiles.files = lib/pkgconfig/qca2.pc INSTALLS += pcfiles
Checking for certstore ...Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks using Mac built-in
Good, your configure finished. Now run /opt/macports/bin/gmake.
---> Building qca make: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3' cd tools/ && /opt/macports/bin/qmake /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/tools/tools.pro -o Makefile cd src/ && /opt/macports/bin/qmake /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/src/src.pro -o Makefile cd unittest/ && /opt/macports/bin/qmake /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/unittest/unittest.pro -o Makefile cd examples/ && /opt/macports/bin/qmake /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/examples/examples.pro -o Makefile Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/macports/Library/Frameworks cd src/ && /usr/bin/make -f Makefile all make[1]: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/src' /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o util.o botantools/botan/util.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o charset.o botantools/botan/charset.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o parsing.o botantools/botan/parsing.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o exceptn.o botantools/botan/exceptn.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mutex.o botantools/botan/mutex.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mux_qt.o botantools/botan/mux_qt/mux_qt.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o defalloc.o botantools/botan/defalloc.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mem_pool.o botantools/botan/mem_pool.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o libstate.o botantools/botan/libstate.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o modules.o botantools/botan/modules.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_comba.o botantools/botan/mp_comba.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_mul.o botantools/botan/mp_mul.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_mulop.o botantools/botan/mp_mulop.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_shift.o botantools/botan/mp_shift.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_asm.o botantools/botan/mp_asm.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o mp_misc.o botantools/botan/mp_misc.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o divide.o botantools/botan/divide.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o bit_ops.o botantools/botan/bit_ops.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_base.o botantools/botan/big_base.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_code.o botantools/botan/big_code.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_io.o botantools/botan/big_io.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_ops2.o botantools/botan/big_ops2.cpp /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx- version-min=10.8 -Wall -W -fPIC -DHAVE_SYS_FILIO_H -DDATADIR=\"/opt/macports/share/qca\" -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DBOTAN_EXT_ALLOC_MMAP -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/macports/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I../include/QtCrypto -I. -Ibotantools/botan -I/opt/macports/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/macports/include -F/opt/macports/Library/Frameworks -F/opt/macports/lib -o big_ops3.o botantools/botan/big_ops3.cpp In file included from botantools/botan/big_ops2.cpp:34: In file included from botantools/botan/botan/bigint.h:38: botantools/botan/botan/secmem.h:217:41: error: use of undeclared identifier 'set' { MemoryRegion<T>::init(true); set(in, n); } ^ this-> botantools/botan/big_ops2.cpp:170:26: note: in instantiation of member function 'QCA::Botan::SecureVector<unsigned int>::SecureVector' requested here SecureVector<word> z(data(), x_sw); ^ botantools/botan/botan/secmem.h:83:12: note: must qualify identifier to find this declaration in dependent base class void set(const T in[], u32bit n) { create(n); copy(in, n); } ^ botantools/botan/botan/secmem.h:84:12: note: must qualify identifier to find this declaration in dependent base class void set(const MemoryRegion<T>& in) { set(in.begin(), in.size()); } ^ 1 error generated. make[1]: *** [big_ops2.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3/src' make: *** [sub-src-all] Error 2 make: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3' Command failed: cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/work/qca-2.0.3" && /usr/bin/make -j4 -w all Exit code: 2 Warning: targets not executed for qca: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port qca for details: /opt/macports/var/macports/logs/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qca/qca/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
New description: I get the following error when attempting to build qca (a dependency of ktouch). I'm using Mountain Lion, Xcode 4.5, and my ports are installed to /opt/macports. The log file that it mentions is attached. -- Comment: Remember to use WikiFormatting and to Cc the maintainer of the affected port. I've deleted the log output you pasted into the ticket description since the log you attached contains the same information. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by michaelld@…): I don't know that I've tried compiling QCA with clang. Might be that I need to block that compiler; I'll give it a try using the latest Apple clang & see what happens. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by michaelld@…): Please attach the file "/opt/macports/share/qt4/mkspecs/common/g++-base.conf". A recent revision to the qt4-mac portfile allowed clang from (xcode >= 4.3). Which I think will be an issue because QMake doesn't play nicely with clang yet -- it does not provided configuration files (such as the one I've asked you to attach) for clang yet; I fully expect Qt 5 will do so, but it's still in development. QCA uses this file to determine the compiler to use, ignoring that provided by MacPorts at configuration time. From your logfile, "/usr/bin/clang++" is being used which means it must be embedded in the QMake configuration files; also since the 'mkspecs' file is "macx-g++", this leads me to believe that qt4-mac was compiled using Apple's latest clang. So, while I'm impressed that qt4-mac was buildable using clang, it does worry me at the same time because of the issue for tickets like this. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by ben@…): Sorry about the mangled formatting in the original post by the way. I tried to edit it as Ryan did but could not find a link to do so. Perhaps I do not have permission. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by michaelld@…): Do I interpret things correctly that you installed qt4-mac with Apple's clang from XCode 4.5.0 as the compiler? That seems to be the case from everything I've seen thus far. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by ben@…): Yes, I trashed my old MacPorts install when I upgraded to Mountain Lion (as the docs recommend). So it's all freshly built with Xcode 4.5. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by michaelld@…): OK; thanks for the prompt replies. It'll take me some time to get qt4-mac re-installed with clang. In the mean time, if you want to "fix" this issue then reinstall qt4-mac using "configure.compiler=llvm-gcc-4.2" appended after the "sudo port install qt4-mac ..." command. Then, qca should install correctly. It might be that I just have to block clang from qt4-mac again, but I'll test it out before doing so. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by ben@…): I can confirm that rebuilding qt4-mac and qca with configure.compiler =llvm-gcc-4.2 avoids the issue. The key was rebuilding qt4-mac - I'm pretty sure I tried recompiling just qca with that flag (I read https://trac.macports.org/wiki/ProblemHotlist before filing this bug) but that was not enough. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by michaelld@…): Thanks for your feedback; that's good to know. Strange, too. I'm researching this issue, to see what makes the most sense for "fixing" it. I suspect I'll end up blocking clang again, but, as I said, I'm going to do some testing first. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qca | ---------------------+------------------------- Comment (by michaelld@…): Looks like it's clang just being picky about C++ template inheritance, but otherwise clang as the compiler for Qt and related ports seems to be OK. I'll patch the code and push that fix shortly. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36332: qca: error: use of undeclared identifier 'set' ---------------------+------------------------- Reporter: ben@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: qca | ---------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Done in r98169. With your identical setup and clang++, this patch works for me. So, I'm closing this ticket as fixed. Do a "sudo port selfupdate" and try building qca again using your qt4-mac (either should work). You can keep your qt4-mac with clang or with llvm-gcc; I'd recommend the latter for now, but the former might work OK. For this specific issue, GCC was able to figure out the template method inheritance correctly while clang was not able to. -- Ticket URL: <https://trac.macports.org/ticket/36332#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts