Find the answer to your Linux question:
Results 1 to 5 of 5

Thread: portage woes

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    portage woes

    Hi Gentooers

    Afer fixing ccache when I entered this command I got this message, something that I've never seen before:

    !!! Invalid token (not "=")
    Traceback (most recent call last):
    File "/usr/sbin/env-update", line 11, in ?
    File "/usr/lib/portage/pym/", line 501, in env_update
    File "/usr/lib/portage/pym/", line 273, in getconfig
    raise e.__class__, str(e)+" in "+mycfg
    Exception: ParseError: Invalid token (not '='): /etc/env.d/01hostname: line 1 in /etc/env.d/01hostname
    I am no programmer and have no clue how to begin fixing this.

    In addition after this I can no longer emerge!!!

    Let's say I wanted to upgrade initng I get this message at the end

    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets $(MAKE)... yes
    checking for working aclocal-1.4... found
    checking for working autoconf... found
    checking for working automake-1.4... found
    checking for working autoheader... found
    checking for working makeinfo... found
    checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.

    !!! Please attach the config.log to your bug report:
    !!! /var/tmp/portage/initng-0.2.5/work/initng-0.2.5/config.log

    !!! ERROR: sys-apps/initng-0.2.5 failed.
    !!! Function econf, Line 485, Exitcode 0
    !!! econf failed
    !!! If you need support, post the topmost build error, NOT this status message.
    How may I go about fixing this issues?

    Thank you

  2. #2
    1.) Post the output of /etc/env.d/01hostname

    2.) Post the output of emerge --info

  3. #3
    What do you mean by fixing ...."ccache" ?
    Are you trying to enable cache compilation ? If so could you possibly mistyped something there ?

  4. $spacer_open
  5. #4
    Linux Engineer
    Join Date
    Jul 2003
    Stockholm, Sweden
    you might be able to fix it by using the "rescue portage" this command tells you how:

    less /usr/portage/sys-apps/portage/files/README.RESCUE

  6. #5
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    The DairyLand
    Quote Originally Posted by variant
    you might be able to fix it by using the "rescue portage" this command tells you how:

    less /usr/portage/sys-apps/portage/files/README.RESCUE
    and if this dosnt help file a bug at and also search the bugs for applical bugs and a possible fix
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts