Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308647 - app-app-misc/strigi-0.7.0 failed, misc/strigi-0.7.1 failed with error: '__glibcxx_requires_string' was not declared in this scope
Summary: app-app-misc/strigi-0.7.0 failed, misc/strigi-0.7.1 failed with error: '__gli...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 13:53 UTC by K. Posern
Modified: 2010-03-09 19:03 UTC (History)
1 user (show)

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


Attachments
emerge log (app-misc:strigi-0.7.1:20100309-072001.log,85.25 KB, text/plain)
2010-03-09 13:55 UTC, K. Posern
Details
emerge log of strigi 0.7.0 (app-misc:strigi-0.7.0:20100309-135759.log,93.23 KB, text/plain)
2010-03-09 13:59 UTC, K. Posern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description K. Posern 2010-03-09 13:53:53 UTC
I can't emerge the package:

[ebuild     U ] app-misc/strigi-0.7.1 [0.6.5] USE="dbus exif inotify qt4 -clucene* -debug -fam -hyperestraier (-log) -test"

NOR this one (with the same error message):

[ebuild     U ] app-misc/strigi-0.7.0 [0.6.5] USE="dbus exif inotify qt4 -clucene* -debug -fam -hyperestraier (-log) -test" 
EMERGE WRAPPER: [0]

I tried to google a solution, but without any success,
I tried to "emerge -evt misc/strigi", but the problem still exists.

Maybe I am missing something (obvious) here?!
Any hint/help would be highly appreciated!

REMARK:
If possible I would like to /not/ have strigi at all on my system, but unfortunately kdelibs has a (fixed) dependency on it.


Reproducible: Always

Steps to Reproduce:
1. emerge -j1 -evt misc/strigi /OR/ emerge -j1 -vt misc/strigi
2.
3.

Actual Results:  
The problem in short:

/mnt/vola/sd/tmp.portage/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/luceneindexer/cluceneindexwriter.cpp:277:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/basic_string.h:837: error: '__glibcxx_requires_string' was not declared in this scope
make[2]: *** [src/luceneindexer/CMakeFiles/clucene.dir/cluceneindexwriter.cpp.o] Error 1
make[1]: *** [src/luceneindexer/CMakeFiles/clucene.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: app-misc/strigi-0.7.1 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 3007:  Called cmake-utils_src_compile
 *   environment, line  803:  Called _execute_optionaly 'src_compile'
 *   environment, line  295:  Called enable_cmake-utils_src_compile
 *   environment, line 1162:  Called cmake-utils_src_make
 *   environment, line  822:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";



Portage 2.2_rc65 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-nogo-jolie i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-nogo-jolie-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 07 Mar 2010 20:15:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r3, 2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.4.6-r2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 LOKI-EULA sun-bcla-java-vm skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=nocona -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=nocona -O2 -pipe"
DISTDIR="/vola/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner -1"
FEATURES="assume-digests buildpkg ccache collision-protect distlocks fixpackages metadata-transfer news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict suidctl unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.netnitco.net"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de fr"
MAKEOPTS="-j 4"
PKGDIR="/tmp/packages.new"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=" --exclude-from="/etc/portage/rsync_excludes" --delete-excluded --quiet"
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="/vola/tmp.portage"
PORTDIR="/vola/portage"
PORTDIR_OVERLAY="/vola/layman/java-overlay /vola/layman/gnome /vola/layman/lisp /vola/layman/science /vola/layman/sunrise /vola/layman/vmware /vola/layman/x11 /vola/layman/jokey /vola/layman/ibormuth /vola/layman/mozilla /LINKS/overlays/mine /LINKS/overlays/python-experimental/experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip R X a52 aac aalib ace acl acpi activefilter additions administrator agg aim aio alsa amr amrnb amrwb animgif apache2 applet ares async atm atmo atop audio bash-completion battery berkdb bittorrent bl blender blender-game bugzilla bundledlibevent bzip2 cairo ccache cdaudio cdda cddax cddb cdio cdparanoia cdr cdrom cdsound cgi chipcard chm chroot clamd cli clisp common-lisp connection-sharing corefonts cpufreq cpulimit cracklib crypt css cups cupsddk curl cxx dc1394 dedicated dga dhclient dia dirac directfb disk-partition djvu dmi dnd dot dri dts dv dvb dvd dvdnav dvdr dvdread dvi eap-tls eds emacs emboss emovix enca encode eolconv escreen exif expat extra extra-algorithms extra-cardsets faac faad fat fbcon fbcondecor fbsplash festival ffmpeg fftw firefox flac flash flite fltk fluidsynth fontconfig foomaticdb fortran fpx freesound ftp fts3 fuse galago games garmin gcdmaster gcj gcrypt gd gdbm gdl gecko geldkarte geoip ggi gif gimp git github glade glib glitz glsa glut gmp gnome-keyring gnuplot gnutls gpac gpg gpgme gphoto2 gpm grace grammar graphics graphviz gre grub gs gsl gstreamer gtk gtkhtml guile gzip h323 hbci hddtemp hdri hpn hvm iconv icotools icq id3 id3tag idea idn ieee1394 imagemagick imap imlib inkjar inotify inquisitio ioctl iptc irc jabber jadetex java java6 jbig jce jingle jpeg jpeg2k kate kde4 kernel-helper key-screen keyring keyscrub kqemu kvm ladspa lame laptop latex lcms ldap ldap-sasl libass libcaca libgda libnotify libsamplerate libsexy libssh2 libsysfs libtiger libv4l2 lightning linuxthreads-tls live lm_sensors logrotate logwatch lua lvm lvm2 lyrics lyrics-screen lyx lzma lzo mad madwifi maildir mailwrapper maps matroska mbrola md5sum metalink metric mikmod mime mimencode ming mixer mjpeg mmx mmxext mng moc modplug modules moneyplex monolithic-build mp2 mp3 mp4 mpd mpeg mplayer msn mtp mudflap multiprocess multiuser musepack music musicbrainz mysql nas nautilus ncurses nemesi net nethack network networking nntp nocd normalize nptl nptlonly ocaml ocamlopt odbc ofx ogg ogm ole openal openct openexr opengl openmp openssl opensslcrypt openvpn pam pango parted passwordsave pcap pcmcia pcre pcsc-lite pda pdf perl php phyp pink pkcs11 player plotutils pm-utils pmu png pnm pop portage portaudio posix postgres postscript pppd pptp preview-latex profile pstricks psyco publishers pvr pygrub python q32 qa qemu qt3support qt4 quicktime quotes radio radius rar raw rdesktop rdesktop-vrdp readline realmedia reflection regex reiser4 replaygain rle rtc rtf rtsp samba sasl scanner schroedinger science screen screenshot script scripting scripts sdl sdl-image sdl-sound sdlaudio session shine shout sid sift skey skins slang smartcard smi sndfile snmp socks5 sound sounds soup sox speech speex spell spl sqlite sqlite3 srt sse sse2 sse3 ssh ssh2 ssl ssse3 stream stream4udp svg svga svgz symlink sysfs syslog t1lib taglib tagwriting tetex tex4ht tga theora thesaurus threads thunar thunderbird tidy tiff timidity tivo tk tls tools truetype twolame type1 udev uml unicode unzip usb userlocales utf8 utils v4l2 vcd vcdinfo vcdx video videos vidix vim vim-pager vim-syntax vim-with-x virtualbox visibility visualizer vlm vmx voice vorbis wav wavpack webkit webmail wifi win32codecs winetools wma wma-fixed wmf wmp wxwindows x264 x86 xanim xattr xcb xcomposite xemacs xen xetex xfce xft xinerama xml xmp xorg xosd xpm xscreensaver xslt xterm xulrunner xv xvid xvmc yahoo yv12 zip zlib zoran zsh-completion zvbi" 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 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="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa i810 fbdev intel" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 K. Posern 2010-03-09 13:55:58 UTC
Created attachment 222831 [details]
emerge log
Comment 2 K. Posern 2010-03-09 13:59:32 UTC
Created attachment 222833 [details]
emerge log of strigi 0.7.0
Comment 3 K. Posern 2010-03-09 14:01:21 UTC
I also already tried with or without the clucene USEFLAG --> same results.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-03-09 14:02:02 UTC
The problem is here,

/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/stl_algobase.h:76:25:
error: /usr/lib/debug/debug.h: Permission denied

Output of,

ls -ld /usr/lib/debug /usr/lib/debug/debug.h

Please.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-09 14:03:38 UTC
Also, http://bugs.gentoo.org/show_bug.cgi?id=289940#c9
Comment 6 K. Posern 2010-03-09 18:29:25 UTC
Thanks for the fast help!!

JOLIE ~ # ls -ld /usr/lib/debug /usr/lib/debug/debug.h
ls: cannot access /usr/lib/debug/debug.h: No such file or directory
drwxr-x--- 3 root root 3 2010-03-07 16:59 /usr/lib/debug

JOLIE ~ # qfile /usr/lib/debug/debug.h

It is really strange:

JOLIE ~ # ls -ld /usr/lib/debug/
drwxr-x--- 5 root root 4096 2009-09-03 22:15 /usr/lib/debug/
JOLIE ~ # ls -ld /usr/lib/debug/lib/
drwxr-x--- 2 root root 4096 2009-09-03 22:15 /usr/lib/debug/lib/
JOLIE ~ # ls -l /usr/lib/debug/lib/   
total 56
-rw-r----- 1 root root  4775 2009-09-03 21:49 libcom_err.so.2.1.debug
-rw-r----- 1 root root  6429 2009-09-03 22:15 libe2p.so.2.3.debug
-rw-r----- 1 root root 29598 2009-09-03 22:15 libext2fs.so.2.4.debug
-rw-r----- 1 root root  7318 2009-09-03 21:49 libss.so.2.0.debug

JOLIE ~ # qfile /usr/lib/debug        
dev-libs/soprano (/usr/lib/debug)
sys-apps/pciutils (/usr/lib/debug)

JOLIE ~ # genlop sys-apps/pciutils
 * sys-apps/pciutils
     Wed Jun 24 19:07:12 2009 >>> sys-apps/pciutils-3.1.2

JOLIE ~ # genlop dev-libs/soprano 
 * dev-libs/soprano
     Tue Dec  8 00:52:44 2009 >>> dev-libs/soprano-2.3.1-r1

===============================================================

- So all the permissions under /usr/lib/debug are wrong(miss global read access)?
  Or does only the debug directory /usr/lib/debug need 755?

- Did soprano maybe break the permissions on /usr/lib/debug (because it was last instaled? ... I reinstalled the same version and permissions on /usr/lib/debug stayed at 755 ... so probably no. Just strange that the permissions were off.

- And I got this right: There is no debug.h, right? (why does it then look for it ... confusing)
Comment 7 K. Posern 2010-03-09 18:30:21 UTC
I forgot to mention:
Both versions (0.7.0 and 0.7.1) do emerge now without problems!
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-03-09 18:34:06 UTC
I have no idea why the permission were wrong, there should be at least read access to the directory...

If this happens again and you can trace it down why it's permission got off, please let us know

I'm just glad it works for you now
Comment 9 K. Posern 2010-03-09 19:03:10 UTC
sure thing!