Jump to content
  • 0
belenar

Migration to meta-repo

Question

Hi,

I'm trying to update to meta-repo after discovering emerge --sync doesn't work anymore. I'm following the instructions at: https://github.com/funtoo/meta-repo and when I get to

git submodule init

it fails with

fatal: No url found for submodule path 'repos.conf/kits/core-hw-kit' in .gitmodules

I found something in a bug tracker response saying that it wasn't using submodules anymore, so I decided to push forward and see if it would work and got to

USE="python_targets_${my_pyver/./_} python_single_target_${my_pyver/./_}" emerge -1 --nodeps ego

which, along with any other attempt to use emerge, fails with

!!! Repository 'desktop-kit' is missing masters attribute in '/var/git/meta-repo/kits/desktop-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'python-kit' is missing masters attribute in '/var/git/meta-repo/kits/python-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'core-hw-kit' is missing masters attribute in '/var/git/meta-repo/kits/core-hw-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'lang-kit' is missing masters attribute in '/var/git/meta-repo/kits/lang-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'perl-kit' is missing masters attribute in '/var/git/meta-repo/kits/perl-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'xfce-kit' is missing masters attribute in '/var/git/meta-repo/kits/xfce-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'java-kit' is missing masters attribute in '/var/git/meta-repo/kits/java-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'ml-lang-kit' is missing masters attribute in '/var/git/meta-repo/kits/ml-lang-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'science-kit' is missing masters attribute in '/var/git/meta-repo/kits/science-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'haskell-kit' is missing masters attribute in '/var/git/meta-repo/kits/haskell-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'dev-kit' is missing masters attribute in '/var/git/meta-repo/kits/dev-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'text-kit' is missing masters attribute in '/var/git/meta-repo/kits/text-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'kde-kit' is missing masters attribute in '/var/git/meta-repo/kits/kde-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'security-kit' is missing masters attribute in '/var/git/meta-repo/kits/security-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'ruby-kit' is missing masters attribute in '/var/git/meta-repo/kits/ruby-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'gnome-kit' is missing masters attribute in '/var/git/meta-repo/kits/gnome-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'llvm-kit' is missing masters attribute in '/var/git/meta-repo/kits/llvm-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'nokit' is missing masters attribute in '/var/git/meta-repo/kits/nokit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'php-kit' is missing masters attribute in '/var/git/meta-repo/kits/php-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'editors-kit' is missing masters attribute in '/var/git/meta-repo/kits/editors-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'xorg-kit' is missing masters attribute in '/var/git/meta-repo/kits/xorg-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'lisp-scheme-kit' is missing masters attribute in '/var/git/meta-repo/kits/lisp-scheme-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'games-kit' is missing masters attribute in '/var/git/meta-repo/kits/games-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'net-kit' is missing masters attribute in '/var/git/meta-repo/kits/net-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Repository 'media-kit' is missing masters attribute in '/var/git/meta-repo/kits/media-kit/metadata/layout.conf'
!!! Set 'masters = core-kit' in this file for future compatibility
!!! Unable to parse profile: '/etc/portage/make.profile'
!!! ParseError: Parent 'gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit' not found: '/etc/portage/make.profile/parent'
!!! Your current profile is invalid. If you have just changed your profile
!!! configuration, you should revert back to the previous configuration.
!!! Allowed actions are limited to --help, --info, --search, --sync, and
!!! --version.

Any advice?

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Hi, Belenar!

I believe the page https://github.com/funtoo/meta-repo information is outdated, I advise you to use the instructions here:

Downloading the Portage tree
Now it's time to install a copy of the Portage repository, which contains package scripts (ebuilds) that tell portage how to build and install thousands of different software packages. To create the Portage repository, simply run ego sync from within the chroot. This will automatically clone the portage tree from GitHub and all kit submodules:

(chroot) # ego sync

from https://www.funtoo.org/Install#Downloading_the_Portage_tree

I hope this helps!

Best regards!

Share this post


Link to post
Share on other sites
  • 2

Hi, Belenar!

Ops, the thing is complicated then, because you do not have the current version of ego and the gitmodules file has been removed, look: https://github.com/funtoo/meta-repo/commit/85a413af847d9b0fd9e73b7f7a601a4101dd7e05#diff-8903239df476d7401cf9e76af0252622

Then you should do this to have a functional repository:

# install -d /var/git
# cd /var/git
# git clone https://github.com/funtoo/meta-repo.git
# cd meta-repo
# wget https://raw.githubusercontent.com/funtoo/meta-repo/aadee00606e39b63cb0f21b48a7780dc5bc33b08/.gitmodules
# git submodule init
# cd kits
# git clone https://github.com/funtoo/python-modules-kit.git
# cd /var/git/meta-repo
# git submodule update
# rm /usr/share/portage/config/repos.conf
# mv /etc/portage/repos.conf /etc/portage/repos.conf.bak
# mkdir /etc/portage/repos.conf
# ln -s /var/git/meta-repo/repos.conf /etc/portage/repos.conf/funtoo
# chown -R portage:portage /var/git/meta-repo
# my_pyver="$(eselect python show --python3)"
# USE="python_targets_${my_pyver/./_} python_single_target_${my_pyver/./_}" emerge -1 --nodeps ego
# hash -r
# epro update
# emerge -1 portage
# ego sync

I hope this works!

Share this post


Link to post
Share on other sites
  • 0
On 5/24/2018 at 11:35 AM, cafaia said:

Hi, Belenar!

Ops, the thing is complicated then, because you do not have the current version of ego and the gitmodules file has been removed, look: https://github.com/funtoo/meta-repo/commit/85a413af847d9b0fd9e73b7f7a601a4101dd7e05#diff-8903239df476d7401cf9e76af0252622

Then you should do this to have a functional repository:


# install -d /var/git
# cd /var/git
# git clone https://github.com/funtoo/meta-repo.git
# cd meta-repo
# wget https://raw.githubusercontent.com/funtoo/meta-repo/aadee00606e39b63cb0f21b48a7780dc5bc33b08/.gitmodules
# git submodule init
# cd kits
# git clone https://github.com/funtoo/python-modules-kit.git
# cd /var/git/meta-repo
# git submodule update
# rm /usr/share/portage/config/repos.conf
# mv /etc/portage/repos.conf /etc/portage/repos.conf.bak
# mkdir /etc/portage/repos.conf
# ln -s /var/git/meta-repo/repos.conf /etc/portage/repos.conf/funtoo
# chown -R portage:portage /var/git/meta-repo
# my_pyver="$(eselect python show --python3)"
# USE="python_targets_${my_pyver/./_} python_single_target_${my_pyver/./_}" emerge -1 --nodeps ego
# hash -r
# epro update
# emerge -1 portage
# ego sync

I hope this works!

I think I face a similar problem. I am trying to, for example, upgrade ego:

emerge -av ego

and I get

!!! Unable to parse profile: '/etc/portage/make.profile'
!!! ParseError: Parent 'python-modules-kit:funtoo/kits/python-kit/3.4-prime' not found: '/etc/portage/make.profile/parent'
!!! Your current profile is invalid. If you have just changed your profile
!!! configuration, you should revert back to the previous configuration.
!!! Allowed actions are limited to --help, --info, --search, --sync, and
!!! --version.

This very message is the response almost in any attempt to use emerge or

epro update

. The above steps did not help me. How do I get past this?

Share this post


Link to post
Share on other sites
  • 0
16 minutes ago, NikosAlexandris said:

I think I face a similar problem. I am trying to, for example, upgrade ego:


emerge -av ego

and I get


!!! Unable to parse profile: '/etc/portage/make.profile'
!!! ParseError: Parent 'python-modules-kit:funtoo/kits/python-kit/3.4-prime' not found: '/etc/portage/make.profile/parent'
!!! Your current profile is invalid. If you have just changed your profile
!!! configuration, you should revert back to the previous configuration.
!!! Allowed actions are limited to --help, --info, --search, --sync, and
!!! --version.

This very message is the response almost in any attempt to use emerge or


epro update

. The above steps did not help me. How do I get past this?

 

I think I got past this by doing

cd /var/tmp
git clone https://github.com/funtoo/ego.git
cd ego
./ego sync

 

I hope now the rest of 

will play nice. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...