From mexas@bristol.ac.uk  Mon Apr  7 07:04:57 2014
Return-Path: <mexas@bristol.ac.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 8025A8D8
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Apr 2014 07:04:57 +0000 (UTC)
Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com [207.126.144.123])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id CE5C820F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Apr 2014 07:04:56 +0000 (UTC)
Received: from mail-wg0-f50.google.com ([74.125.82.50]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP
	ID DSNKU0JOEaVjhksCeiph4pO1gpzazuFnUOLb@postini.com; Mon, 07 Apr 2014 07:04:56 UTC
Received: by mail-wg0-f50.google.com with SMTP id x13so6286937wgg.21
        for <FreeBSD-gnats-submit@freebsd.org>; Mon, 07 Apr 2014 00:04:49 -0700 (PDT)
Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241])
        by mx.google.com with ESMTPSA id kp5sm25058342wjb.30.2014.04.07.00.04.47
        for <FreeBSD-gnats-submit@freebsd.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 07 Apr 2014 00:04:48 -0700 (PDT)
Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1])
	by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.6) with ESMTP id s3774kOu021133
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 7 Apr 2014 08:04:46 +0100 (BST)
	(envelope-from mexas@mech-cluster241.men.bris.ac.uk)
Received: (from mexas@localhost)
	by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.6/Submit) id s3774k8o021132;
	Mon, 7 Apr 2014 08:04:46 +0100 (BST)
	(envelope-from mexas)
Message-Id: <201404070704.s3774k8o021132@mech-cluster241.men.bris.ac.uk>
Date: Mon, 7 Apr 2014 08:04:46 +0100 (BST)
From: Anton Shterenlikht <mexas@bris.ac.uk>
Sender: Anton Shterenlikht <mexas@bristol.ac.uk>
Reply-To: Anton Shterenlikht <mexas@bris.ac.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: x11-toolkits/qt4-gui : ia64 : build failure : Cups support cannot be enabled due to functionality tests!synopsis of the problem (one line)>
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         188337
>Category:       ports
>Synopsis:       x11-toolkits/qt4-gui : ia64 : build failure : Cups support cannot be enabled due to functionality tests!synopsis of the problem (one line)>
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kde
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 07:10:03 UTC 2014
>Closed-Date:    Fri Apr 25 10:24:45 UTC 2014
>Last-Modified:  Fri Apr 25 10:24:45 UTC 2014
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 11.0-CURRENT ia64
>Organization:
>Environment:
System: FreeBSD mech-cluster241.men.bris.ac.uk 11.0-CURRENT FreeBSD 11.0-CURRENT #14 r262690: Fri Mar 21 09:02:07 GMT 2014 root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64


	
>Description:

Build error:
Cups support cannot be enabled due to functionality tests!

poudriere log:

http://eis.bris.ac.uk/~mexas/logs/qt4-gui-4.8.5.log

	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kde 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Apr 7 07:10:09 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188337 

From: Anton Shterenlikht <mexas@bris.ac.uk>
To: bug-followup@freebsd.org
Cc:  
Subject: ports/188337: x11-toolkits/qt4-gui : ia64 : build failure : Cups support cannot be enabled due to functionality tests
Date: Tue, 8 Apr 2014 08:15:53 +0100 (BST)

 The build log says:
 
 Cups support cannot be enabled due to functionality tests!
  Turn on verbose messaging (-v) to ./configure to see the final report.
  If you believe this message is in error you may use the continue
  switch (-continue) to ./configure to continue.
 
 I naively tried to do this from under the work
 directory:
 
 # pwd
 /usr/ports/x11-toolkits/qt4-gui/work/qt-everywhere-opensource-src-4.8.5
 # ./configure
 Which edition of Qt do you want to use ?
 
 Type 'c' if you want to use the Commercial Edition.
 Type 'o' if you want to use the Open Source Edition.
 
 o
 
 find: /usr/ports/x11-toolkits/qt4-gui/work/qt-everywhere-opensource-src-4.8.5/mkspecs/: No such file or directory
 realpath: freebsd-g++: No such file or directory
 
    The specified system/compiler is not supported:
 
       /usr/ports/x11-toolkits/qt4-gui/work/qt-everywhere-opensource-src-4.8.5/mkspecs/
 
    Please see the README file for a complete list.
 
 # 
 
 I'm not sure if this is a real error, or
 just an indication that I cannot start
 configure outside of the Makefile?
 
 Thanks
 
 Anton
 

From: Max Brazhnikov <makc@freebsd.org>
To: bug-followup@freebsd.org, mexas@bris.ac.uk
Cc:  
Subject: Re: ports/188337: x11-toolkits/qt4-gui : ia64 : build failure : Cups support cannot be enabled due to functionality tests!synopsis of the problem (one line)&gt;
Date: Wed, 09 Apr 2014 17:43:28 +0000

 To obtain detailed configure output pass WANT_QT_VERBOSE_CONFIGURE=1 to make.

From: Anton Shterenlikht <mexas@bris.ac.uk>
To: bug-followup@freebsd.org
Cc:  
Subject: ports/188337: x11-toolkits/qt4-gui : ia64 : build failure : Cups support cannot be enabled due to functionality tests
Date: Fri, 11 Apr 2014 10:57:42 +0100 (BST)

 Now I get many errors, which suggest the build
 thinks this is an x86 box:
 
 http://eis.bris.ac.uk/~mexas/logs/qt4-qui-4.8.5-verbose.log
 
 Examples of errors:
 
 cc1plus: error: unrecognized command line option "-mmmx"
 cc1plus: error: unrecognized command line option "-m3dnow"
 cc1plus: error: unrecognized command line option "-msse"
 cc1plus: error: unrecognized command line option "-msse2"
 cc1plus: error: unrecognized command line option "-msse3"
 db2.cpp:42:20: error: sqlcli.h: No such file or directory
 db2.cpp:43:21: error: sqlcli1.h: No such file or directory
 ibase.cpp:42:19: error: ibase.h: No such file or directory
 mysql.cpp:42:19: error: mysql.h: No such file or directory
 psql.cpp:46: error: 'PQescapeBytea' was not declared in this scope
 psql.cpp:47: error: 'PQunescapeBytea' was not declared in this scope

From: Anton Shterenlikht <mexas@bris.ac.uk>
To: bug-followup@freebsd.org
Cc:  
Subject: ports/188337: x11-toolkits/qt4-gui : ia64 : build failure : Cups support cannot be enabled due to functionality tests
Date: Fri, 11 Apr 2014 11:57:20 +0100 (BST)

 Sorry, on closer look, I see that all those
 errors are just configure trying to see what
 is available. The real error is this:
 
 Cups auto-detection... ()
 g++ -c -pipe -O2 -fno-strict-aliasing -O2 -Wall -W  -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore -I../../include/QtGui -I../../include/Qt -I../../include -I. -I/usr/local/include -I/usr/local/include/qt4 -I/usr/local/include -o cups.o cups.cpp
 In file included from cups.cpp:42:
 /usr/local/include/cups/cups.h:34:35: error: dispatch/dispatch.h: No such file or directory
 *** Error code 1
 
 Stop.
 make[1]: stopped in /usr/ports/x11-toolkits/qt4-gui/work/qt-everywhere-opensource-src-4.8.5/config.tests/unix/cups
 Cups disabled.
 Cups support cannot be enabled due to functionality tests!
 
 which is identical to:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/188161
 
 and should probably be fixed the same way.
 (I now see that PR 188161 hasn't got the latest patch).
 
 print/cups-base now has:
 
 .if (defined(CUPS_CLIENT) || defined(CUPS_IMAGE)) && ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1000000
 CFLAGS+=        -fno-blocks
 .endif
 
 I think this port should have something like this,
 at least on ia64.
 
 Thanks
 
 Anton
 

From: Anton Shterenlikht <mexas@bris.ac.uk>
To: bug-followup@freebsd.org
Cc:  
Subject: ports/188337: x11-toolkits/qt4-gui : ia64 : build failure : Cups support cannot be enabled due to functionality tests
Date: Fri, 25 Apr 2014 09:47:13 +0100 (BST)

 Seems fixed in r351987:
 
 http://eis.bris.ac.uk/~mexas/logs/qt4-gui-4.8.5.log
 
 Please close this PR.
State-Changed-From-To: open->closed 
State-Changed-By: makc 
State-Changed-When: Fri Apr 25 10:24:44 UTC 2014 
State-Changed-Why:  
The problem was fixed in cups port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188337 
>Unformatted:
