Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1070306

Summary: Fix dbus-c++ bootstrap script for ppc64le
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: dbus-c++Assignee: Adel Gadllah <adel.gadllah>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: adel.gadllah, jpopelka
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: dbus-c++-0.9.0-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-26 15:31:20 UTC Type: Bug
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: 1051573    

Description Brent Baude 2014-02-26 15:21:16 UTC
Due to outdated config.guess, the current dbus-c+= doesnt compile for ppc64le.  A trivial change to the bootstrap script which calls libtoolize fixes this.  Please consider the following patches:

[baude@localhost dbus-c++]$ git diff
diff --git a/dbus-c++.spec b/dbus-c++.spec
index 9706eb2..b604ff4 100644
--- a/dbus-c++.spec
+++ b/dbus-c++.spec
@@ -1,6 +1,6 @@
 Name:           dbus-c++
 Version:        0.9.0
-Release:        1%{?dist}
+Release:        1.1%{?dist}
 Summary:        Native C++ bindings for D-Bus
 
 Group:          System Environment/Libraries
@@ -10,6 +10,7 @@ Source0:        http://downloads.sourceforge.net/dbus-cplusplus/lib%{name}-%{ver
 
 Patch1: dbus-c++-gcc4.7.patch
 Patch2: dbus-c++-linkfix.patch
+Patch99: dbus_libtoolize.patch
 
 BuildRequires: dbus-devel
 BuildRequires: glib2-devel
@@ -37,6 +38,7 @@ developing applications that use %{name}.
 %{__sed} -i 's/\r//' AUTHORS
 %patch1 -p1 -b .gcc47
 %patch2 -p1 -b .linkfix
+%patch99 -p1
 
 %build
 ./autogen.sh


And patch99 is:
[baude@localhost dbus-c++]$ cat dbus_libtoolize.patch 
--- libdbus-c++-0.9.0/bootstrap.orig	2014-02-26 09:08:56.000000000 -0600
+++ libdbus-c++-0.9.0/bootstrap	2014-02-26 09:09:51.000000000 -0600
@@ -56,7 +56,7 @@
 fi
 
 echo "Running libtoolize..."
-libtoolize --force --copy
+libtoolize -if --copy
 
 aclocalinclude="$ACLOCAL_FLAGS -I m4"
 echo "Running aclocal $aclocalinclude ..."