Bug 1433867

Summary: FTBFS due "tcmalloc not support on s390x"
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: dan, edewata, mreynolds, nhosoi, nkinder, rmeggins
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.6.5-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-04 14:51:23 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: 467765    
Attachments:
Description Flags
fix build on s390x with tcmalloc none

Description Dan Horák 2017-03-20 08:58:06 UTC
Builds of 389-ds-base-1.3.6.2-2.fc2[67] fail on s390x with

...
checking for --with-systemdsystemconfdir... /etc/systemd/system
checking for --with-systemdgroupname... dirsrv.target
checking for --enable-cmocka... no
checking for doxygen... doxygen
using system dokygen
configure: checking for --enable-tcmalloc...
yes
configure: error: tcmalloc not support on s390x
error: Bad exit status from /var/tmp/rpm-tmp.yvzOZh (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.yvzOZh (%build)
Child return code was: 1
...

although gperftools are available in F >= 26. I haven't checked the details yet if it's 389-ds-base configure being outdated or it's really gperftools/tcmalloc issue.

For full logs see eg. https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2528117

Version-Release number of selected component (if applicable):
389-ds-base-1.3.6.2-2.fc26

Comment 1 Dan Horák 2017-03-20 10:42:20 UTC
Created attachment 1264735 [details]
fix build on s390x with tcmalloc

Comment 2 mreynolds 2017-03-20 12:11:08 UTC
Is gperftools available on "s390" too?  Or just s390x?

Comment 3 Dan Horák 2017-03-20 12:26:21 UTC
(In reply to mreynolds from comment #2)
> Is gperftools available on "s390" too?  Or just s390x?

it's s390x only, and unlikely to ever get s390 (32-bit) support

Comment 4 mreynolds 2017-03-20 12:28:40 UTC
Thanks Dan, I'll get this fixed later today.

Comment 5 mreynolds 2017-03-22 00:56:55 UTC
The upstream specfiles and sources have been updated.  This should be working now.