Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Parse Error reading PROVIDE and USE in...

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
krycek
n00b
n00b
Posts: 41
Joined: Thu Mar 17, 2005 9:41 am
Location: Zürich, Switzerland

Parse Error reading PROVIDE and USE in...

  • Quote

Post by krycek » Sun Feb 11, 2007 6:33 pm

hi forum people!

trying to update my gentoo system after some repairing is giving me following error:

Code: Select all

Parse Error reading PROVIDE and USE in '/var/db/pkg/x11-base/xorg-x11-6.8.2-r4'
Possibly Invalid: 'virtual/x11 opengl? virtual/opengl opengl? virtual/glu virtual/xft'
Exception: Conditional without parenthesis: 'opengl?'
has anyone of you an idea to solve this prob?
i already searched the forums, but couldnt find anything.

thx k
Top
Arfrever
Bodhisattva
Bodhisattva
Posts: 2463
Joined: Sat Apr 29, 2006 5:27 pm
Location: 異世界

Re: Parse Error reading PROVIDE and USE in...

  • Quote

Post by Arfrever » Sun Feb 11, 2007 8:08 pm

Post the output of:

Code: Select all

emerge --info
cat /var/db/pkg/x11-base/xorg-x11-6.8.2-r4/PROVIDE
cat /var/db/pkg/x11-base/xorg-x11-6.8.2-r4/USE
Also read Migrating to Modular X HOWTO.

Perduodu linkėjimus
Arfrever
Top
krycek
n00b
n00b
Posts: 41
Joined: Thu Mar 17, 2005 9:41 am
Location: Zürich, Switzerland

  • Quote

Post by krycek » Sun Feb 11, 2007 8:56 pm

Code: Select all

# emerge --info

Parse Error reading PROVIDE and USE in '/var/db/pkg/x11-base/xorg-x11-6.8.2-r4'
Possibly Invalid: 'virtual/x11 opengl? virtual/opengl opengl? virtual/glu virtual/xft'
Exception: Conditional without parenthesis: 'opengl?'

Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 mobile AMD Athlon(tm) XP-M 2600+
Gentoo Base System version 1.6.13
Timestamp of tree: Sun, 11 Feb 2007 14:50:01 +0000
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/gcc-config: 1.3.12-r3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/lib/X11/xkb /usr/lib/mozill
a/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex
/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo  http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo  ftp://t
rumpetti.atm.tut.fi/gentoo http://trumpetti.atm.tut.fi/gentoo  ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror  http:/
/linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror  http://gentoo.oregonstate.edu  http://www.ibiblio.org/pub/Linux/d
istributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete
-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ch.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd eds emboss encode esd fo
omaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib ipv6 isdnlog jpeg kde libg++ libwww mad midi mikmod
 motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sd
l session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis x86 xml xorg xv zlib" ALSA_CARDS="ali5451
 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8
x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dsha
re dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm
 softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk h
d44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
, PORTDIR_OVERLAY

Code: Select all

# cat /var/db/pkg/x11-base/xorg-x11-6.8.2-r4/PROVIDE 
virtual/x11
        opengl? virtual/opengl
        opengl? virtual/glu
        virtual/xft

Code: Select all

 # cat /var/db/pkg/x11-base/xorg-x11-6.8.2-r4/USE
x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd eds emboss encode esd fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc

Im going to read the HOWTO, do you find any solution for my problem in the outputs anyway?
Thanks for your help

k
Top
panyo
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Fri Jan 02, 2004 1:56 am

  • Quote

Post by panyo » Fri Feb 16, 2007 7:23 am

If it helps, it just happened to me too.
I just did an emerge sync and an emerge portage, which update 3 packages-I did not watch which.
Now I get that warning. I have not done anything to X in many months.
Top
Arfrever
Bodhisattva
Bodhisattva
Posts: 2463
Joined: Sat Apr 29, 2006 5:27 pm
Location: 異世界

  • Quote

Post by Arfrever » Fri Feb 16, 2007 6:32 pm

Change the content of "/var/db/pkg/x11-base/xorg-x11-6.8.2-r4/PROVIDE" to:

Code: Select all

virtual/x11
        opengl? ( virtual/opengl )
        opengl? ( virtual/glu )
        virtual/xft
Perduodu linkėjimus
Arfrever
Top
Domini Canes
n00b
n00b
Posts: 1
Joined: Sun Feb 18, 2007 6:20 pm

  • Quote

Post by Domini Canes » Sun Feb 18, 2007 6:32 pm

Hello Arfrever, all,

My situation is exactly the same as described by krycek (well, except that x version is r2 instead of r4 :) ).
However after modification of PROVIDES file, as suggested, the problem still persists.

Hmmm, it seams like information is cached somewhere else, since whatever I put into the PROVIDES file
(even garbage) does not affect the situation, I still get that
Possibly Invalid: 'virtual/x11 opengl? virtual/opengl opengl? virtual/glu virtual/xft'
message.

What do I have to do to force portage to refresh? I have tried emerge --metadata and
emerge --regen but that does not help.

Linkejimai

--
Domini Canes
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9657
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Sun Feb 18, 2007 6:51 pm

Remove /var/cache/edb/vdb_metadata.pickle then.
Top
Buzz
n00b
n00b
Posts: 55
Joined: Fri Jul 19, 2002 3:13 pm

  • Quote

Post by Buzz » Wed Mar 07, 2007 7:07 pm

Genone wrote:Remove /var/cache/edb/vdb_metadata.pickle then.
I was having the same problem. The final process that I derived from your posts here was:


in /var/db/pkg/x11-base/xorg-x11-6.8.2-r6/xorg-x11-6.8.2-r6.ebuild

change

PROVIDE="virtual/x11
opengl? virtual/opengl
opengl? virtual/glu
virtual/xft"

to

PROVIDE="virtual/x11
opengl? ( virtual/opengl )
opengl? ( virtual/glu )
virtual/xft"

and in /var/db/pkg/x11-base/xorg-x11-6.8.2-r6/PROVIDE

change

virtual/x11
opengl? virtual/opengl
opengl? virtual/glu
virtual/xft

to

virtual/x11
opengl? ( virtual/opengl )
opengl? ( virtual/glu )
virtual/xft

follow this with:

rm /var/cache/edb/vdb_metadata.pickle

and finally

emerge --metadata && emerge --regen

This gets rid of the error, I don't know if it is truly a fix.

Buzz...
Top
cayenne
l33t
l33t
User avatar
Posts: 945
Joined: Thu Oct 17, 2002 3:50 am
Location: New Orleans

Can someone explain?

  • Quote

Post by cayenne » Sat Sep 15, 2007 11:40 pm

Buzz wrote:
Genone wrote:Remove /var/cache/edb/vdb_metadata.pickle then.
I was having the same problem. The final process that I derived from your posts here was:


in /var/db/pkg/x11-base/xorg-x11-6.8.2-r6/xorg-x11-6.8.2-r6.ebuild

change

PROVIDE="virtual/x11
opengl? virtual/opengl
opengl? virtual/glu
virtual/xft"

to

PROVIDE="virtual/x11
opengl? ( virtual/opengl )
opengl? ( virtual/glu )
virtual/xft"

and in /var/db/pkg/x11-base/xorg-x11-6.8.2-r6/PROVIDE

change

virtual/x11
opengl? virtual/opengl
opengl? virtual/glu
virtual/xft

to

virtual/x11
opengl? ( virtual/opengl )
opengl? ( virtual/glu )
virtual/xft

follow this with:

rm /var/cache/edb/vdb_metadata.pickle

and finally

emerge --metadata && emerge --regen

This gets rid of the error, I don't know if it is truly a fix.

Buzz...
I had the same problem...and just followed these steps and it seems to have fixed most things.
However, I have NO idea what I've just done. Can someone explain what happened and what these steps were and what they did to fix things?

I've not messed with my gentoo boxes in quite awhile...and am VERY rusty...looks like lots of things have changed as I start to get back into this...

Thanks in advance,

cayenne
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic