[MacPorts] #36332: qca: error: use of undeclared identifier 'set' (was: Building qca fails)

MacPorts noreply at macports.org
Wed Sep 26 06:25:40 PDT 2012


#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


More information about the macports-tickets mailing list