Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2009 00:15:04 GMT
From:      Kalten <kalten@gmx.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   =?iso-8859-1?q?ports/133478=3A_devel/qt4-uic_etc=2E_error=3A_=93?= =?iso-8859-1?q?The_specified_system/compiler_is_not_supported=94?=
Message-ID:  <200904080015.n380F4JN080446@www.freebsd.org>
Resent-Message-ID: <200904080020.n380K45q024190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133478
>Category:       ports
>Synopsis:       devel/qt4-uic etc. error: “The specified system/compiler is not supported”
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 08 00:20:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kalten
>Release:        7.2-PRERELEASE FreeBSD_version: 701106
>Organization:
>Environment:
FreeBSD freeHugin.Walhalla.Leben 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: Sun Apr 5 16:59:40 UTC 2009 root@freeHugin.Walhalla.Leben:/usr/obj/usr/src/sys/HUGIN i386
>Description:
I tried to compile kde4, when the following happened:

For example at port devel/qt4-uic there was an error I know since a long time:
---SCHNIPP---
/bin/cp /usr/ports/devel/qt4-uic/../../devel/qt4/files/configure /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.3/src/tools/uic/../../../
/usr/bin/sed -i.bak -e 's|target.path.*|target.path=/usr/local/bin|g'  -e 's|^TARGET.*|TARGET=uic-qt4|g'  /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.3/src/tools/uic/uic.pro
/bin/mkdir -p /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.3/src/tools/uic/../../../mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.3/src/tools/uic/../../../bin/qmake

This is the Qt/X11 Open Source Edition.


   The specified system/compiler is not supported:

      /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.3/mkspecs/freebsd-g++

   Please see the README file for a complete list.

===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.3/src/tools/uic/../../..//config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/qt4-uic.
---schnapp---
BTW: neighter does the logfile config.log exist in /usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.4.3/src/tools/uic/../../..// nor anywhere else in the /usr/ports/devel/qt4-uic/ directory.
>How-To-Repeat:
for example: »portinstall devel/qt4-uic« or »make« in it.
>Fix:
A little trick does it (but I do not know, whether it is a good idea):
If one takes away a “?” in the file /usr/ports/Mk/bsd.qt.mk as shown in the attached patch, it works.
BTW: the often readable solution: »portupgrade -f devel/qmake4 devel/qt4-corelib« does not do the trick on my box.

Patch attached with submission follows:

--- bsd.qt.mk.orig	2009-02-14 23:58:49.000000000 +0100
+++ bsd.qt.mk	2009-04-07 23:16:16.000000000 +0200
@@ -74,7 +74,7 @@
 MOC?=		${QT_PREFIX}/bin/moc-qt4
 UIC?=		${QT_PREFIX}/bin/uic-qt4
 QMAKE?=		${QT_PREFIX}/bin/qmake-qt4
-QMAKESPEC?=	${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++
+QMAKESPEC=	${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++
 QMAKEFLAGS+=	QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" QMAKE_LINK_SHLIB="${CXX}" \
 		QMAKE_LINK="${CXX}" QMAKE_CFLAGS="${CFLAGS}" \
 		QMAKE_CXXFLAGS="${CXXFLAGS}" \


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904080015.n380F4JN080446>