View previous topic :: View next topic |
Author |
Message |
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Tue Apr 27, 2021 9:10 am Post subject: [SOLVED] make.conf errors, portage not working |
|
|
emerge --info:
"/etc/make.conf", line 24: Invalid token '/usr/local/portage
source /var/lib/layman/make.conf
INPUT_DEVICES=evdev' (not '=')
any help would be appreciated
Last edited by dirtboxes on Sat May 01, 2021 12:03 am; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Apr 27, 2021 9:19 am Post subject: |
|
|
in make.conf you are missing a "
probably in the line
PORTDIR_OVERLAY=............
Welcome to Gentoo. _________________
|
|
Back to top |
|
|
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Tue Apr 27, 2021 9:28 am Post subject: |
|
|
alamahant wrote: | in make.conf you are missing a "
Welcome to Gentoo. |
Thanks, I tried that but it's still not working. I now get "/etc/make.conf", line 24: Invalid token 'synaptics' (not '=') when I run emerge --info.
Here's my make.conf file
# 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.
COMMON_FLAGS="${CFLAGS}"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
FEATURES="keepwork"
MAKEOPTS ="j3"
PORTAGE_NICENESS=1
ACCEPT_KEYWORDS="~amd64"
VIDEO_CARDS="radeon"
ACCEPT_LICENSE="*"
USE="elogind -systemd -aqua -css -a52 -cjk -gnome -qt4 -ldap -3df \
-clamav -coreaudio -ios -ipod -gtk -3dfx -emacs
#RUBY_TARGETS="ruby24 ruby25"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
#PORTDIR_OVERLAY=$"{PORTDIR_OVERLAY}" "/etc/portage"
#source /etc/portage/make.conf
INPUT_DEVICES="evdev synaptics keyboard mouse wacom joystick"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
GRUB_PLATFORMS="efi-64"
GENTOO_MIRRORS="https://mirror.aarnet.edu.au/pub/gentoo/ http://mirror.aarnet.edu.au/pub/gentoo ftp://ftp.swin.e>
PORTAGE_REPO_DUPLICATE_WARN="0"
Last edited by dirtboxes on Tue Apr 27, 2021 9:44 am; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Apr 27, 2021 9:32 am Post subject: |
|
|
Quote: |
USE="elogind -systemd -aqua -css -a52 -cjk -gnome -qt4 -ldap -3df \
-clamav -coreaudio -ios -ipod -gtk -3dfx -emacs
|
Just close the " in the above line(after emacs)
_________________
|
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Apr 27, 2021 9:47 am Post subject: |
|
|
here maybe? _________________
|
|
Back to top |
|
|
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Tue Apr 27, 2021 9:50 am Post subject: |
|
|
alamahant wrote: |
here maybe? | Still doesn't seem to be working. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Apr 27, 2021 9:55 am Post subject: |
|
|
Code: |
echo $PORTDIR_OVERLAY
|
from a terminal maybe...? _________________
|
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Apr 27, 2021 9:58 am Post subject: |
|
|
Something is seriously wrong with your serup
Code: |
"/etc/make.conf", line 24: Invalid token '/usr/local/portage
|
do you have an
/etc/make.conf?
Also although commented out this seems off
Code: |
#PORTDIR_OVERLAY=$"{PORTDIR_OVERLAY}" "/etc/portage"
|
_________________
Last edited by alamahant on Tue Apr 27, 2021 10:00 am; edited 1 time in total |
|
Back to top |
|
|
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Tue Apr 27, 2021 9:59 am Post subject: |
|
|
alamahant wrote: | Something is seriously wrong with your serup
Code: |
"/etc/make.conf", line 24: Invalid token '/usr/local/portage
|
do you have an
/etc/make.conf? |
Code: | # 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.
COMMON_FLAGS="${CFLAGS}"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS ="j3"
PORTAGE_NICENESS=1
ACCEPT_KEYWORDS="~amd64"
VIDEO_CARDS="radeon"
USE="elogind -systemd -aqua -css -a52 -cjk -gnome -qt4 -ldap -3df \
-clamav -coreaudio -ios -ipod -gtk -3dfx -emacs
#RUBY_TARGETS="ruby24 ruby25"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
#PORTDIR_OVERLAY="${PORTDIR_OVERLAY}" "/usr/local/portage"
#source "/var/lib/layman/make.conf"
INPUT_DEVICES="evdev synaptics keyboard mouse wacom joystick"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
GRUB_PLATFORMS="efi-64"
GENTOO_MIRRORS="https://mirror.aarnet.edu.au/pub/gentoo/ http://mirror.aarnet.edu.au/pub/gentoo ftp://ftp.swin.e>
PORTAGE_REPO_DUPLICATE_WARN="0"
|
|
|
Back to top |
|
|
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Tue Apr 27, 2021 10:02 am Post subject: |
|
|
it was the " after emacs |
|
Back to top |
|
|
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Tue Apr 27, 2021 10:07 am Post subject: |
|
|
alamahant wrote: | Something is seriously wrong with your serup
Code: |
"/etc/make.conf", line 24: Invalid token '/usr/local/portage
|
do you have an
/etc/make.conf?
Also although commented out this seems off
Code: |
#PORTDIR_OVERLAY=$"{PORTDIR_OVERLAY}" "/etc/portage"
|
| Thanks for your help |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Tue Apr 27, 2021 6:05 pm Post subject: |
|
|
Syntax aware highlighting can often help you find these, by letting you look for the first token which is highlighted differently than you think it should be. In this case, the runaway string would probably have caused subsequent lines to be colored as part of the string, which would have drawn your attention. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue Apr 27, 2021 6:25 pm Post subject: |
|
|
Isn't there an order problem here?
Code: | COMMON_FLAGS="${CFLAGS}"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}" |
Is not COMMON_FLAGS blank? and therefore also CXXFLAGS FCFLAGS and FFLags?
Check emerge --info to see if I am correct. |
|
Back to top |
|
|
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Wed Apr 28, 2021 8:24 am Post subject: |
|
|
Tony0945 wrote: | Isn't there an order problem here?
Code: | COMMON_FLAGS="${CFLAGS}"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}" |
Is not COMMON_FLAGS blank? and therefore also CXXFLAGS FCFLAGS and FFLags?
Check emerge --info to see if I am correct. | Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r7, 5.11.14-artix1-1 x86_64)
=================================================================
System uname: Linux-5.11.14-artix1-1-x86_64-AMD_Ryzen_3_2200G_with_Radeon_Vega_Graphics-with-glibc2.2.5
KiB Mem: 14320108 total, 10193972 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Tue, 27 Apr 2021 10:00:01 +0000
Head commit of repository gentoo: 1a1e8722269fd9c58017293c40cc685ecfbc8421
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash: 5.0_p18::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 3.8.8_p1::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.69-r5::gentoo
sys-devel/automake: 1.16.2-r1::gentoo
sys-devel/binutils: 2.35.2::gentoo
sys-devel/gcc: 10.2.0-r5::gentoo
sys-devel/gcc-config: 2.4::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r7::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORIT>
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandb>
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.aarnet.edu.au/pub/gentoo/ http://mirror.aarnet.edu.au/pub/gentoo ftp://ftp.swin.edu.au/gentoo"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="j3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --hum>
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readli>
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_CO> |
|
Back to top |
|
|
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Wed Apr 28, 2021 9:00 am Post subject: |
|
|
output of emerge --info '=sys-kernel/linux-headers-5.12::gentoo'
!!! 'sys-kernel/linux-headers-5.12::gentoo' is not a valid package atom.
!!! Please check ebuild(5) for full details.
output of emerge -pqv '=sys-kernel/linux-headers-5.12::gentoo'
[ebuild U ] sys-kernel/linux-headers-5.12 [5.10] USE="-headers-only"
* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Wed Apr 28, 2021 3:07 pm Post subject: |
|
|
Guess I was wrong about the order of execution. |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Wed Apr 28, 2021 4:28 pm Post subject: |
|
|
Quote: | do you have an
/etc/make.conf? |
This question is still unanswered. For forums to be effective the problem must be addressed methodically. Information about your setup is essential. If you choose randomly what requests respond to then you are making a mess and torpedoing your own interests. _________________ Life is a tragedy for those who feel and a comedy for those who think. |
|
Back to top |
|
|
dirtboxes n00b
Joined: 27 Apr 2021 Posts: 39
|
Posted: Fri Apr 30, 2021 8:38 am Post subject: |
|
|
how do i mark a post as solved |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Fri Apr 30, 2021 8:46 am Post subject: |
|
|
dirtboxes wrote: | how do i mark a post as solved |
Edit your first post and change subject adding the [solved] tag _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Fri Apr 30, 2021 8:46 am Post subject: |
|
|
dirtboxes,
Edit the title of the first post in the topic.
Titles are limited to 80 characters after special symbols are expanded to their html representations. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Fri Apr 30, 2021 2:30 pm Post subject: |
|
|
fedeliallalinea wrote: | dirtboxes wrote: | how do i mark a post as solved |
Edit your first post and change subject adding the [solved] tag |
"Adding" implies appending to the rear. I used to do that until I learned that at least some moderators prefer prepending.
So now I prepend. I've seen both ways still. also both upper and lower case.
AFAIK, there is no official preference as to case or position. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Fri Apr 30, 2021 3:28 pm Post subject: |
|
|
I like it at the start, so that if I am scanning down a list of threads, I can visually partition them into solved/unsolved without needing to read the varying length thread title. |
|
Back to top |
|
|
|