Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 496598

Summary: net-im/centerim-4.22.10 with dev-libs/fribidi - ?
Product: Gentoo Linux Reporter: n86wtjq5rg
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description n86wtjq5rg 2013-12-31 14:57:54 UTC
centerim does not appear to use the CFLAGS required by fribidi, and thus fails to compile (with "No such file or directory" when trying to include glib.h from a fribidi header).

This is the same issue reported in bug 417043 against fbreader.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 net-im/centerm
Actual Results:  
Compilation failure when trying to include <glib.h> from a fribidi header.

Expected Results:  
Successful compilation.

For now this can be worked around by creating an /etc/portage/env/fribidi-cflags with:
CFLAGS="${CFLAGS} -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include"
CXXFLAGS="${CXXFLAGS} -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include"

And adding a line with
net-im/centerim fribidi-cflags
to /etc/portage/package.env.

The flags above come from pkg-config --cflags fribidi. I tried invoking this directly in fribidi-cflags, but this does not work.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-31 15:17:29 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.