Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641918 - libpcre fails to (cross) compile by failing to find zlib and libbz2
Summary: libpcre fails to (cross) compile by failing to find zlib and libbz2
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-21 12:37 UTC by Emmanuel Lepage Vallee
Modified: 2021-01-07 20:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Lepage Vallee 2017-12-21 12:37:28 UTC
host: x86_64 (clean updated stage3 docker container, purely vanilla)
target: armv7a-hardfloat-linux-gnueabi

Using crossdev. Note that I didn't get that one while building the same system with aarch64.


checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for libbz2... no
** Cannot --enable-pcregrep-libz because libz was not found


checking for zlib.h... yes
checking for gzopen in -lz... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for libbz2... no
** Cannot --enable-pcregrep-libbz2 because libbz2 was not found

In both case the libraries /ARE/ installed in the cross compilation system (and the host, even if that would kind of be worst if it made a difference)

Mitigation

USE="-zlib -bzip2" armv7a-hardfloat-linux-gnueabi-emerge libpcre -1
armv7a-hardfloat-linux-gnueabi-emerge @system --keep-going
Comment 1 Fabian Groffen gentoo-dev 2021-01-07 20:36:27 UTC
This is not a Prefix bug, please take it up with crossdev.