Emerging udisks fails. I tried 'rm libatasmart.so*' in /usr/lib and re-emerging libatasmart. I tried emerging libatasmart-0.16. Reproducible: Always Steps to Reproduce: 1.emerge udisks 2. 3. Actual Results: fails to emerge FEATURES variable contains unknown value(s): loadpolicy Portage 2.1.9.42 (selinux/v2refpolicy/x86/desktop, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r8 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.36-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-1.12.14 Timestamp of tree: Wed, 06 Apr 2011 17:00:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 3.1.3-r1 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages loadpolicy news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi aim alsa ao berkdb bluetooth branding bzip2 cairo calendar cdb cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus dri dts dv dvb dvd dvdr embedded emboss encode esd evdev exif fam ffmpeg firefox flac fontconfig fortran ftp gdu gif gimp gmp gnutls gphoto2 gpm gstreamer gtk gzip iconv icq imagemagick imlib ipv6 jabber jack java javascript jpeg kde kde4 lcms ldap libcaca libnotify libwww lm_sensors mad mikmod mng modules mozilla mp3 mp4 mpeg mplayer msn mudflap musepack ncurses nls nptl ogg opengl openmp oscar oss pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime raw readline rss sdl selinux session smartcard smp spell ssl startup-notification svg tcpd tiff timidity tk truetype udev unicode usb v4l2 vcd videos vorbis wavpack wifi wmf x86 xcb xine xml xorg xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 268815 [details] udisks-1.0.2 build log
Either your udev is to old or there's something more broken on your system.
Which version of sys-fs/udev do you have?
I have udev-151r4. I tried doing 'ACCEPT_KEYWORDS="~x86" emerge udev' but there was no change with that version.
udev_device_get_property_value should already be present in udev 154. Check libudev for the presence of that symbol and check with ldd if libatasmart properly links to libudev.
(In reply to comment #5) > udev_device_get_property_value should already be present in udev 154. > Check libudev for the presence of that symbol and check with ldd if libatasmart > properly links to libudev. /usr/lib # ldd libatasmart.so linux-gate.so.1 => (0xb778e000) libudev.so.0 => /usr/local/lib/libudev.so.0 (0xb7753000) libc.so.6 => /lib/libc.so.6 (0xb760d000) /lib/ld-linux.so.2 (0xb778f000) /usr/lib # nm --dynamic libudev.so.0 ... 00005430 T udev_device_get_property_value ... 00006490 T udev_device_get_parent_with_subsystem_devtype ... If I understood you this all looks right.
I noticed I had no /usr/local/lib/libudev.so.0. I copied it over and udisks compiles. Thanks!
You should *not* have a /usr/local/lib/libudev.so.0. Actually, you should not have /usr/local/lib/<anything> of anything that's in portage and adding /usr/local/lib/<anything> just breaks your system more.
(In reply to comment #8) > You should *not* have a /usr/local/lib/libudev.so.0. > Actually, you should not have /usr/local/lib/<anything> of anything that's in > portage and adding /usr/local/lib/<anything> just breaks your system more. Well, I'm open to suggestions of how to fix it.
What kind of stuff do you have in /usr/local/include and /usr/local/lib?
I think the obvious way: check /usr/local/{bin,lib} (perhaps a dir or two more) for anything provided by portage tree, remove that stuff, then run revdep-rebuild.
(In reply to comment #10) > What kind of stuff do you have in /usr/local/include and /usr/local/lib? /usr/local/lib $ ls dri libdrm.so libhpip.so.0.0.1 libntfs-3g.a libvolume_id.so.1 udev findcruft libdrm.so.2 libhpmud.la libntfs-3g.la libvolume_id.so.1.0.6 wine libdrm_intel.la libdrm.so.2.3.0 libhpmud.so libntfs-3g.so libwine.so libdrm_intel.so libdrm.so.2.3.1 libhpmud.so.0 libudev.so libwine.so.1 libdrm_intel.so.1 libhpip.la libhpmud.so.0.0.6 libudev.so.0 libwine.so.1.0 libdrm_intel.so.1.0.0 libhpip.so libiw.so libudev.so.0.0.6 pkgconfig libdrm.la libhpip.so.0 libiw.so.29 libvolume_id.so python2.6 /usr/local/include $ ls drm intel_bufmgr.h iwlib.h libudev.h~ libvolume_id.h ntfs-3g wine wireless.h xf86drm.h
None of that junk looked important so I gave it all the axe, ran revdep-rebuild and just to be safe did 'emerge udev libatasmart udisks' then etc-update. Everything went smoothly and /usr/local is still empty so I think I've fixed it. I have no idea how udev got in there. Now I know it shouldn't be, and knowing is half the battle.
Ok to close this bug as fixed then?