[OE-core] [PATCH] libsolv: don't pick up bundled db from host rpm

Max Krummenacher max.oss.09 at gmail.com
Thu May 18 21:54:03 UTC 2017


Hi Alex

Am Donnerstag, den 18.05.2017, 08:37 +0300 schrieb Alexander Kanavin:
> On 05/17/2017 11:16 PM, Max Krummenacher wrote:
> > With rpm v4 in openembedded but on a host with existing /usr/include/rpm/db.h
> > the build fails to compile.
> > +-  # check if rpm contains a bundled berkeley db
> > +-  CHECK_INCLUDE_FILE(rpm/db.h HAVE_RPM_DB_H)
> > ++  set(HAVE_RPM_DB_H 0)
> 
> The problem seems to be that CHECK_INCLUDE_FILE is incorrectly looking 
> for headers in host's /usr/include. Perhaps you could look into why that 
> is happening and if it can be fixed, rather than fix one specific 
> instance in libsolv where it is known to cause trouble?

Ok, will try to find a more generic solution.

Max

> 
> Alex
> 



More information about the Openembedded-core mailing list