LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-04-2011, 10:29 PM   #1
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Cannot emerge dev-db/virtuoso-server-6.1.3?


Hi,

I cannot compile the virtuoso-server-6.1.3 when updating the whole system:
Code:
# emerge --update --newuse --deep --with-bdeps=y @world
Code:
...
sql_code.c:2168:1: warning: hex escape sequence out of range
sql_code.c:2168:1: warning: hex escape sequence out of range
sql_code.c:2168:1: warning: hex escape sequence out of range
sql_code.c:2729:1: error: stray '\' in program
sql_code.c:2729:1: error: stray '\' in program
sql_code.c:2729:73: error: 'I' undeclared here (not in a function)
sql_code.c:2729:76: error: expected ',' or ';' before string constant
sql_code.c:2729:76: error: stray '\' in program
sql_code.c:2729:76: error: stray '\' in program
sql_code.c:2729:76: error: stray '\' in program
sql_code.c:2729:76: error: stray '\' in program
sql_code.c:3691:1: warning: unknown escape sequence: '\-'
sql_code.c:3691:1: warning: unknown escape sequence: '\-'
sql_code.c:3691:1: warning: unknown escape sequence: '\-'
sql_code.c:3691:1: warning: unknown escape sequence: '\-'
sql_code.c:3691:1: warning: unknown escape sequence: '\-'
sql_code.c:3691:1: warning: unknown escape sequence: '\-'
make[3]: *** [libwi_la-sql_code.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fomit-frame-pointer -fno-strict-aliasing -O2 -Wall -DNDEBUG -I/var/tmp/portage/dev-db/virtuoso-server-6.1.3/work/virtuoso-opensource-6.1.3/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -I../../libsrc -I../../libsrc/Dk -I. -I../../libsrc/langfunc -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER -DOPSYS=\"Linux\" -DHOST=\"i686-pc-linux-gnu\" -march=prescott -O2 -pipe -fomit-frame-pointer -c sql_code_adm.c  -fPIC -DPIC -o .libs/libwi_la-sql_code_adm.o
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fomit-frame-pointer -fno-strict-aliasing -O2 -Wall -DNDEBUG -I/var/tmp/portage/dev-db/virtuoso-server-6.1.3/work/virtuoso-opensource-6.1.3/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -I../../libsrc -I../../libsrc/Dk -I. -I../../libsrc/langfunc -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER -DOPSYS=\"Linux\" -DHOST=\"i686-pc-linux-gnu\" -march=prescott -O2 -pipe -fomit-frame-pointer -c sql_code_2pc.c  -fPIC -DPIC -o .libs/libwi_la-sql_code_2pc.o
sql_code_adm.c:5122:1: warning: unknown escape sequence: '\_'
make[3]: Leaving directory `/var/tmp/portage/dev-db/virtuoso-server-6.1.3/work/virtuoso-opensource-6.1.3/libsrc/Wi'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/virtuoso-server-6.1.3/work/virtuoso-opensource-6.1.3/libsrc/Wi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/virtuoso-server-6.1.3/work/virtuoso-opensource-6.1.3/libsrc'
make: *** [all-recursive] Error 1
 * ERROR: dev-db/virtuoso-server-6.1.3 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =dev-db/virtuoso-server-6.1.3',
 * the complete build log and the output of 'emerge -pqv =dev-db/virtuoso-server-6.1.3'.
 * The complete build log is located at '/var/tmp/portage/dev-db/virtuoso-server-6.1.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/virtuoso-server-6.1.3/temp/environment'.
 * S: '/var/tmp/portage/dev-db/virtuoso-server-6.1.3/work/virtuoso-opensource-6.1.3'

>>> Failed to emerge dev-db/virtuoso-server-6.1.3, Log file:

>>>  '/var/tmp/portage/dev-db/virtuoso-server-6.1.3/temp/build.log'
The emerge info shows:
Code:
# emerge --info =dev-db/virtuoso-server-6.1.3
Portage 2.1.10.4 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.31-gentoo-r10 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Genuine_Intel-R-_CPU_T2250_@_1.73GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 04 Jul 2011 01:45:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.2, 3.1.3-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.7.0
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /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/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.twaren.net/Linux/Gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/usr/local/portage"
SYNC="rsync://rsync6.tw.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 apm berkdb bluetooth branding bzip2 cairo cdda cdr cgi cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr embedded emboss encode examples exif fam firefox flac fortran gdbm gdu gif gpm iconv ipv6 jpeg kde lcms ldap libnotify lm_sensors mad mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3 qt3support qt4 readline sdl semantic-desktop session spell sql ssl startup-notification static-libs svg sysfs tcpd tiff truetype udev unicode usb vorbis webkit x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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 synaptics keyboard mouse" 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="intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The USE flags:
Code:
# emerge -pqv =dev-db/virtuoso-server-6.1.3

 * IMPORTANT: config file '/etc/portage/package.unmask' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
[ebuild  N    ] dev-db/virtuoso-server-6.1.3  USE="readline -kerberos -ldap"
The complete build log: http://pastebin.com/Egj6St0g

Could you help me solve this problem?
 
Old 07-05-2011, 07:24 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Can you first disable the use flag that is pulling in virtuoso-server and then update world?

As jfp suggested in http://forums.gentoo.org/viewtopic-t...ososerver.html

Code:
equery depends virtuoso-server
to see what is now pulling in virtuoso-server.

Then temporarily disable that flag so you can do the update.

Did you specifically try to pull this package in?

Also, what is wrong with your package.unmask file?

Quote:
IMPORTANT: config file '/etc/portage/package.unmask' needs updating

Last edited by andrewthomas; 07-05-2011 at 10:19 AM. Reason: fixed link
 
Old 07-05-2011, 09:55 AM   #3
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Original Poster
Rep: Reputation: 101Reputation: 101
I know soprano is the only package which depends on virtuoso-server. I also recompiled this without the virtuoso USE flag:
Code:
[I] dev-libs/soprano
     Available versions:  2.4.4!t (~)2.5.3!t 2.6.0!t {clucene +dbus debug doc elibc_FreeBSD java +raptor +redland test +virtuoso}
     Installed versions:  2.6.0!t(10:20:07 PM 07/04/2011)(dbus raptor redland -clucene -debug -doc -elibc_FreeBSD -test -virtuoso)
     Homepage:            http://soprano.sourceforge.net/
     Description:         Library that provides a nice Qt interface to RDF storage solutions
and add soprano to the package.mask but emerge still pulls virtuoso-server when I update the world. And as your suggestion, I've disabled that in make.conf:
Code:
USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr embedded acpi apm lm_sensors -hal apache2 mysql declarative sql webkit semantic-desktop examples static-libs cgi udev -soprano"
and re-try but got the same result.

PS: I ran `etc-update` to update the package.unmask.
 
Old 07-05-2011, 10:17 AM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Once you recompiled without the virtuoso USE flag you should have been good:


Quote:
msi-gentoo ~ # USE="-virtuoso" emerge -pv soprano

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] media-libs/raptor-1.4.21-r1 USE="curl unicode xml -debug -static-libs" 1,614 kB
[ebuild N ] media-libs/raptor-2.0.2 USE="curl unicode xml -debug -json -static-libs" 1,596 kB
[ebuild N ] dev-libs/rasqal-0.9.19 USE="pcre -gmp -test -xml" 1,204 kB
[ebuild N ] dev-libs/redland-1.0.10-r2 USE="berkdb mysql ssl -iodbc -odbc -postgres -sqlite -static-libs -xml" 1,533 kB
[ebuild N ] dev-libs/soprano-2.6.0 USE="dbus raptor redland -clucene -debug -doc -test -virtuoso" 1,901 kB

Total: 5 packages (5 new), Size of downloads: 7,846 kB
and with it:
Quote:
msi-gentoo ~ # emerge -pv soprano

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] media-libs/raptor-1.4.21-r1 USE="curl unicode xml -debug -static-libs" 1,614 kB
[ebuild N ] media-libs/raptor-2.0.2 USE="curl unicode xml -debug -json -static-libs" 1,596 kB
[ebuild N ] dev-db/libiodbc-3.52.7 USE="gtk" 1,015 kB
[ebuild N ] dev-db/virtuoso-odbc-6.1.3 73,325 kB
[ebuild N ] dev-libs/rasqal-0.9.19 USE="pcre -gmp -test -xml" 1,204 kB
[ebuild N ] dev-db/virtuoso-server-6.1.3 USE="readline -kerberos -ldap" 0 kB
[ebuild N ] dev-libs/redland-1.0.10-r2 USE="berkdb mysql ssl -iodbc -odbc -postgres -sqlite -static-libs -xml" 1,533 kB
[ebuild N ] dev-libs/soprano-2.6.0 USE="dbus raptor redland virtuoso -clucene -debug -doc -test" 1,901 kB
You don't need to put soprano in your /etc/portage/package.mask, but you could try to add
Code:
dev-db/virtuoso-server
to /etc/portage/package.mask and then don't forget to

Code:
env-update && source /etc/profile
before trying

Code:
emerge -avuDN world
 
Old 07-05-2011, 09:00 PM   #5
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Original Poster
Rep: Reputation: 101Reputation: 101
I also tried to add dev-db/virtuoso-server to package.mask but it claims the mask changes are necessary to proceed:
Code:
...
Total: 445 packages (413 upgrades, 15 new, 5 in new slots, 12 reinstalls, 3 uninstalls), Size of downloads: 874,752 kB
Fetch Restriction: 1 package
Conflict: 13 blocks
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

The following mask changes are necessary to proceed:
#required by dev-libs/soprano-2.6.0[virtuoso], required by kde-base/kdelibs-4.6.4-r1[semantic-desktop], required by kde-base/kajongg-4.6.4, required by kde-base/kdegames-meta-4.6.4[python], required by kde-base/kde-meta-4.6.4, required by @selected, required by @world (argument)
# /etc/portage/package.mask:
>=dev-db/virtuoso-server-6.1.3

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
 
Old 07-05-2011, 09:08 PM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
OK, it looks like you may have to get rid of the semantic-desktop USE flag

Add
Code:
kde-base/kdelibs -semantic-desktop
In /etc/portage/package.use

And update the env and source the profile and try again.
 
Old 07-05-2011, 10:42 PM   #7
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Original Poster
Rep: Reputation: 101Reputation: 101
I have updated the kdelibs without the semantic-desktop USE flag and try again, but nothing changes:
Code:
Total: 442 packages (409 upgrades, 15 new, 5 in new slots, 13 reinstalls, 3 uninstalls), Size of downloads: 874,752 kB
Fetch Restriction: 1 package
Conflict: 13 blocks
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

The following mask changes are necessary to proceed:
#required by dev-libs/soprano-2.6.0[virtuoso], required by kde-base/kdelibs-4.6.4-r1[semantic-desktop], required by kde-base/kajongg-4.6.4, required by kde-base/kdegames-meta-4.6.4[python], required by kde-base/kde-meta-4.6.4, required by @selected, required by @world (argument)
# /etc/portage/package.mask:
>=dev-db/virtuoso-server-6.1.3

The following USE changes are necessary to proceed:
#required by media-sound/amarok-2.4.1[player], required by @selected, required by @world (argument)
>=kde-base/kdelibs-4.6.4-r1 semantic-desktop

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
Below are the packages that was installed with the semantic-desktop USE flag:
Code:
# equery h semantic-desktop
 * Searching for USE flag semantic-desktop ... 
[I--] [??] kde-base/dolphin-4.6.1:4
[I--] [??] kde-base/gwenview-4.6.1:4
[I--] [??] kde-base/kde-meta-4.6.1:4
[I--] [??] kde-base/kdebase-runtime-meta-4.6.1:4
[IP-] [  ] kde-base/kdelibs-4.6.4-r1:4
[I--] [??] kde-base/kdepim-meta-4.4.10:4
[I--] [??] kde-base/kdepimlibs-4.6.1:4
[I--] [??] kde-base/kdeplasma-addons-4.6.1:4
[I--] [??] kde-base/kget-4.6.1:4
[I--] [??] kde-base/plasma-workspace-4.6.1:4
[I--] [??] kde-base/pykde4-4.6.1:4
[IP-] [  ] media-gfx/digikam-1.9.0:4
[IP-] [  ] media-sound/amarok-2.4.1:4
And as you know, I cannot disable semantic-desktop USE flag globally because some packages such as kdepimlibs requires it:
Code:
# emerge -vuND world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=kde-base/kdepimlibs-4.6.0:4[aqua=,semantic-desktop]".
!!! One of the following packages is required to complete your request:
- kde-base/kdepimlibs-4.6.4::gentoo (Change USE: +semantic-desktop)
(dependency required by "kde-base/kdepim-common-libs-4.6.0" [ebuild])
(dependency required by "kde-base/knotes-4.6.0" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

Last edited by quanta; 07-05-2011 at 10:50 PM.
 
Old 07-06-2011, 07:29 AM   #8
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
At this point, I think your best bet would be to file a bug.
 
Old 07-07-2011, 02:39 AM   #9
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Original Poster
Rep: Reputation: 101Reputation: 101
OK, I filed a bug here: https://bugs.gentoo.org/show_bug.cgi?id=374315
Please take a look at if you can help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cant emerge samba : Failed to emerge sys-libs/tdb-1.2.1 Adol Gentoo 2 03-09-2011 11:51 AM
virtuoso-t KBriggs Linux - Software 2 05-05-2010 12:01 PM
Anybody Ever Hear of Red Hat Virtuoso? radbam Linux - Virtualization and Cloud 1 10-17-2009 01:47 PM
LXer: Open Source Edition of OpenLink Virtuoso Released LXer Syndicated Linux News 0 04-12-2006 10:54 PM
emerge problem for dev-java/ant melinda_sayang Linux - Distributions 3 09-02-2005 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration