Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350945 - dev-libs/soprano-2.4.4 breaks while compiling virtuoso backend (amd64 version)
Summary: dev-libs/soprano-2.4.4 breaks while compiling virtuoso backend (amd64 version)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 10:59 UTC by Stefano Priore
Modified: 2011-01-13 16:24 UTC (History)
1 user (show)

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


Attachments
soprano-2.4.4 build.log (build.log,28.52 KB, text/plain)
2011-01-07 11:01 UTC, Stefano Priore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano Priore 2011-01-07 10:59:42 UTC
dev-libs/soprano-2.4.4 fails to compile again (this time at a different advancement point) with virtuoso. Might be related with bug #344403?

These are the relevant environment variables and emerge --info; build.log will follow:

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.22"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""

# emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5-Jacob x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-Jacob-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2200_@_2.20GHz-with-gentoo-1.12.14
Timestamp of tree: Thu, 06 Jan 2011 15:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
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.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /var/lib/layman/roslin /var/lib/layman/zugaina /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 authdaemond bash-completion berkdb bidi bluetooth branding bzip2 cairo cdda cddb cdr cjk clamav cli consolekit cracklib crypt css cups curl curlwrappers cvs cxx dbus dga djvu dri dts dv dvd dvdr emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fontconfig fortran ftp gd gdbm gdu geoip gif gimp glut gmp gnuplot gnutls gpm graphviz gsm gstreamer gzip hal handbook hddtemp iconv icu idn imagemagick innodb ipod java javascript jbig joystick jpeg jpeg2k kde kontact lame latex lcms libcaca libnotify libsamplerate lm_sensors lzma lzo m17n-lib mad maildir mhash midi mikmod mime mmx mng modplug modules mozilla mp3 mp4 mpeg mplayer mtp mudflap multilib musepack musicbrainz ncurses nls nntp nptl nptlonly nsplugin ntfs offensive ogg openexr opengl openmp pam pango pcre pda pdf perl plasma plotutils png policykit ppds pppd python qt3support qt4 quicktime raw readline recode rss samba sasl scanner sdl semantic-desktop session shorten slang smp sndfile sox speex spell sse sse2 ssl ssse3 startup-notification subversion svg sysfs syslog szip taglib tcpd theora threads tidy tiff timidity truetype udev unicode usb v4l v4l2 vcd vim-syntax vnc vorbis wavpack wifi wmf x264 xattr xcb xcomposite xface xine xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel pcsp seq-dummy" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog contextswitch cpu cpufreq curl curl_xml disk entropy filecount hddtemp logfile network nfs ntpd ping processes sensors serial table tail tcpconns uptime users vmem wireless match_empty_counter match_hashed match_regex match_timediff match_value target_notification target_replace target_scale target_set" 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 keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek net" USERLAND="GNU" VIDEO_CARDS="intel fbdev vesa" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefano Priore 2011-01-07 11:01:43 UTC
Created attachment 259126 [details]
soprano-2.4.4 build.log
Comment 2 Rafał Mużyło 2011-01-07 13:46:22 UTC
This more or less *is* a dupe of your other bug.

The problem is still the same - for some reason, soprano is led to to believe that /usr/lib/libjvm.so exists.
That should actually be  ${JAVA_HOME}/jre/lib/${libarch}/server/libjvm.so (for sun-jdk, atleast and the last part for you will probably be amd64).
Comment 3 Stefano Priore 2011-01-07 17:07:38 UTC
Actually these files exist on my systems!

On the x86 box /usr/lib/libjvm.so is linked to /opt/icedtea6-bin-1.8.1/jre/lib/i386/server/libjvm.so while on the amd86 machine /usr/lib64/libjvm.so is linked to > /opt/sun-jdk-1.6.0.20/jre/lib/amd64/server/libjvm.so

After re-reading your comment, I've realized that I've forgot to mention when I posted my reports: both packages compiled fine the first time I installed them (and that should explain why libjvm.so exists).

Since the error occurred in both circumstances after having issued `emerge -ve system`, I have to conclude that the problem is not entirely in soprano-2.4.4. Hope this helps pinpointing the cause of the problem...
Comment 4 Rafał Mużyło 2011-01-07 17:13:42 UTC
The most likely reson of the problem is the very existence of /usr/lib/libjvm.so.

Why did you create those links ?
If that was not you, any ideas what did ?
Comment 5 Stefano Priore 2011-01-07 21:02:33 UTC
Of course I didn't create them... Maybe they're the remnants of older Java installations?
Comment 6 Rafał Mużyło 2011-01-08 01:29:53 UTC
Does java-check-environment as root give any hints ?
Do those links belong to a package ?
If not, can you simply remove them ?
Comment 7 Stefano Priore 2011-01-10 23:49:41 UTC
java-config-check reports everything's OK.
The links don't seem to belong to any package (at least `equery belongs /usr/lib/libjvm.so` reports so)
I don't want to remove them without knowing what I'm doing...
Comment 8 Rafał Mużyło 2011-01-11 00:00:46 UTC
Without a working crystal ball, it's hard to tell (I still suspect them to be a result of your own actions).
That they don't seem to belong to any package, is probably a good enough hint in this case. Remove them and see if things will work as they should.