Bug 539042

Summary: FTBFS OpenSceneGraph-2.8.2-3.fc12
Product: [Fedora] Fedora Reporter: FTBFS <ftbfs>
Component: OpenSceneGraphAssignee: Ralf Corsepius <rc040203>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: matt_domsch, rc040203
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-20 04:54:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 538681    
Attachments:
Description Flags
root.log
none
build.log
none
mock.log
none
root.log
none
build.log
none
mock.log none

Description FTBFS 2009-11-19 16:33:22 UTC
OpenSceneGraph-2.8.2-3.fc12.src.rpm Failed To Build From Source against the rawhide tree.  See http://fedoraproject.org/wiki/FTBFS for more information.

Comment 1 FTBFS 2009-11-19 16:33:25 UTC
Setting to ASSIGNED per Fedora Bug Triage workflow.  https://fedoraproject.org/wiki/BugZappers/BugStatusWorkFlow

Comment 2 FTBFS 2009-11-19 16:33:28 UTC
Created attachment 371297 [details]
root.log

root.log for i386

Comment 3 FTBFS 2009-11-19 16:33:32 UTC
Created attachment 371298 [details]
build.log

build.log for i386

Comment 4 FTBFS 2009-11-19 16:33:33 UTC
Created attachment 371299 [details]
mock.log

mock.log for i386

Comment 5 FTBFS 2009-11-19 16:33:36 UTC
Created attachment 371300 [details]
root.log

root.log for x86_64

Comment 6 FTBFS 2009-11-19 16:33:39 UTC
Created attachment 371301 [details]
build.log

build.log for x86_64

Comment 7 FTBFS 2009-11-19 16:33:40 UTC
Created attachment 371302 [details]
mock.log

mock.log for x86_64

Comment 8 Ralf Corsepius 2009-11-20 04:54:36 UTC
Can't reproduce.

Scratch builts for both FC12 and FC13 don't fail:
FC13: http://koji.fedoraproject.org/koji/taskinfo?taskID=1818717
FC12: http://koji.fedoraproject.org/koji/taskinfo?taskID=1818674

I don't know what the actual cause for your build-breakdowns was, however, based on what I see in your build.logs, I am inclined to think your built might have picked up a broken version of qt.

Comment 9 Matt Domsch 2009-11-20 05:40:25 UTC
using  qt-devel-4.6.0-0.5.beta1.fc13.  

cd /builddir/build/BUILD/OpenSceneGraph-2.8.2/BUILD/examples/osgviewerQT && /usr/bin/c++   -DOSG_DEBUG_POSTFIX=d -DUSE_QT4 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_
SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables  -Wparentheses -Wno-long-long 
-Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fpermissive -I/builddir/build/BUILD/OpenSceneGraph-2.8.2/BUILD/include -I/bu
ilddir/build/BUILD/OpenSceneGraph-2.8.2/OpenSceneGraph-2.8.2/include   -o CMakeFiles/example_osgviewerQT.dir/osgviewerQT.o -c /builddir/build/BUILD/OpenScene
Graph-2.8.2/OpenSceneGraph-2.8.2/examples/osgviewerQT/osgviewerQT.cpp
In file included from /usr/include/QtGui/QtGui:134,
                 from /builddir/build/BUILD/OpenSceneGraph-2.8.2/OpenSceneGraph-2.8.2/examples/osgviewerQT/QOSGWidget.cpp:32:
/usr/include/QtGui/qgesturerecognizer.h:45:21: error: qglobal.h: No such file or directory

now qglobal.h is present in 2 places:
$rpm -qpl qt-devel-4.6.0-0.5.beta1.fc13.i686.rpm | grep qglobal
/usr/include/Qt/qglobal.h
/usr/include/QtCore/qglobal.h

but I don't see -I/usr/include/Qt/   or similar construct.    That could do it.

Comment 10 Matt Domsch 2009-11-20 05:45:43 UTC
http://qt.gitorious.org/+qt-l10n-ru/qt/qt-i18n-ru/commit/f93ade8e1976ea605fe78c4c663ff8f8fa41d323.patch

From f93ade8e1976ea605fe78c4c663ff8f8fa41d323 Mon Sep 17 00:00:00 2001
From: Denis Dzyubenko <denis.dzyubenko>
Date: Mon, 12 Oct 2009 10:46:17 +0200
Subject: [PATCH] Fixed warnings autotest.

Reviewed-by: Olivier Goffart
---
 src/corelib/global/qnamespace.h     |    2 +-
 src/gui/kernel/qgesturerecognizer.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 6d8c4e7..ad4bc55 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -1635,7 +1635,7 @@ public:
     enum GestureContext
     {
         WidgetGesture             = 0,
-        WidgetWithChildrenGesture = 3,
+        WidgetWithChildrenGesture = 3
     };
 
     enum NavigationMode
diff --git a/src/gui/kernel/qgesturerecognizer.h b/src/gui/kernel/qgesturerecognizer.h
index c85afd2..efd8565 100644
--- a/src/gui/kernel/qgesturerecognizer.h
+++ b/src/gui/kernel/qgesturerecognizer.h
@@ -42,7 +42,7 @@
 #ifndef QGESTURERECOGNIZER_H
 #define QGESTURERECOGNIZER_H
 
-#include "qglobal.h"
+#include <QtCore/qglobal.h>
 
 QT_BEGIN_HEADER
 
-- 
1.6.1



That would definitely do it.

Comment 11 Matt Domsch 2009-11-20 05:52:54 UTC
http://qt.gitorious.org/qt/qt/commit/f93ade8e1976ea605fe78c4c663ff8f8fa41d323

was when that hit mainline, and you picked it up due to the Qt bump.  OK, this can stay closed then. :-)