Skip to contentSkip to conversation

New: lttng-ust do not build on ppc64le archi

Bug 1114691 Applied Brosseau, Yannick 2 participants 2 messages Jul 1, 2014 – Jul 2, 2014 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

We are not white listing powerpc64le in ust build. The following bug report have a patch for it.

---------- Forwarded message ----------
From: <[email protected]>
Date: Mon, Jun 30, 2014 at 12:36 PM
Subject: [Bug 1114691] New: lttng-ust do not build on ppc64le archi
To: [email protected]

https://bugzilla.redhat.com/show_bug.cgi?id=1114691

Bug ID: 1114691
Summary: lttng-ust do not build on ppc64le archi
Product: Fedora
Version: rawhide
Component: lttng-ust
Severity: medium
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]

Created attachment 913481
--> https://bugzilla.redhat.com/attachment.cgi?id=913481&action=edit
lttng-ust-ppc64le_update_configure_ac.patch

Description of problem: lttng-ust do not build on ppc64le archi

Version-Release number of selected component (if applicable):
lttng-ust-2.4.1-2.fc21

Steps to Reproduce:
1. fedpkg clone -a lttng-ust
2. fedpkg mockbuild

Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1913658
===
checking host system alignment requirements... configure: error: unable to detect alignment requirements (unsupported architecture (powerpc64le)?)
===

Additional info:
with following spec change and attached patch the scratch build at taskid
===

lttng-ust.spec +7 -0
index 5abbef1..0951250 100644
@@ -7,6 +7,8 @@ Summary:        LTTng Userspace Tracer library
 URL:            http://lttng.org/ust/
 Source0:        http://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2
 
+Patch1:                lttng-ust-ppc64le_update_configure_ac.patch
+
 BuildRequires:  libuuid-devel texinfo systemtap-sdt-devel libtool
 BuildRequires:  userspace-rcu-devel >= 0.7.2
 
@@ -26,6 +28,7 @@ LTTng userspace tracing
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %ifarch s390 s390x
@@ -33,6 +36,10 @@ LTTng userspace tracing
 %global optflags %(echo %{optflags} | sed 's/-O2/-O1/')
 %endif
 
+%ifarch ppc64le
+# as long as patch1 not yet upstream to generate configure
+autoreconf -iv
+%endif
 #Reinitialize libtool with the fedora version to remove Rpath
 libtoolize -cvfi
 %configure --docdir=%{_docdir}/%{name} --disable-static --with-sdt

===

--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

#3 lore raw
In reply to a message not in the archive

Merged into master, thanks!

Mathieu

----- Original Message -----

Quoted 94 lines

From: "Yannick Brosseau" <[email protected]>
To: [email protected]
Sent: Tuesday, July 1, 2014 12:24:55 PM
Subject: [lttng-dev] Fwd: [Bug 1114691] New: lttng-ust do not build on ppc64le archi

We are not white listing powerpc64le in ust build. The following bug report have a patch for it.

---------- Forwarded message ----------
From: < [email protected] >
Date: Mon, Jun 30, 2014 at 12:36 PM
Subject: [Bug 1114691] New: lttng-ust do not build on ppc64le archi
To: [email protected]

https://bugzilla.redhat.com/show_bug.cgi?id=1114691

Bug ID: 1114691
Summary: lttng-ust do not build on ppc64le archi
Product: Fedora
Version: rawhide
Component: lttng-ust
Severity: medium
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected] , [email protected]

Created attachment 913481
--> https://bugzilla.redhat.com/attachment.cgi?id=913481&action=edit
lttng-ust-ppc64le_update_configure_ac.patch

Description of problem: lttng-ust do not build on ppc64le archi

Version-Release number of selected component (if applicable):
lttng-ust-2.4.1-2.fc21

Steps to Reproduce:
1. fedpkg clone -a lttng-ust
2. fedpkg mockbuild

Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1913658
===
checking host system alignment requirements... configure: error: unable to detect alignment requirements (unsupported architecture (powerpc64le)?)
===

Additional info:
with following spec change and attached patch the scratch build at taskid
===

lttng-ust.spec +0 -0
index 5abbef1..0951250 100644
@@ -7,6 +7,8 @@ Summary: LTTng Userspace Tracer library

URL: http://lttng.org/ust/
Source0: http://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2

lttng-ust.spec +2 -0
+Patch1: lttng-ust-ppc64le_update_configure_ac.patch
+

BuildRequires: libuuid-devel texinfo systemtap-sdt-devel libtool
BuildRequires: userspace-rcu-devel >= 0.7.2

lttng-ust.spec +0 -0
@@ -26,6 +28,7 @@ LTTng userspace tracing
 

%prep
%setup -q
+%patch1 -p1

%build
%ifarch s390 s390x

lttng-ust.spec +0 -0
@@ -33,6 +36,10 @@ LTTng userspace tracing
 %global optflags %(echo %{optflags} | sed 's/-O2/-O1/')

%endif

+%ifarch ppc64le

lttng-ust.spec +3 -0
+# as long as patch1 not yet upstream to generate configure
+autoreconf -iv
+%endif

#Reinitialize libtool with the fedora version to remove Rpath libtoolize -cvfi
%configure --docdir=%{_docdir}/%{name} --disable-static --with-sdt
===

--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev