From owner-freebsd-ports@FreeBSD.ORG Mon Mar 11 10:37:41 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7E4E98D9 for ; Mon, 11 Mar 2013 10:37:41 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0B9543FE for ; Mon, 11 Mar 2013 10:37:40 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:24421] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r2BAbW4U090091 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Mon, 11 Mar 2013 14:37:33 +0400 (MSK) From: Max Brazhnikov To: freebsd-ports@freebsd.org Subject: Re: Stop in /usr/ports/devel/qt4-corelib. Date: Mon, 11 Mar 2013 10:38:35 +0000 Message-ID: <7701951.yfeZQ1lvvE@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.10.1; amd64; ; ) In-Reply-To: <513BA86E.2040907@intersonic.se> References: <513BA86E.2040907@intersonic.se> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Per olof Ljungmark X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 10:37:41 -0000 On Sat, 09 Mar 2013 22:23:58 +0100 Per olof Ljungmark wrote: > FreeBSD 9.1-STABLE #0 r248028 > > Ports tree from an hour ago > > The error is > > g++ -c -O2 -pipe -fno-strict-aliasing -pthread > -I/usr/local/include/glib-2.0 -I/usr/local/include -O2 > -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -pthread > -D_THREAD_SAFE -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB > -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS > -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_USE_ICU > -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -DQT_NO_DEBUG -DQT_HAVE_MMX > -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 > -DQT_HAVE_SSSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE > -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include > -I../../include/QtCore -I.rcc/release-shared -Iglobal > -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 > -I.moc/release-shared -I/usr/local/include/qt4 -I/usr/local/include -o > ..obj/release-shared/qglobal.o global/qglobal.cpp > In file included from ../../include/QtCore/qatomic_arch.h:1, ..skip.. > .../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function > 'uint qstrlen(const char*)': > .../../include/QtCore/../../src/corelib/tools/qbytearray.h:79: error: > redefinition of 'uint qstrlen(const char*)' > /usr/local/include/qcstring.h:57: error: 'uint qstrlen(const char*)' The problem is that qt-3 installs headers directly to common path /usr/local/include and these headers are included instead of Qt4's. As a workaroud you may deinstall qt-3, update your ports and then install qt3. Max