in my config, the path is '/custom/tmp/portage/tree'
initially, the directory do not exist
Code: Select all
sudo emerge-webrsync
Password:
!!! Invalid PORTDIR_OVERLAY (not a dir): '/custom/tmp/portage/tree'
!!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/custom/tmp/portage/tree'
!!! main-repo not set in DEFAULT and PORTDIR is empty.
emerge-webrsync: error: Repository 'gentoo' not found
ok, so i "mkdir -p '/custom/tmp/portage/tree'", and retry
Code: Select all
$ sudo emerge-webrsync
!!! Section 'gentoo' in repos.conf refers to repository without repository name set in '/custom/tmp/portage/tree/profiles/repo_name'
emerge-webrsync: error: Repository 'gentoo' not found
Do anyone has some idea on this?
here is my config file
/etc/portage/make.conf
Code: Select all
# 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="-O2 -pipe -fuse-linker-plugin -march=native -ftree-vectorize"
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.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE_FLAG_CPU="3dnow 3dnowext avx mmx mmxext sse sse2 sse3 ssse3"
USE_FLAG_X="cairo dga flac gtk opengl mpeg pango qt4 vdpau X xft xv"
USE_FLAG_MULTIMEDIA="alsa openal cdda dvd exif lcms sdl"
USE_FLAG_MULTIMEDIA_CODEC="a52 aac dts mp3 ogg opus xvid x264 vorbis"
USE_FLAG_FILE_TYPE="gif jpeg jpg mng pdf png svg tiff"
USE_FLAG_SYSTEM="acl bluetooth caps custom-optimization cjk consolekit dbus gnutls nptl tcl ipv6 lzma lzo openmp pam policykit smp threads truetype wifi sasl ssl udev udisks unicode usb xattr xml"
USE_FLAG_MISC="icu spell libnotify startup-notification thunar"
USE_FLAG_EXCLUDE="-branding -multilib -pulseaudio -gcj -gnome -kde "
USE=" ${USE_FLAG_CPU}\
${USE_FLAG_X} \
${USE_FLAG_MULTIMEDIA} \
${USE_FLAG_MULTIMEDIA_CODEC} \
${USE_FLAG_FILE_TYPE} \
${USE_FLAG_SYSTEM} \
${USE_FLAG_MISC} \
${USE_FLAG_EXCLUDE}
"
MAKEOPTS="-j16"
PORTAGE_NICENESS=19
ACCEPT_LICENSE="*"
FEATURES="parallel-fetch parallel-install userfetch userpriv usersync usersandbox webrsync-gpg"
GENTOO_MIRRORS="http://gentoo.aditsu.net"
#Xorg
INPUT_DEVICES="evdev"
VIDEO_CARDS="intel r600 radeon vesa"
#secure webrsync
PORTAGE_GPG_DIR="$ZGPG_HOMES/portage"
#SYNC="rsync://rsync.us.gentoo.org/gentoo-portage
SYNC=""
#directory setting
#documentation: http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=3&chap=1
ROOT="/"
PORTDIR="/custom/tmp/portage/tree"
PORTAGE_TMPDIR="/custom/tmp/portage/tmp"
DISTDIR="/custom/tmp/portage/distfiles"
PKGDIR="/custom/tmp/portage/packages"
PORT_LOGDIR="/custom/tmp/portage/zlog"
#PORTDIR_OVERLAY=/usr/local/portage
and this one "/etc/portage/repos.conf/gentoo.conf" is generated automatically during portage upgrade, i have no idea why i need this file and how i config this
Code: Select all
[DEFAULT]
main-repo = gentoo
[gentoo]
location = /custom/tmp/portage/tree
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage



