Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284638 - dev-libs/libpcre-7.9-r1: fail at compile stage due to missing bzlib.h
Summary: dev-libs/libpcre-7.9-r1: fail at compile stage due to missing bzlib.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 20:21 UTC by Yixun Lan
Modified: 2009-09-11 20:42 UTC (History)
0 users

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


Attachments
libpcre-7.9-r1 build log (libpcre-7.9-r1.log,10.51 KB, text/plain)
2009-09-11 20:24 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2009-09-11 20:21:43 UTC
libpcre complain at compile stage, says:
Cannot --enable-pcregrep-libbz2 because bzlib.h was not found
the root cause is that when USE="bzip2" enabled, the DEPEND doesn't handle this.

add DEPEND="bzip2? (app-arch/bzip2)" should fix this problem.

Reproducible: Always

Steps to Reproduce:
1. emerge -C bzip2
2. USE="bzip2" emerge libpcre
3.
Comment 1 Yixun Lan archtester gentoo-dev 2009-09-11 20:24:05 UTC
Created attachment 203831 [details]
libpcre-7.9-r1 build log
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-11 20:42:31 UTC
+  11 Sep 2009; Peter Alfredsen <loki_val@gentoo.org> libpcre-7.9-r1.ebuild:
+  Add deps for bzip2 and zlib. Bug 284638.
+

Thanks for the heads up.