Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496598 - net-im/centerim-4.22.10 with dev-libs/fribidi - ?
Summary: net-im/centerim-4.22.10 with dev-libs/fribidi - ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-31 14:57 UTC by n86wtjq5rg
Modified: 2014-01-06 14:26 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 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.