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
Created attachment 354462 [details] emerge --info
Please attach the entire build log to this bug report.
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 ...
Created attachment 354476 [details] ppp build.log
(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.
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 :)
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.