Bug 1604324

Summary: hfsutils: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: hfsutilsAssignee: David Woodhouse <dwmw2>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dwmw2, laurent, rosset.filipe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-16 19:14:31 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: 1551327, 1602938, 1665687    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
Add gcc dependency in BuildRequires none

Description Mohan Boddu 2018-07-19 22:07:37 UTC
hfsutils failed to build from source in Fedora rawhide

https://koji.fedoraproject.org/koji/taskinfo?taskID=28188044


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix hfsutils at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
hfsutils will be orphaned. Before branching of Fedora 30,
hfsutils will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Mohan Boddu 2018-07-19 22:07:41 UTC
Created attachment 1462862 [details]
build.log

Comment 2 Mohan Boddu 2018-07-19 22:07:43 UTC
Created attachment 1462863 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Mohan Boddu 2018-07-19 22:07:47 UTC
Created attachment 1462864 [details]
state.log

Comment 4 Jan Kurik 2018-08-14 09:33:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 5 Laurent Vivier 2019-01-12 17:54:25 UTC
gcc is missing:
  checking for gcc... no
  checking for cc... no
  configure: error: no acceptable cc found in $PATH
  error: Bad exit status from /var/tmp/rpm-tmp.hzsTlK (%build)

Something like that fixes the problem:

diff --git a/hfsutils.spec b/hfsutils.spec
index e9b9b83..26fa08d 100644
--- a/hfsutils.spec
+++ b/hfsutils.spec
@@ -8,7 +8,7 @@ Source: ftp://ftp.mars.org/pub/hfs/%{name}-%{version}.tar.gz
 Patch0: hfsutils-3.2.6-errno.patch
 Patch1: hfsutils-3.2.6-largefile.patch
 URL: http://www.mars.org/home/rob/proj/hfs/
-BuildRequires: libXft-devel tcl-devel tk-devel
+BuildRequires: libXft-devel tcl-devel tk-devel gcc
 
 %package devel
 Summary: A C library for reading and writing Macintosh HFS volumes

Comment 6 Laurent Vivier 2019-01-12 17:56:21 UTC
Created attachment 1520203 [details]
Add gcc dependency in BuildRequires

Comment 7 Filipe Rosset 2019-07-16 19:14:31 UTC
Fixed in rawhide -> https://koji.fedoraproject.org/koji/taskinfo?taskID=36288735