Bug 1604324 - hfsutils: FTBFS in Fedora rawhide
Summary: hfsutils: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: hfsutils
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1551327 F29FTBFS 1665687
TreeView+ depends on / blocked
 
Reported: 2018-07-19 22:07 UTC by Mohan Boddu
Modified: 2019-07-16 19:14 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-16 19:14:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (6.29 KB, text/plain)
2018-07-19 22:07 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-19 22:07 UTC, Mohan Boddu
no flags Details
state.log (627 bytes, text/plain)
2018-07-19 22:07 UTC, Mohan Boddu
no flags Details
Add gcc dependency in BuildRequires (497 bytes, patch)
2019-01-12 17:56 UTC, Laurent Vivier
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.