When I try to run a ruby script with paludis's ruby bindings the script stops immediately with the error message: "/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/Paludis.so: /usr/lib/libpaludisruby.so.26: undefined symbol: _ZN7paludis18FakeRepositoryBase12add_categoryERKNS_9ValidatedISsNS_25CategoryNamePartValidatorELb1ENS_26DefaultValidatedComparatorISsEEEE - /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/Paludis.so (LoadError) from ${script}:${l}" where ${script} stands for the executed script and ${l} names the line which states "require Paludis", e. g.: from /usr/share/paludis/ruby/demos/find_unused_distfiles.rb:4 I am using hardened stuff. Reproducible: Always Steps to Reproduce: 1. Execute any ruby script with "require 'Paludis'", e. g. /usr/share/paludis/ruby/demos/find_unused_distfiles.rb Actual Results: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/Paludis.so: /usr/lib/libpaludisruby.so.26: undefined symbol: _ZN7paludis18FakeRepositoryBase12add_categoryERKNS_9ValidatedISsNS_25CategoryNamePartValidatorELb1ENS_26DefaultValidatedComparatorISsEEEE - /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/Paludis.so (LoadError) Expected Results: Executing of script (in above example lsit of distfiles not owned by currently installed package) Portage 2.1.4.4 (hardened/amd64, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r7-monolith x86_64) ================================================================= System uname: 2.6.23-hardened-r7-monolith x86_64 AMD Sempron(tm) Processor 3000+ Timestamp of tree: Tue, 11 Mar 2008 01:47:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -fomit-frame-pointer -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -fomit-frame-pointer -O2 -pipe" DISTDIR="/var/distfiles" FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/var/packages" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X acl alsa amd64 arts bash-completion berkdb bzip2 caps cdr cracklib crypt dbus doc dvd dvdr dvdread encode fbcon ffmpeg flac gif gnutls gtk2 hal hardened id3tag imap ipv6 jpeg jpeg2k justify kde kdeenablefinal latex midi motif ncurses nls nptl nptlonly offensive ogg openexr opengl pam pic pie png qt3 qt4 readline ruby sasl sdl skey smartcard spell sse2 ssl symlink tcpd tetex theora tiff truetype unicode urandom usb vcd vim-syntax vorbis xine xorg zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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="agfa_cl20" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="via vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Reassigning to maintainer-needed since Stephen was retired as a Gentoo developer. See bug #64840 for reference.
Reassigning to maintainer.
I can confirm that on 0.26.1 version. When running playman I've got: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/Paludis.so: /usr/lib/libpaludisruby.so.26: undefined symbol: _ZN7paludis18FakeRepositoryBase12add_categoryERKNS_9ValidatedISsNS_25CategoryNamePartValidatorELb1ENS_26DefaultValidatedComparatorISsEEEE - /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/Paludis.so (LoadError) from /usr/bin/playman:20
The bug reappeared in paludis-0.34.0. Shall I open a new bug report for it?
Would you upgrade to the latest version and report if you still get this error?
I did not get the error with version 0.36.0 any more.
Marking as FIXED, I believe it was fixed some time ago(0.28).