LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   failed to emerge rhythmbox 0.12.6. (https://www.linuxquestions.org/questions/gentoo-87/failed-to-emerge-rhythmbox-0-12-6-a-830408/)

the_rastaman 09-05-2010 12:38 AM

failed to emerge rhythmbox 0.12.6.
 
the music player have some trouble so i unmerged and when i tried to emerged again i get this error

Code:

emerge rhythmbox
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) x11-libs/gtk+-2.20.1-r1
 * gtk+-2.20.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                              [ ok ]
 * CPV:  x11-libs/gtk+-2.20.1-r1
 * REPO: gentoo
 * USE:  amd64 cups elibc_glibc jpeg kernel_linux multilib tiff userland_GNU
>>> Unpacking source...
>>> Unpacking gtk+-2.20.1.tar.bz2 to /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work
>>> Source unpacked in /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work
>>> Preparing source in /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1 ...
 * Applying gtk+-2.8.0-multilib.patch ...                                                                                            [ ok ]
 * Applying gtk+-2.14.3-limit-gtksignal-includes.patch ...                                                                          [ ok ]
 * Applying gtk+-2.20.1-darwin8.patch ...                                                                                            [ ok ]
 * Applying gtk+-2.20.1-libpixbufloader-warning.patch ...                                                                            [ ok ]
 * Applying gtk+-2.20.1-gtkrange.patch ...                                                                                          [ ok ]
 * Applying gtk+-2.20.1-gail_cell_type.patch ...                                                                                    [ ok ]
 * Applying gtk+-2.20.1-GtkOffscreenWindow.patch ...                                                                                [ ok ]
 * Applying gtk+-2.20.1-libpng-fix.patch ...                                                                                        [ ok ]
 * Running elibtoolize in: gtk+-2.20.1/
 *  Applying portage-2.2.patch ...
 *  Applying sed-1.5.6.patch ...
 *  Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1 ...
 * econf: updating gtk+-2.20.1/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gtk+-2.20.1/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-gtk-doc --with-libjpeg --without-libjasper --with-libtiff --disable-xinerama --enable-cups=auto --disable-introspection --disable-papi --with-libpng --with-gdktarget=x11 --with-xinput
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for native Win32... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for x86_64-pc-linux-gnu-c++... x86_64-pc-linux-gnu-c++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-c++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-c++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-c++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-c++... (cached) gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-c++ -E
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by x86_64-pc-linux-gnu-c++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-c++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-c++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-c++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-c++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-c++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-c++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-c++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for nm... /usr/bin/nm -B
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.23.6    atk >= 1.29.2    pango >= 1.20    cairo >= 1.6) were not met:

Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1/config.log
 * ERROR: x11-libs/gtk+-2.20.1-r1 failed:
 *  econf failed
 *
 * Call stack:
 *    ebuild.sh, line  54:  Called src_configure
 *  environment, line 3092:  Called econf '--libdir=/usr/lib64' '--disable-gtk-doc' '--with-libjpeg' '--without-libjasper' '--with-libtiff' '--disable-xinerama' '--enable-cups=auto' '--disable-introspection' '--disable-papi' '--with-libpng' '--with-gdktarget=x11' '--with-xinput'
 *    ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *                          die "econf failed"
 *
 * If you need support, post the output of 'emerge --info =x11-libs/gtk+-2.20.1-r1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/gtk+-2.20.1-r1'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1'

>>> Failed to emerge x11-libs/gtk+-2.20.1-r1, Log file:

>>>  '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/build.log'

 * Messages for package x11-libs/gtk+-2.20.1-r1:

 * ERROR: x11-libs/gtk+-2.20.1-r1 failed:
 *  econf failed
 *
 * Call stack:
 *    ebuild.sh, line  54:  Called src_configure
 *  environment, line 3092:  Called econf '--libdir=/usr/lib64' '--disable-gtk-doc' '--with-libjpeg' '--without-libjasper' '--with-libtiff' '--disable-xinerama' '--enable-cups=auto' '--disable-introspection' '--disable-papi' '--with-libpng' '--with-gdktarget=x11' '--with-xinput'
 *    ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *                          die "econf failed"
 *
 * If you need support, post the output of 'emerge --info =x11-libs/gtk+-2.20.1-r1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/gtk+-2.20.1-r1'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/gtk+-2.20.1-r1/work/gtk+-2.20.1'

i belive that the problem is in this part:
Code:

checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.23.6    atk >= 1.29.2    pango >= 1.20    cairo >= 1.6) were not met:
but i don't know what to do because the las version of glib that is in portage is 2.22.4

Code:

dev-libs/glib
    Available versions: 
        (1)        1.2.10-r5
        (2)        2.20.5-r1 ~2.22.2 ~2.22.3 ~2.22.4
        {debug doc fam hardened selinux xattr}
    Installed versions:  2.24.1-r1(2)(12:19:01 AM 09/04/2010)(-debug -doc -fam -hardened -selinux -xattr)
    Homepage:            http://www.gtk.org/
    Description:        The GLib library of C routines


i92guboj 09-06-2010 02:18 AM

You have hit the libpng12 issue. If you want more extensive info on the issue you can search the Gentoo official forums, there are probably hundreds of threads about this now.

The quick answer to your problem is probably this one:

Code:

$ /usr/sbin/libpng-1.4.x-update.sh
$ emerge -1 cairo
$ revdep-rebuild --library libpng12.so.0


the_rastaman 09-06-2010 04:36 PM

Quote:

Originally Posted by i92guboj (Post 4089231)
You have hit the libpng12 issue. If you want more extensive info on the issue you can search the Gentoo official forums, there are probably hundreds of threads about this now.

The quick answer to your problem is probably this one:

Code:

$ /usr/sbin/libpng-1.4.x-update.sh
$ emerge -1 cairo
$ revdep-rebuild --library libpng12.so.0


thanks you save my life, i really appreciated :D


All times are GMT -5. The time now is 11:20 PM.