Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434034 - dev-perl/Pango and other packages try find /usr/lib/libudev.so.0, but must use /usr/lib/libudev.so.1
Summary: dev-perl/Pango and other packages try find /usr/lib/libudev.so.0, but must us...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-05 17:23 UTC by renesanso
Modified: 2012-09-05 17:53 UTC (History)
1 user (show)

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 renesanso 2012-09-05 17:23:26 UTC
I use testing (~amd64) via make.conf and hardened/linux/amd64 via eselect.

This problem I have, when I switch from stable to testing and emerge -eavqD --update world .

Many packages search /usr/lib/libudev.so.0, but can't find it, because it's provided only by sys-fs/udev-171-r6 (latest stable), but not by sys-fs/udev-186 (latest gentoo overlay testing).

sys-fs/udev-186 provide /usr/lib/libudev.so.1.

Now I mask sys-fs/udev-186 via /etc/portage/package.mask, and use 171-r6. With this version I have no problems, but I may have fully worked system without hacks.

Reproducible: Always

Steps to Reproduce:
1. Install stable hardened.
2. Compile desktop.
3. Switch to testing.
4. Try to install dev-perl/Pango or other package, that use libudev.so.0
5. Have problem.



~ # emerge -avq Pango

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

[ebuild   R   ] dev-perl/Pango-1.223.0 

Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-perl/Pango-1.223.0
>>> Failed to emerge dev-perl/Pango-1.223.0, Log file:
>>>  '/var/tmp/portage/dev-perl/Pango-1.223.0/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 2.94, 2.74, 2.43
 * Package:    dev-perl/Pango-1.223.0
 * Repository: gentoo
 * Maintainer: perl@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Pango-1.223.0/image/
Pre-requisites not found:
Can't load '/usr/lib64/perl5/vendor_perl/5.16.1/x86_64-linux/auto/Cairo/Cairo.so' for module Cairo: libudev.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога at /usr/lib64/perl5/5.16.1/x86_64-linux/DynaLoader.pm line 190.
 at (eval 16) line 1.
Compilation failed in require at (eval 16) line 1.
BEGIN failed--compilation aborted at (eval 16) line 1.

Please install them manually.
 * ERROR: dev-perl/Pango-1.223.0 failed (configure phase):
 *   Unable to build!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 2467:  Called perl-module_src_configure
 *   environment, line 2112:  Called perl-module_src_prep
 *   environment, line 2184:  Called die
 * The specific snippet of code:
 *               perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build!";
 * 
 * If you need support, post the output of `emerge --info '=dev-perl/Pango-1.223.0'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/Pango-1.223.0'`.
 * The complete build log is located at '/var/tmp/portage/dev-perl/Pango-1.223.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Pango-1.223.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/Pango-1.223.0/work/Pango-1.223'
 * S: '/var/tmp/portage/dev-perl/Pango-1.223.0/work/Pango-1.223'

 * Messages for package dev-perl/Pango-1.223.0:

 * ERROR: dev-perl/Pango-1.223.0 failed (configure phase):
 *   Unable to build!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 2467:  Called perl-module_src_configure
 *   environment, line 2112:  Called perl-module_src_prep
 *   environment, line 2184:  Called die
 * The specific snippet of code:
 *               perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build!";
 * 
 * If you need support, post the output of `emerge --info '=dev-perl/Pango-1.223.0'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/Pango-1.223.0'`.
 * The complete build log is located at '/var/tmp/portage/dev-perl/Pango-1.223.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Pango-1.223.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/Pango-1.223.0/work/Pango-1.223'
 * S: '/var/tmp/portage/dev-perl/Pango-1.223.0/work/Pango-1.223'






equery g dev-perl/Pango
* Searching for Pango in dev-perl ...

* dependency graph for dev-perl/Pango-1.222.0
`-- dev-perl/Pango-1.222.0 amd64
`-- dev-perl/extutils-depends-0.304.0 (>=dev-perl/extutils-depends-0.300) amd64
`-- dev-perl/extutils-pkgconfig-1.130.0 (>=dev-perl/extutils-pkgconfig-1.030) amd64
`-- dev-perl/glib-perl-1.262.0 (>=dev-perl/glib-perl-1.220) ~amd64
`-- dev-perl/Cairo-1.101.0 (>=dev-perl/Cairo-1.00) ~amd64
`-- x11-libs/pango-1.30.1 (>=x11-libs/pango-1.0.0) ~amd64
`-- dev-lang/perl-5.16.1 (dev-lang/perl) ~amd64 [-build]
[ dev-perl/Pango-1.222.0 stats: packages (7), max depth (1) ]

* dependency graph for dev-perl/Pango-1.223.0
`-- dev-perl/Pango-1.223.0 amd64
`-- dev-perl/extutils-depends-0.304.0 (>=dev-perl/extutils-depends-0.300) amd64
`-- dev-perl/extutils-pkgconfig-1.130.0 (>=dev-perl/extutils-pkgconfig-1.030) amd64
`-- dev-perl/glib-perl-1.262.0 (>=dev-perl/glib-perl-1.220) ~amd64
`-- dev-perl/Cairo-1.101.0 (>=dev-perl/Cairo-1.00) ~amd64
`-- x11-libs/pango-1.30.1 (>=x11-libs/pango-1.0.0) ~amd64
`-- dev-lang/perl-5.16.1 (dev-lang/perl) ~amd64 [-build]
[ dev-perl/Pango-1.223.0 stats: packages (7), max depth (1) ]
Comment 1 Ben Kohler gentoo-dev 2012-09-05 17:29:36 UTC
Try running "revdep-rebuild" (from the app-portage/gentookit package) to fix all of the existing packages that link to the old udev library.  You may also want to run "perl-cleaner --all".
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-05 17:33:18 UTC
Please run revdep-rebuild.
Comment 3 renesanso 2012-09-05 17:53:59 UTC
Yes, all ok now. I run revdep-rebuild earlier, but when 171-r6, not 186 been installed. Now I understand how it works.