Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300781 - dev-libs/soprano-2.3.1-r1 fails to build: Make failed
Summary: dev-libs/soprano-2.3.1-r1 fails to build: Make failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-12 21:09 UTC by Alexander Kratzsch
Modified: 2010-01-13 19:36 UTC (History)
0 users

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


Attachments
build.log of dev-libs/soprano-2.3.1-r1 (build.log,21.54 KB, text/plain)
2010-01-13 15:50 UTC, Alexander Kratzsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kratzsch 2010-01-12 21:09:11 UTC
emerge soprano fails while building sopranoclient (96%)

Reproducible: Always

Steps to Reproduce:
1. emerge soprano
2.
3.

Actual Results:  
 * 
 * ERROR: dev-libs/soprano-2.3.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4698:  Called cmake-utils_src_compile
 *             environment, line  873:  Called _execute_optionaly 'src_compile'
 *             environment, line  364:  Called enable_cmake-utils_src_compile
 *             environment, line 1372:  Called cmake-utils_src_make
 *             environment, line  892:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 * 

Expected Results:  
soprano should be compiled and installed.

make: *** [all] Error 2
 * 
 * ERROR: dev-libs/soprano-2.3.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4698:  Called cmake-utils_src_compile
 *             environment, line  873:  Called _execute_optionaly 'src_compile'
 *             environment, line  364:  Called enable_cmake-utils_src_compile
 *             environment, line 1372:  Called cmake-utils_src_make
 *             environment, line  892:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/soprano-2.3.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/soprano-2.3.1-r1/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.6.2"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""

emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31.6 x86_64)
=================================================================
System uname: Linux-2.6.31.6-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-gentoo-1.12.13
Timestamp of tree: Tue, 12 Jan 2010 15:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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 acl acpi alsa amd64 avi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-12 21:10:54 UTC
please paste the complete build.log as the message say.
Comment 2 Alexander Kratzsch 2010-01-13 15:50:11 UTC
Created attachment 216370 [details]
build.log of dev-libs/soprano-2.3.1-r1
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-13 15:53:07 UTC
[0m[ 81%] /opt/icedtea6-bin-1.6.2/jre/lib/amd64/server/libjvm.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
[32mBuilding CXX object server/CMakeFiles/sopranoclient.dir/sparql/sparqlmodel.cpp.o
[0mmake[2]: *** [backends/sesame2/libsoprano_sesame2backend.so] Error 1
make[1]: *** [backends/sesame2/CMakeFiles/soprano_sesame2backend.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-13 15:53:46 UTC
Thats something quite javoidish issue :]
So does it work with the sun java instead of the icedtea?
Comment 5 Alexander Kratzsch 2010-01-13 16:02:21 UTC
i am a newbie to gentoo :P so can you explain me how to change to sun java?
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-13 16:06:35 UTC
I would love to but i have this skin conditions when i install java on my computer so i awoid it :D

Anyway lets wait if another team members know how to work around this issue or switch the jvm :]
Comment 7 Alexander Kratzsch 2010-01-13 16:41:46 UTC
mhh i switched to sun-jdk-1.6 via eselect as system-vm ;) but soprano still uses the icedtea6-bin

> * Using: icedtea6-bin

any ideas?
Comment 8 Alexander Kratzsch 2010-01-13 17:01:41 UTC
problem solved ;)

i had to write *=sun-jdk in /etc/java-config-2/build/jdk.conf

installing soprano works also now

thanks for your help ;)
Comment 9 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-01-13 19:28:28 UTC
(In reply to comment #8)
> problem solved ;)
> 
> i had to write *=sun-jdk in /etc/java-config-2/build/jdk.conf
> 
> installing soprano works also now
> 
> thanks for your help ;)

That means you've override the eselect config for user (if I read the comment in the file correctly). You should get the same by using the following:

eselect java-vm set user sun-jdk
Comment 10 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-01-13 19:36:44 UTC
I read the Java documentation[1] again and I was wrong.

 [1] - http://www.gentoo.org/doc/en/java.xml#doc_chap4