Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-901

Metro does not build Gentoo stages

    • Icon: Bug Bug
    • Resolution: Declined
    • Icon: Normal Normal
    • None
    • None

      Since Funtoo started using the Funtoo profiles I can no longer build Gentoo stages.

      Used to be easy for me to build my customized Gentoo stages with Metro. Catalyst is very hard to use for custom stages due to the lack of documentation on gentoo.org. Please help me to build my Gentoo stages again.

      Following is the error message:

      Debug: collected: /root/git/metro/etc/metro.conf
      Debug: collected: /root/git/metro/etc/builds/gentoo-stable/build.conf
      Debug: collected: /root/git/metro/subarch/corei7.spec
      Debug: collected: /root/git/metro/features/probe.conf
      Debug: collected: /root/git/metro/targets/gentoo/stage1.spec
      Debug: collected: /root/git/metro/etc/fslayouts/funtoo/layout.conf
      Debug: collected: /root/git/metro/etc/multi-targets/full
      Debug: collected: /root/git/metro/targets/gentoo/source/seed.spec
      Debug: collected: /root/git/metro/targets/gentoo/target/stage1.spec
      Debug: collected: /root/git/metro/targets/gentoo/steps/capture/tar.spec
      Debug: collected: /root/git/metro/etc/multi-targets/strategy/seed/stage3
      Debug: collected: /root/git/metro/targets/gentoo/source/common.spec
      Debug: collected: /root/git/metro/targets/gentoo/source/seed/strategy/remote
      Debug: collected: /root/git/metro/targets/gentoo/target/stage.spec
      Debug: collected: /root/git/metro/targets/gentoo/steps/unpack.spec
      Debug: collected: /root/git/metro/targets/gentoo/steps/stage.spec
      Debug: collected: /root/git/metro/targets/gentoo/target/files.spec
      Debug: collected: /root/git/metro/targets/gentoo/snapshot/global.spec
      Running target stage1 with class stage
      Cleaning up /var/tmp/metro/work/gentoo-stable/stage1-corei7-gentoo-stable-2013-11-29...
      Executing "/bin/rm -rf /var/tmp/metro/work/gentoo-stable/stage1-corei7-gentoo-stable-2013-11-29"...
      Executing "/usr/bin/install -d -m 0700 -g root -o root /var/tmp/metro"...
      Executing "/usr/bin/install -d -m 0700 -g root -o root /var/tmp/metro/work/gentoo-stable/stage1-corei7-gentoo-stable-2013-11-29"...
      Traceback (most recent call last):
        File "/usr/bin/metro", line 214, in <module>
          Metro().run()
        File "/usr/bin/metro", line 107, in run
          self.run_targets(targetlist, args)
        File "/usr/bin/metro", line 192, in run_targets
          target.run()
        File "/root/git/metro/modules/targets/stage.py", line 21, in run
          ChrootTarget.run(self)
        File "/root/git/metro/modules/targets/chroot.py", line 57, in run
          self.run_script("steps/unpack")
        File "/root/git/metro/modules/targets/base.py", line 35, in run_script
          if type(self.settings[key]) != types.ListType:
        File "/root/git/metro/modules/flexdata.py", line 350, in __getitem__
          return self.expand(element)
        File "/root/git/metro/modules/flexdata.py", line 100, in expand
          return self.expandMulti(myvar,options=options)
        File "/root/git/metro/modules/flexdata.py", line 317, in expandMulti
          newlines += self.expandMulti(self.expandString(mystring=myref),newstack,options=newoptions)
        File "/root/git/metro/modules/flexdata.py", line 333, in expandMulti
          newline = self.expandString(mystring=multi[pos],options=newoptions)
        File "/root/git/metro/modules/flexdata.py", line 259, in expandString
          raise KeyError, "Cannot find variable %s (in %s)" % (varname,myvar)
      KeyError: 'Cannot find variable profile/format (in None)'
      build failure
      

            Unassigned Unassigned
            steven-warren Steven Warren
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: