When building a stage (stage1 in this case caused it) catalyst (2.0_rc39) bails out with following: ========================================================== Traceback (most recent call last): File "/tmp/build.py", line 18, in ? pkgs = scan_profile("packages") File "/tmp/build.py", line 15, in scan_profile return portage.stack_lists( portage.grab_multiple(file, portage.settings.profiles, portage.grabfile), incremental=1); AttributeError: 'module' object has no attribute 'grab_multiple' Your profile seems to be broken. Could not build a list of build packages. Double check your /etc/make.profile link and the 'packages' files. !!! catalyst: run script failed. Traceback (most recent call last): File "modules/generic_stage_target.py", line 1036, in run_local cmd("/bin/bash "+self.settings["controller_file"]+" run","run script failed.",env=self.env) File "/usr/lib/catalyst2/modules/catalyst_support.py", line 485, in cmd raise CatalystError,myexc CatalystError: <unprintable instance object> None !!! catalyst: Stage build aborting due to error. ============================================================================ This happens using portage-2.1_pre4-r1, buildsystem as well as seed stage. I investigated and found a fix letting me proceed with the build without errors. Patch follows in attachment. It adds another "if else" to not break compatibility with previous portage versions. This fix must not necessarily be correct, but WORKSFORME ;) Apply to the "build.py" file (for stage1 in /usr/lib/catalyst2/targets/stage1, other targets _probably_ also need it in /usr/lib/catalyst2/modules) cheers, Rafael
Created attachment 80353 [details, diff] catalyst-2.0_rc39 fix for build.py with portage-2.1_pre* Proposed patch.
(In reply to comment #0) > other targets _probably_ also need it in /usr/lib/catalyst2/modules) > Err, probably there is no build.py in there, my bad, i saw builder.py :S
(In reply to comment #2) > (In reply to comment #0) > > other targets _probably_ also need it in /usr/lib/catalyst2/modules) > > > Err, probably there is no build.py in there, my bad, i saw builder.py :S > Sorry for this comment, i just read it and doesn't make much sense i think. What was meant is that this is only a problem with /usr/lib/catalyst2/targets/stage1/build.py, the patch still applies.
Patch has been added... thanks for the bug report!
Fixed in 2.0_rc42