Bug 1623626

Summary: llvm after 7.0.0-0.4.rc1.fc30 has increased disk by 25 times
Product: [Fedora] Fedora Reporter: Kevin Fenzi <kevin>
Component: llvmAssignee: Tom Stellard <tstellar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: awilliam, davejohansen, dmalcolm, jakub, jistone, petersen, scottt.tw, siddharth.kde, tstellar
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: 2018-08-30 14:01:45 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:

Description Kevin Fenzi 2018-08-29 18:48:05 UTC
The llvm-libs subpackge of https://koji.fedoraproject.org/koji/rpminfo?rpmID=15192831 (7.0.0-0.4.rc1.fc30) is about 13MB. 

All later builds up to and including: 
https://koji.fedoraproject.org/koji/buildinfo?buildID=1140239
( llvm-7.0.0-0.7.rc2.fc30 ) are a LOT larger ( ~345MB compressed ). 

This is breaking rawhide composes as the workstation boot media size is too small for an addtional 1.5GB or so. 

Please if possible build a new version without the size increase.

Comment 1 Adam Williamson 2018-08-29 19:07:42 UTC
This is likely caused by debug symbols not being stripped. See the earlier case of this we had a few weeks back, https://bugzilla.redhat.com/show_bug.cgi?id=1608549 - that bug mainly focuses on qt5-qtwebkit, but I noted an earlier llvm build was affected also.

Kevin notes that a47388f920237b801b73638a4c8fc4aa77ba866f (the -5 commit) did this:

@@ -1,3 +1,4 @@
+%global debug_package %{nil}
 # Components enabled if supported by target architecture:
 %ifarch %ix86 x86_64
   %bcond_without gold

which may well be causing the problem.

Comment 2 Tom Stellard 2018-08-30 13:57:56 UTC
Thanks for catching that.  I will fix it.

Comment 3 Tom Stellard 2018-08-30 14:01:45 UTC
This was already fixed by Kevin in llvm-7.0.0-0.8.rc2.fc30. Thanks!