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 - Fix dbus-c++ bootstrap script for ppc64le
Summary: Fix dbus-c++ bootstrap script for ppc64le
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dbus-c++
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adel Gadllah
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-02-26 15:21 UTC by Brent Baude
Modified: 2014-02-26 15:31 UTC (History)
2 users (show)

Fixed In Version: dbus-c++-0.9.0-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-26 15:31:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ..."


Note You need to log in before you can comment on or make changes to this bug.