Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478516 - net-dialup/ppp-2.4.5-r3 - Package 'harfbuzz', required by 'pangoft2', not found
Summary: net-dialup/ppp-2.4.5-r3 - Package 'harfbuzz', required by 'pangoft2', not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-28 23:58 UTC by Alexander
Modified: 2013-07-30 01:28 UTC (History)
0 users

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


Attachments
emerge --info (ppp_bug.txt,19.62 KB, text/plain)
2013-07-28 23:59 UTC, Alexander
Details
ppp build.log (build.log,32.71 KB, text/x-log)
2013-07-29 02:26 UTC, Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2013-07-28 23:58:48 UTC
pppgetpass.vt.c:191:12: предупреждение: ignoring return value of «seteuid», declared with attribute warn_unused_result [-Wunused-result]
pppgetpass.vt.c:193:12: предупреждение: ignoring return value of «seteuid», declared with attribute warn_unused_result [-Wunused-result]
pppgetpass.vt.c:201:10: предупреждение: ignoring return value of «seteuid», declared with attribute warn_unused_result [-Wunused-result]
pppgetpass.vt.c:203:10: предупреждение: ignoring return value of «seteuid», declared with attribute warn_unused_result [-Wunused-result]
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed  pppgetpass.vt.o   -o pppgetpass.vt
Package harfbuzz was not found in the pkg-config search path.
Perhaps you should add the directory containing `harfbuzz.pc'
to the PKG_CONFIG_PATH environment variable
Package 'harfbuzz', required by 'pangoft2', not found
pppgetpass.gtk.c:1:18: фатальная ошибка: glib.h: Нет такого файла или каталога
компиляция прервана.
make: *** [pppgetpass.gtk.o] Ошибка 1
 * ERROR: net-dialup/ppp-2.4.5-r3::gentoo failed (compile phase):
 *   emake failed


Need dependence on media-libs/harfbuzz


Reproducible: Always
Comment 1 Alexander 2013-07-28 23:59:15 UTC
Created attachment 354462 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-29 00:49:38 UTC
Please attach the entire build log to this bug report.
Comment 3 Alexander 2013-07-29 02:26:07 UTC
harfbuzz unmerged

# emerge -DN ppp

These are the packages that would be merged, in order:

Calculating dependencies                        ... done!   
[ebuild  N     ] net-dialup/ppp-2.4.5-r3  USE="gtk ipv6 pam -activefilter -atm -dhcp -eap-tls -radius" 0 kB
[ebuild  N     ] media-libs/harfbuzz-0.9.18-r1:0/0.9.18  USE="cairo glib graphite icu truetype -static-libs" 0 kB

...
Comment 4 Alexander 2013-07-29 02:26:33 UTC
Created attachment 354476 [details]
ppp build.log
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-07-29 19:25:06 UTC
(In reply to Alexander from comment #4)
> Created attachment 354476 [details]
> ppp build.log

`pkg-config --cflags gtk+-2.0` is failing.

It is failing because gtk+-2.0.pc (part of x11-libs/gtk+) requires pangoft2.pc (part of x11-libs/pango), which in turn requires harfbuzz.pc (part of media-libs/harfbuzz).

You probably arrived at this situation by doing something unexpected with portage. For example, by manually unmerging harfbuzz, despite the fact that pango and other ebuilds depended on it; or maybe by installing pango using the /usr/bin/ebuild command, ignoring dependencies.

You can fix this by installing harfbuzz, and then running "emerge -av --update --deep --newuse world" to check for any other dependency problems.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-07-29 19:35:22 UTC
Also note that ebuilds in Gentoo, with very few exceptions, specify only their *direct* dependencies. For example, ppp does not list harfbuzz as a dependency because there isn't anything in ppp's source code that explicitly calls a harfbuzz function.

What we have here is a multilevel indirect dependency, broken at the last step: ppp needs gtk+, gtk+ needs pango, pango needs harfbuzz, and harfbuzz was not installed.

Indirect dependencies in Gentoo are addressed by reminding users to use "emerge --unmerge" carefully and not ignore the warnings it prints out :)
Comment 7 Alexander 2013-07-30 01:28:02 UTC
Removal of the blocking package, the easiest way to resolve the dependencies :)
But sometimes emerge -uDN world can not restore the system without manual intervention due to such cases.