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 1106186

Summary: mesos: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: mesosAssignee: Timothy St. Clair <tstclair>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 22CC: orion, tstclair
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: mesos-0.23.0-0.4ce5475.fc23.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 20:29:04 UTC Type: ---
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: 1105908, 1239338    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Dennis Gilmore 2014-06-09 03:54:06 UTC
Your package mesos failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=6955496

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Comment 1 Dennis Gilmore 2014-06-09 03:54:11 UTC
Created attachment 904124 [details]
build.log

Comment 2 Dennis Gilmore 2014-06-09 03:54:13 UTC
Created attachment 904125 [details]
root.log

Comment 3 Dennis Gilmore 2014-06-09 03:54:14 UTC
Created attachment 904126 [details]
state.log

Comment 4 Jaroslav Reznik 2015-03-03 15:54:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 5 Orion Poplawski 2015-08-18 18:02:11 UTC
*** Bug 1239676 has been marked as a duplicate of this bug. ***

Comment 6 Orion Poplawski 2015-08-18 19:48:20 UTC
My proposed fix:

diff --git a/mesos.spec b/mesos.spec
index ea88ceb..06e7128 100644
--- a/mesos.spec
+++ b/mesos.spec
@@ -43,6 +43,7 @@ BuildRequires: python-setuptools
 BuildRequires: python2-devel
 BuildRequires: openssl-devel
 BuildRequires: cyrus-sasl-devel
+BuildRequires: cyrus-sasl-md5
 BuildRequires: systemd

 %if %systemmvn
@@ -80,8 +81,6 @@ Requires: protobuf-python
 Requires: python-boto
 Requires: python-pip
 Requires: python-wheel
-%else
-BuildRequires: cyrus-sasl-md5
 %endif

 BuildRequires: apr-devel
@@ -89,6 +88,7 @@ BuildRequires: subversion-devel
 BuildRequires: http-parser-devel

 Requires: python-boto
+Requires: cyrus-sasl-md5

 %ifarch x86_64
 %if 0%{?fedora} >= 20
@@ -172,7 +172,7 @@ cd ../
 ######################################
 export M2_HOME=/usr/share/xmvn
 autoreconf -vfi
-export LDFLAGS="$RPM_LD_FLAGS -std=c++11 -L$PWD/libev-%{libevver}/.libs"
+export LDFLAGS="$RPM_LD_FLAGS -L$PWD/libev-%{libevver}/.libs"
 ZOOKEEPER_JAR="/usr/share/java/zookeeper/zookeeper.jar:/usr/share/java/slf4j/api.jar:/usr/share/java/slf4j/log4j12.jar:/usr/share/java/log4j.jar" %configure --disable-bundled --disable-static
 %else
 autoreconf -vfi

Comment 7 Timothy St. Clair 2015-08-18 19:58:16 UTC
did you run it through mock?  If, so I can quickly make the fix. 

Last round I checked there was a cascading zookeeper issue.

Comment 8 Orion Poplawski 2015-08-18 19:59:53 UTC
Built fine for me in rawhide mock.

Comment 9 Fedora End Of Life 2016-07-19 20:29:04 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.