From uji@yokota-s.otaru-uc.ac.jp  Thu Jul 19 16:28:11 2007
Return-Path: <uji@yokota-s.otaru-uc.ac.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1610216A401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Jul 2007 16:28:11 +0000 (UTC)
	(envelope-from uji@yokota-s.otaru-uc.ac.jp)
Received: from ca1.otaru-uc.ac.jp (ca1.otaru-uc.ac.jp [150.83.48.27])
	by mx1.freebsd.org (Postfix) with ESMTP id A7AD713C4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Jul 2007 16:28:10 +0000 (UTC)
	(envelope-from uji@yokota-s.otaru-uc.ac.jp)
Received: from canal1.otaru-uc.ac.jp (canal1 [150.83.48.23])
	by ca1.otaru-uc.ac.jp (Postfix) with ESMTP id 3D2ADE1D37
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jul 2007 00:30:54 +0900 (JST)
Received: from room520-1.yokota-s.otaru-uc.ac.jp (room520-1.yokota-s.otaru-uc.ac.jp [150.83.100.4])
        by canal1.otaru-uc.ac.jp (SMTP) with ESMTP id l6JFUskc012883
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jul 2007 00:30:54 +0900 (JST)
Received: by room520-1.yokota-s.otaru-uc.ac.jp (Postfix, from userid 1000)
	id 64DA6B831; Fri, 20 Jul 2007 00:35:18 +0900 (JST)
Message-Id: <20070719153518.64DA6B831@room520-1.yokota-s.otaru-uc.ac.jp>
Date: Fri, 20 Jul 2007 00:35:18 +0900 (JST)
From: Koji Yokota <yokota@res.otaru-uc.ac.jp>
Reply-To: Koji Yokota <yokota@res.otaru-uc.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Multiple qt4 ports fail to compile on amd64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         114734
>Category:       ports
>Synopsis:       x11-toolkits/qt4-gui: fails to compile on amd64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kde
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 19 16:30:10 GMT 2007
>Closed-Date:    Mon Aug 06 11:39:22 GMT 2007
>Last-Modified:  Mon Aug 06 11:39:22 GMT 2007
>Originator:     Koji Yokota
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
Otaru University of Commerce
>Environment:
System: FreeBSD hoge.hoge.otaru-uc.ac.jp 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Thu Dec 28 16:17:05 JST 2006 hoge@hoge.hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/SMP i386
	
>Description:
Build of qt4-gui-4.3.0 fails on amd64 with the following messages:

c++ -c -O2 -fno-strict-aliasing -pipe -march=athlon64 -g -fno-exceptions -D_REEN
TRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -fno-s
trict-aliasing -pipe -march=athlon64 -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_L
IB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_SSE2 -DQT_NO_STYLE
_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -D
QT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local
/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore -I../../include/QtCore
 -I../../include -I. -I../../include/QtGui -I/usr/local/include/freetype2 -I../3
rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/local/include -I.uic
/release-shared -I/usr/local/include -o .obj/release-shared/qstylesheetstyle.o s
tyles/qstylesheetstyle.cpp
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In member function
 `virtual QRect QStyleSheetStyle::subElementRect(QStyle::SubElement, const QStyl
eOption*, const QWidget*) const':
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:105: error: inconsi
stent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:105: error: inconsi
stent operand constraints in an `asm'
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.3.0/src/gui
.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt4-gui.
*** Error code 1

>How-To-Repeat:
        make on an amd64 box
        dependent ports such as qt4-corelib are up-to-date
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kde 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jul 19 16:30:21 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114734 
State-Changed-From-To: open->feedback 
State-Changed-By: lofi 
State-Changed-When: Thu Jul 19 18:58:59 UTC 2007 
State-Changed-Why:  
Feedback requested for proposed patch. 


Class-Changed-From-To: update->sw-bug 
Class-Changed-By: lofi 
Class-Changed-When: Thu Jul 19 18:58:59 UTC 2007 
Class-Changed-Why:  


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

From: Michael Nottebrock <lofi@freebsd.org>
To: bug-followup@freebsd.org, yokota@res.otaru-uc.ac.jp
Cc:  
Subject: Re: ports/114734: x11-toolkits/qt4-gui: fails to compile on amd64
Date: Fri, 20 Jul 2007 11:10:09 +0200

 Please download this patch:
 http://people.freebsd.org/~lofi/patch-qt4-gui.txt
 
 Apply it to the qt4-gui port:
 
 # cd /usr/ports/x11-toolkits/qt4-gui
 # patch < /path/to/patch-qt4-gui.txt
 
 Then try recompiling the port:
 
 # make clean && make
 
 ... and let me know if it works for you.

From: Pav Lucistnik <pav@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114734: x11-toolkits/qt4-gui: fails to compile on amd64
Date: Sat, 21 Jul 2007 14:12:39 +0200

 Yes, this patch works for me. Please commit.
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 What is the airspeed velocity of an unladen swallow?
 
State-Changed-From-To: feedback->closed 
State-Changed-By: lofi 
State-Changed-When: Sat Jul 21 13:46:51 UTC 2007 
State-Changed-Why:  
Fixed, thanks for reporting! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114734: commit references a PR
Date: Sat, 21 Jul 2007 13:46:42 +0000 (UTC)

 lofi        2007-07-21 13:46:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11-toolkits/qt4-gui Makefile 
   Log:
   Fix build on amd64.
   
   PR: ports/114734
   
   Revision  Changes    Path
   1.10      +5 -1      ports/x11-toolkits/qt4-gui/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Koji Yokota <yokota@res.otaru-uc.ac.jp>
To: lofi@FreeBSD.org, kde@FreeBSD.org, bug-followup@freebsd.org
Cc:  
Subject: Re: ports/114734: x11-toolkits/qt4-gui: fails to compile on amd64
Date: Sun, 22 Jul 2007 03:12:37 +0900

 It worked, thanks!
 
 But some other ports such as devel/qt4-designer (I don't confirm other
 ports yet) seem to require the same fix, too.
State-Changed-From-To: closed->feedback 
State-Changed-By: lofi 
State-Changed-When: Sun Jul 22 06:42:32 UTC 2007 
State-Changed-Why:  
It looks like there might be more breakage. 

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

From: Michael Nottebrock <lofi@freebsd.org>
To: Koji Yokota <yokota@res.otaru-uc.ac.jp>
Cc: kde@freebsd.org, bug-followup@freebsd.org
Subject: Re: ports/114734: x11-toolkits/qt4-gui: fails to compile on amd64
Date: Sun, 22 Jul 2007 08:40:43 +0200

 Koji Yokota schrieb:
 > It worked, thanks!
 >
 > But some other ports such as devel/qt4-designer (I don't confirm other
 > ports yet) seem to require the same fix, too.
 >   
 Please let me know about other qt4 ports that fail in the same way (you
 can add followups to the bug report) and I'll try and patch them - I
 currently do not have access to an amd64 installation, so I cannot find
 the broken ports myself.
 
 Cheers,
 -- 
 
    ,_,   | Michael Nottebrock               | lofi@freebsd.org
  (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
    \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
 
State-Changed-From-To: feedback->closed 
State-Changed-By: lofi 
State-Changed-When: Mon Aug 6 11:38:53 UTC 2007 
State-Changed-Why:  
Believed to be fixed for good now. 

Thanks for reporting! 

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