Bug 151622

Summary: Spurious zlib-devel dependency in gcc-java?
Product: [Fedora] Fedora Reporter: Ville Skyttä <scop>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideKeywords: EasyFix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-21 06:20:26 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:

Description Ville Skyttä 2005-03-20 23:35:07 UTC
I noticed that gcc-java-4.0.0-0.34 has a dependency on zlib-devel.  Is there
something in it that really needs stuff from the zlib _development_ package? 
Based on a quick look, I didn't find any hints of that.  Maybe the dependency
should just be removed?

Comment 1 Jakub Jelinek 2005-03-21 06:20:26 UTC
The dependency is not spurious, without zlib-devel Java programs will not link.
libgcj.spec has:
%rename lib liborig
*lib: %{static:%eJava programs cannot be linked statically}-lgcj -lm   -lpthread
-lz   -ldl %(libgcc) %(liborig)

*jc1: -fhash-synchronization -fno-use-divide-subroutine  -fuse-boehm-gc
-fnon-call-exceptions -fno-omit-frame-pointer  -fkeep-inline-functions