Bug 723652

Summary: gdcm fails to build
Product: [Fedora] Fedora Reporter: Ankur Sinha (FranciscoD) <sanjay.ankur>
Component: cmakeAssignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jreznik, mrceresa, orion, pertusus, rdieter, thinklinux.ssh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-25 17:37:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
build.log none

Description Ankur Sinha (FranciscoD) 2011-07-20 18:31:34 UTC
Created attachment 514068 [details]
build.log

Hello,

Not sure if this is a cmake bug. Please reassign it to the correct component if required.

I'm trying to build gdcm in rawhide. It's currently broken.

Build.log is attached -> It fails because it can't find a header file. 

However, in the mock build root,I see that the required header is actually present:

[root@ankur gdcm-2.0.17]# pwd
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/gdcm-2.0.17
[root@ankur gdcm-2.0.17]# !find
find . -name "gdcmConfigure.h" -print
./Source/Common/gdcmConfigure.h
[root@ankur gdcm-2.0.17]# 

I'm stuck here, since I can't find why it doesn't find the header.

Comment 1 Rex Dieter 2011-07-20 19:01:36 UTC
Looks like UseSWIG.cmake may be broken,

http://cmake.org/Bug/bug_relationship_graph.php?bug_id=12307&graph=dependency&orientation=vertical

Comment 2 Ankur Sinha (FranciscoD) 2011-07-20 19:06:46 UTC
(In reply to comment #1)
> Looks like UseSWIG.cmake may be broken,
> 
> http://cmake.org/Bug/bug_relationship_graph.php?bug_id=12307&graph=dependency&orientation=vertical

Confirming that:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3216031

builds correctly on F15 with the older cmake:

[ankur@ankur SRPMS]$ rpm -q cmake
cmake-2.8.4-1.fc15.x86_64

Comment 3 Orion Poplawski 2011-07-21 20:36:04 UTC
I've built rc3 with the revert patch from issue 12307.  Please try that.

Comment 4 Ankur Sinha (FranciscoD) 2011-07-22 02:28:08 UTC
Hi Orion,

Hasn't reached the repos yet. I'll rebuild and post ASAP.

Thanks!
Ankur

Comment 5 Ankur Sinha (FranciscoD) 2011-07-25 17:30:47 UTC
Hi Orion,

It builds correctly in mock for me. The gdcm maintainer, mario seems to be away for sometime. I've requested Rahul, a proven packager to bump spec and rebuild gdcm for me. 

You can close the bug :)

Thanks :)
Ankur