<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Merged into master, thanks!<br></div><div><br></div><div>Mathieu<br></div><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Yannick Brosseau" <yannick.brosseau@gmail.com><br><b>To: </b>lttng-dev@lists.lttng.org<br><b>Sent: </b>Tuesday, July 1, 2014 12:24:55 PM<br><b>Subject: </b>[lttng-dev] Fwd: [Bug 1114691] New: lttng-ust do not build on ppc64le archi<br><div><br></div><div dir="ltr">We are not white listing powerpc64le in ust build. The following bug report have a patch for it. <br><div><br></div><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername"></b> <span dir="ltr"><<a href="mailto:bugzilla@redhat.com" target="_blank">bugzilla@redhat.com</a>></span><br>
Date: Mon, Jun 30, 2014 at 12:36 PM<br>Subject: [Bug 1114691] New: lttng-ust do not build on ppc64le archi<br>To: <a href="mailto:yannick.brosseau@gmail.com" target="_blank">yannick.brosseau@gmail.com</a><br><div><br></div><br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1114691" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1114691</a><br>
<br>
Bug ID: 1114691<br>
Summary: lttng-ust do not build on ppc64le archi<br>
Product: Fedora<br>
Version: rawhide<br>
Component: lttng-ust<br>
Severity: medium<br>
Assignee: <a href="mailto:yannick.brosseau@gmail.com" target="_blank">yannick.brosseau@gmail.com</a><br>
Reporter: <a href="mailto:normand@linux.vnet.ibm.com" target="_blank">normand@linux.vnet.ibm.com</a><br>
QA Contact: <a href="mailto:extras-qa@fedoraproject.org" target="_blank">extras-qa@fedoraproject.org</a><br>
CC: <a href="mailto:suchakra@gmail.com" target="_blank">suchakra@gmail.com</a>, <a href="mailto:yannick.brosseau@gmail.com" target="_blank">yannick.brosseau@gmail.com</a><br>
<br>
<br>
<br>
Created attachment 913481<br>
--> <a href="https://bugzilla.redhat.com/attachment.cgi?id=913481&action=edit
lttng-ust-ppc64le_update_configure_ac.patch" target="_blank">https://bugzilla.redhat.com/attachment.cgi?id=913481&action=edit<br>
lttng-ust-ppc64le_update_configure_ac.patch</a><br>
<br>
Description of problem: lttng-ust do not build on ppc64le archi<br>
<br>
<br>
Version-Release number of selected component (if applicable):<br>
lttng-ust-2.4.1-2.fc21<br>
<br>
Steps to Reproduce:<br>
1. fedpkg clone -a lttng-ust<br>
2. fedpkg mockbuild<br>
<br>
Actual results:<br>
<a href="http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1913658" target="_blank">http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1913658</a><br>
===<br>
checking host system alignment requirements... configure: error: unable to<br>
detect alignment requirements (unsupported architecture (powerpc64le)?)<br>
===<br>
<br>
<br>
Additional info:<br>
with following spec change and attached patch the scratch build at taskid<br>
===<br>
diff --git a/lttng-ust.spec b/lttng-ust.spec<br>
index 5abbef1..0951250 100644<br>
--- a/lttng-ust.spec<br>
+++ b/lttng-ust.spec<br>
@@ -7,6 +7,8 @@ Summary: LTTng Userspace Tracer library<br>
URL: <a href="http://lttng.org/ust/" target="_blank">http://lttng.org/ust/</a><br>
Source0: <a href="http://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2" target="_blank">http://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2</a><br>
<br>
+Patch1: lttng-ust-ppc64le_update_configure_ac.patch<br>
+<br>
BuildRequires: libuuid-devel texinfo systemtap-sdt-devel libtool<br>
BuildRequires: userspace-rcu-devel >= 0.7.2<br>
<br>
@@ -26,6 +28,7 @@ LTTng userspace tracing<br>
<br>
%prep<br>
%setup -q<br>
+%patch1 -p1<br>
<br>
%build<br>
%ifarch s390 s390x<br>
@@ -33,6 +36,10 @@ LTTng userspace tracing<br>
%global optflags %(echo %{optflags} | sed 's/-O2/-O1/')<br>
%endif<br>
<br>
+%ifarch ppc64le<br>
+# as long as patch1 not yet upstream to generate configure<br>
+autoreconf -iv<br>
+%endif<br>
#Reinitialize libtool with the fedora version to remove Rpath<br>
libtoolize -cvfi<br>
%configure --docdir=%{_docdir}/%{name} --disable-static --with-sdt<br>
===<br>
<span class="HOEnZb"><span style="color: #888888;" data-mce-style="color: #888888;" color="#888888"><br>
--<br>
You are receiving this mail because:<br>
You are on the CC list for the bug.<br>
You are the assignee for the bug.<br>
</span></span></div><br></div>
<br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com<span name="x"></span><br></div></div></body></html>