Bug 151622 - Spurious zlib-devel dependency in gcc-java?
Summary: Spurious zlib-devel dependency in gcc-java?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-20 23:35 UTC by Ville Skyttä
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-21 06:20:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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



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