Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Invalid token 'XFCE_PLUGINS, help please
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3461
Location: Gainesville, Florida

PostPosted: Mon Feb 24, 2025 9:11 am    Post subject: Invalid token 'XFCE_PLUGINS, help please Reply with quote

Suddenly this shows up on most things lke emerge, depclean, syncs, equerys, most every attempt on any update commands.




"
Code:
[etc/portage/make.conf", line 47: Invalid token 'XFCE_PLUGINS' (not '=')




Here's my make.conf lines.

Code:
# PYTHON_TARGETS="python2_7 python3_6"
# PYTHON_SINGLE_TARGET="python3_6"
 XFCE_PLUGINS= "brightness clock trash"




If I comment out the xfce line,, the same thing happens. How can I jus remove these plugins, or all of xfce?


If I remove the line, it stops with "an unexpected end of file message"


Anyone else seeing this?

Nothing in bugzilla, and the few forum mentions seem out dated. This happened on the reboot after a world update, when I ran depclean.

Iv'e been running ~amd64 for15+ years, but this ine stumps me :(
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.13.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1055
Location: Somewhere in Denmark

PostPosted: Mon Feb 24, 2025 9:40 am    Post subject: Reply with quote

Are all lines/occurences of '"value(s)"' properly terminated?
(And does the space between '=' and '"' matter ?
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1905
Location: Germany

PostPosted: Mon Feb 24, 2025 12:02 pm    Post subject: Reply with quote

Can you provide the whole make.conf file, please?
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3461
Location: Gainesville, Florida

PostPosted: Mon Feb 24, 2025 3:55 pm    Post subject: Reply with quote

Here's make.conf


some of the flags might be outdated?

This system has been running great for many years.
-----------------------------------------------------------------------------
Quote:


# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
# CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mno-fma4 -mno-tbm -mno-xop -mno-lwp"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

ACCEPT_KEYWORDS="~amd64"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="elogind pulseaudio linguas_en_US -pie -pipewire -qt4 -qt3support -consolekit -systemd X wayland"
# CPU_FLAGS_X86="mmx sse sse2 sse3 sse4a sse4_1 sse4_2 ssse3 mmxext aes avx avx2"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
FEATURES="-binpkg-multi-instance"
PORTAGE_NICENESS="19"
MAKEOPTS="-j6"
L10N="en-US"
LINGUAS="en_US"
# ACCEPT_LICENSE="* -@EULA"
ACCEPT_LICENSE="*"
INPUT_DEVICES="libinput"
VIDEO_CARDS="amdgpu"

# GENTOO_MIRRORs="http://www.gtlib.gatech.edu/pub/gentoo http gentoo.osuosl.org/ http:/distfiles.gentoo.org"

# GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo/distfiles/ http://lug.mtu.edu/gentoo/ http: http://gentoo.mirrors.tds.net/gentoo/distfiles/ http://mirror.usu.edu/mirrors/gentoo/"



GENTOO_MIRRORs="rsync://mirrors.mit.edu/gentoo-distfiles/ rsync://rsync.gtlib.gatech.edu/gentoo rsync://mirrors.tera-byte.com/gentoo"



# RUBY_TARGETS=" ruby27"

/usr/src/linux-6.13.3-gentoo

# RUBY_TARGETS="ruby30"
# PYTHON_TARGETS="python2_7 python3_6"
# PYTHON_SINGLE_TARGET="python3_6"
XFCE_PLUGINS "brightness clock trash"

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.13.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2032

PostPosted: Mon Feb 24, 2025 3:58 pm    Post subject: Reply with quote

wrc1944 wrote:
Here's make.conf
Code:

/usr/src/linux-6.13.3-gentoo

Bogus line which looks to have been copy/pasted.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3461
Location: Gainesville, Florida

PostPosted: Mon Feb 24, 2025 4:25 pm    Post subject: Reply with quote

Just read the eselect news item on KDE Plasma 6.1.4 and Gear 24.05.2 Upgrade, and tried these checks:







Code:
equery l kde-misc/latte-dock
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/equery", line 44, in <module>
    equery.main(sys.argv)
  File "/usr/lib/python3.12/site-packages/gentoolkit/equery/__init__.py", line 360, in main
    loaded_module = __import__(expanded_module_name, globals(), locals(), [], 1)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/gentoolkit/equery/list_.py", line 20, in <module>
    from gentoolkit.package import PackageFormatter, FORMAT_TMPL_VARS
  File "/usr/lib/python3.12/site-packages/gentoolkit/package.py", line 79, in <module>
    default_settings = _NewPortageConfig(local_config=True)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/gentoolkit/package.py", line 69, in _NewPortageConfig
    ret = portage.config(
          ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/portage/proxy/objectproxy.py", line 30, in __call__
    return result(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/portage/package/ebuild/config.py", line 440, in __init__
    mygcfg = getconfig(
             ^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/portage/util/__init__.py", line 777, in getconfig
    getconfig(
  File "/usr/lib/python3.12/site-packages/portage/util/__init__.py", line 871, in getconfig
    raise ParseError(msg)
portage.exception.ParseError: "/etc/portage/make.conf", line 47: Invalid token 'XFCE_PLUGINS' (not '=')
gentoo-audio ~ #
gentoo-audio ~ #
gentoo-audio ~ #
gentoo-audio ~ #
gentoo-audio ~ #
gentoo-audio ~ #
gentoo-audio ~ #
gentoo-audio ~ #
gentoo-audio ~ #
gentoo-audio ~ #     emerge -avuUD @world
 
"/etc/portage/make.conf", line 47: Invalid token 'XFCE_PLUGINS' (not '=')
gentoo-audio ~ #



_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.13.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3461
Location: Gainesville, Florida

PostPosted: Mon Feb 24, 2025 4:28 pm    Post subject: Reply with quote

Yes, was a copy paste error :oops:

was updating my forum profile

also did:

Code:
etc-update
"/etc/portage/make.conf", line 47: Invalid token 'XFCE_PLUGINS' (not '=')
"/etc/portage/make.conf", line 47: Invalid token 'XFCE_PLUGINS' (not '=')
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.13.3 USE=experimental python3_12.7-final-0


Last edited by wrc1944 on Mon Feb 24, 2025 4:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1055
Location: Somewhere in Denmark

PostPosted: Mon Feb 24, 2025 4:38 pm    Post subject: Reply with quote

Now the = is missing ?
Code:
XFCE_PLUGINS "brightness clock trash"

emerge --info also throws same error I'd expect?

Actually it seems to be a spurious = before XFCE_PLUGINS somewhere, when putting
Code:
=
XFCE_PLUGINS="brightness clock trash"
I get
Code:
borg ~ # emerge --info
"/etc/portage/make.conf", line 40: Invalid token 'XFCE_PLUGINS' (not '=')
If I put
Code:
XFCE_PLUGINS "brightness clock trash"
I get
Code:
borg ~ # emerge --info
"/etc/portage/make.conf", line 40: Invalid token 'brightness clock trash' (not '=')


Last edited by freke on Mon Feb 24, 2025 4:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2032

PostPosted: Mon Feb 24, 2025 4:41 pm    Post subject: Reply with quote

XFCE_PLUGINS has been removed so there is no longer a point to have that line either
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3461
Location: Gainesville, Florida

PostPosted: Mon Feb 24, 2025 4:52 pm    Post subject: Reply with quote

yes. same error

So, remove the xfce plugin line?


Code:
 emerge --info
"/etc/portage/make.conf", line 47: Invalid token 'XFCE_PLUGINS' (not '=')
gentoo-audio ~ #




etc-update
"/etc/portage/make.conf", line 47: Invalid token 'XFCE_PLUGINS' (not '=')
"/etc/portage/make.conf", line 47: Invalid token 'XFCE_PLUGINS' (not '=')

Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)




removed xfce plugin line,and got this:


Code:
gentoo-audio ~ # emerge --info
"/etc/portage/make.conf", line 48: Unexpected EOF
gentoo-audio ~ #




gentoo-audio ~ # emerge -avuUD @world


"/etc/portage/make.conf", line 48: Unexpected EOF
Code:

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.13.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1055
Location: Somewhere in Denmark

PostPosted: Mon Feb 24, 2025 5:48 pm    Post subject: Reply with quote

Try backing up the make.conf and create a new with only the lines you need.
If that fails, too - what gets parsed by emerge just before make.conf ? - something there might not be terminated correctly?
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1905
Location: Germany

PostPosted: Mon Feb 24, 2025 6:30 pm    Post subject: Reply with quote

Do what freke said.
Here are some links to get started:

https://github.com/gentoo/portage/blob/master/cnf/make.conf.example
https://wiki.gentoo.org/wiki//etc/portage/make.conf

You do have some very strange things in your current one. They are commented and should not be the current problem, but those lines have multiple errors:
Code:
# GENTOO_MIRRORs="http://www.gtlib.gatech.edu/pub/gentoo http gentoo.osuosl.org/ http:/distfiles.gentoo.org"

# GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo/distfiles/ http://lug.mtu.edu/gentoo/ http: http://gentoo.mirrors.tds.net/gentoo/distfiles/ http://mirror.usu.edu/mirrors/gentoo/"

_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6232
Location: Dallas area

PostPosted: Mon Feb 24, 2025 6:34 pm    Post subject: Reply with quote

A combination of these 2 lines is your problem

GENTOO_MIRRORs="rsync://mirrors.mit.edu/gentoo-distfiles/ rsync://rsync.gtlib.gatech.edu/gentoo rsync://mirrors.tera-byte.com/gentoo"

/usr/src/linux-6.13.3-gentoo

Edit to add: make.conf is a shell script (or sourced like one) so MIRRORS is not the same as MIRRORs and the /usr/src/* line just doesn't belong there.
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum