Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216174 - gtk+ installation crash
Summary: gtk+ installation crash
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 11:40 UTC by Walter Breno
Modified: 2008-04-06 20:19 UTC (History)
0 users

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


Attachments
the config.log of /var/tmp/portage/x11-libs/gtk+-2.12.9-r1/work/gtk+-2.12.9/ (config.log,86.62 KB, text/plain)
2008-04-04 23:43 UTC, Walter Breno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Breno 2008-04-04 11:40:17 UTC
i'm trying to install rp-pppoe with USE="-X" emerge rp-pppoe
it try to resolve the dependencies, one of the dependencies is gtk+ "Can't link to Pango. Pango is required to build" but the pango is installed

Reproducible: Always

Steps to Reproduce:
1.USE="-X" emerge rp-pppoe
2.
3.

Actual Results:  
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-libs/gtk+-2.12.9-r1/work/gtk+-2.12.9/config.log

Expected Results:  
when the gtk+ is installed i'll can install rp-pppoe

configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-libs/gtk+-2.12.9-r1/work/gtk+-2.12.9/config.log

!!! ERROR: x11-libs/gtk+-2.12.9-r1 failed.
Call stack:
  ebuild.sh, line 1620:   Called dyn_compile
  ebuild.sh, line 977:   Called qa_call 'src_compile'
  environment, line 3822:   Called src_compile
  gtk+-2.12.9-r1.ebuild, line 110:   Called econf '--disable-gtk-doc' '--without-libjpeg' '--without-libtiff' '--disable-xinerama' '--enable-cups=auto' '--with-libpng' '--with-gdktarget=x11' '--with-xinput'
  ebuild.sh, line 583:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.9-r1/temp/build.log'.
Comment 1 Walter Breno 2008-04-04 11:42:01 UTC
i'm trying to use gentoo 2007.
i'm in installation steps
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-04 23:03:09 UTC
The provided information does not suffice to track down your problem. Please provide `emerge --info`, attach /var/tmp/portage/x11-libs/gtk+-2.12.9-r1/work/gtk+-2.12.9/config.log and reopen the bug.
Comment 3 Walter Breno 2008-04-04 23:43:42 UTC
Created attachment 148667 [details]
the config.log of /var/tmp/portage/x11-libs/gtk+-2.12.9-r1/work/gtk+-2.12.9/
Comment 4 Walter Breno 2008-04-04 23:44:39 UTC
i atached the config.log sorry. i'm not familiarized with bug systems
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-05 08:23:16 UTC
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_get_IHDR@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_destroy_write_struct@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_write_end@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_tRNS_to_alpha@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_write_fn@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_destroy_read_struct@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_create_read_struct@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_palette_to_rgb@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_read_fn@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_bKGD@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_filler@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_read_image@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_interlace_handling@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_get_io_ptr@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_error@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_read_end@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_read_info@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_read_update_info@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_create_write_struct@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_IHDR@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_get_valid@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_packing@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_create_info_struct@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_convert_from_time_t@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_gray_to_rgb@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_expand_gray_1_2_4_to_8@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_write_info@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_write_image@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_read_user_transform_fn@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_get_error_ptr@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_tIME@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_write_user_transform_fn@PNG12_0'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libcairo.so: undefined reference to `png_set_strip_16@PNG12_


Seems like your libpng is broken. Please run `emerge -1 libpng` and revdep-rebuild afterwards to be on the safe side. If you should still have issues, don't hesitate to reopen. In the latter case don't forget to post the `emerge --info` output.
Comment 6 Walter Breno 2008-04-06 16:09:01 UTC
i make a revdep-rebuild and it return that my cairo is broken, the revdep-rebuild has tried to rebuid it, but return the error:

* GNU info directory index is up-to-date.
 *
 * Portage could not find any version of the following packages it could build:
 *
 *
 * (Perhaps they are masked, blocked, or removed from portage.)
 * Try to emerge them manually.
 *
 * Build finished correctly. Removing temporary files...
 *
 * You can re-run revdep-rebuild to verify that all libraries and binaries
 * are fixed. If some inconsistency remains, it can be orphaned file, deep
 * dependency, binary package or specially evaluated library.
 * Found some broken files that weren't associated with known packages
 * The broken files are:
 *   /usr/local/lib/libcairo.so.2
 *   /usr/local/lib/libcairo.so.2.11.7


i find this report http://bugs.gentoo.org/show_bug.cgi?id=213294
but i don't now if is the solution and how to apply this patch
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-06 20:18:43 UTC
We don't install anything in /usr/local/, so unless you have some prefixed install, revdep-rebuild can't find a corresponding ebuild, because these broken cairo libraries do not belong to any. The bug you're referring to, is irrelevant.
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-06 20:19:17 UTC
Do `emerge -1 cairo` and clean /usr/local.