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 06-22-2011, 10:02 AM   #1
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Rep: Reputation: 51
emerge --sync issues or maybe make.conf?


Hi,

I am getting errors for all my USE listed in make.conf while trying to sync up. an example: USE=bash_completion' (not '='):

I am also getting this error with most of the FEATURES i set. I went to the handbook and google and man make.conf. Is there supposed to be an order to how the features / use flags are listed? Perhaps I am supposed to do something else?
 
Old 06-22-2011, 10:05 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by mrmnemo View Post
Hi,

I am getting errors for all my USE listed in make.conf while trying to sync up. an example: USE=bash_completion' (not '='):

I am also getting this error with most of the FEATURES i set. I went to the handbook and google and man make.conf. Is there supposed to be an order to how the features / use flags are listed? Perhaps I am supposed to do something else?
Please, post the contents of your make.conf in between CODE tags.
 
1 members found this post helpful.
Old 06-22-2011, 10:23 AM   #3
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51
here ya go:
Code:
CHOST="x86_64-pcplinux-gnu"
CFLAGS="-march=k8-msse3 -O2 -pipe"
CXXFLAGS="${CFLAGS}
FCFLAGS="${FFLAGS}"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
PORTAGE_NICENESS=3
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=/usr/portage/distfiles
PKGDIR=/usr/portage/packages
PORT_LOGDIR=/var/log/portage
SYSNC="rsysnc://rsynce.namerica.gentoo.org/gentoo-portage"
PORTAGE_RSYNCE_RETRIES="5"
FEATURES="binpkg-logs candy sandbox collision-protect distlocks fail-clean multilib-strict parallel-fetch"
USE="bash_completion multilib matroska modules networkmanager musicbrainz matrox gnome gnome-keyring hardened opengl xatr gtk xcomposite udev tcpd gtkhtml gstreamer gnutls ogg openal threads usb videos x264 xml lmsensors dvdr X"
I had to type that all in.
 
Old 06-22-2011, 10:54 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
I had to type that all in.
If the problem is that you are in console, you can emerge gpm, then do /etc/init.d/gpm start, select with the mouse as usual and paste with middle click.

Code:
CHOST="x86_64-pcplinux-gnu"
Is that a typo? For pc, it should look more like:

Code:
CHOST="x86_64-pc-linux-gnu"
Code:
CXXFLAGS="${CFLAGS}
If that's not a typo, this could be your problem. You are missing the closing quote character, like this:

Code:
CXXFLAGS="${CFLAGS}"
If not, please, try to set a minimal make.conf that works (comment out lines that are not strictly needed), emerge gpm, load it, and paste here the exact error output.
 
1 members found this post helpful.
Old 06-22-2011, 11:34 AM   #5
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51
ok,
No matter what the feature or USE flag, anything after the first option says Parse error: Invalid token 'alsa" (not'=='): /etc/make.conf: THE LINE NUMBER WOULD BE LAST
 
Old 06-22-2011, 12:37 PM   #6
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51
I got it fixed. I had USE twice among other typos. Thanks for your help.
 
Old 06-22-2011, 05:01 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Bear in mind that, if you don't close quotation marks (like in the error I explained above) bash will be confused when interpreting the script, and things will mix randomly depending on where the strings are terminated.

make.conf is nothing but a bash script, just like ebuilds. So, it must abide the bash grammar.
 
1 members found this post helpful.
  


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
gentoo emerge --sync unknown_mosquito Linux - Software 2 04-20-2006 09:30 AM
emerge sync (update portage) flebber Linux - Software 10 03-20-2006 06:38 PM
Gentoo make & make.conf & emerge Trouble geagon Linux - Newbie 5 10-28-2005 06:33 PM
emerge sync is hurting me! Radical_Dreamer Linux - Software 11 08-24-2005 11:07 PM
not able to emerge sync DC Sk8erz Inc. Linux - Newbie 2 07-06-2003 05:14 AM

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

All times are GMT -5. The time now is 10:57 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