Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178996 - dev-lang/erlang has an internal copy of zlib
Summary: dev-lang/erlang has an internal copy of zlib
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Emacs project
Depends on:
Reported: 2007-05-18 12:44 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-07-08 15:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-05-18 12:44:50 UTC
Not a good idea, in general it would be nicer to use the shared copy of zlib
already present in the system, to avoid having to load more data (zlib is
almost always already present in memory) and to allow fixes in zlib to be
shared by its users too.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-21 06:26:31 UTC
I deleted zlib.h and zconf.h, which are the only files in erts/emulator/zlib/ that belong to the Gentoo zlib package.  The other files cannot be linked to a package by me, so I don't know, if I can substitute them.  lookout for -r1
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-05-21 09:48:47 UTC
Duh, where those two files are (${S}/erts/emulator/zlib) are contained, the rest of the files are not present in zlib package because they are *built* by the zlib package into

You should remove the whole source directory and link against the installed
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-07-08 15:49:30 UTC
After struggling with upstream, we cleared out, that erlang cannot use system's zlib due to heavy patching.  As the current stable includes a vulnerable zlib I already filed a security bug for the newest....maybe upstream will do something about it for R12.