Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 123584
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Catalyst Developers <catalyst@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rafael <Tiger683@buerotiger.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
catalyst-2.0_rc39-build_py-portage21.patch catalyst-2.0_rc39 fix for build.py with portage-2.1_pre* patch Rafael 2006-02-21 00:50 0000 1.25 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 123584 depends on: Show dependency tree
Bug 123584 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-21 00:48 0000
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

------- Comment #1 From Rafael 2006-02-21 00:50:48 0000 -------
Created an attachment (id=80353) [details]
catalyst-2.0_rc39 fix for build.py  with portage-2.1_pre*

Proposed patch.

------- Comment #2 From Rafael 2006-02-21 01:02:19 0000 -------
(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

------- Comment #3 From Rafael 2006-03-14 00:36:09 0000 -------
(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.

------- Comment #4 From Chris Gianelloni (RETIRED) 2006-04-17 14:41:18 0000 -------
Patch has been added... thanks for the bug report!

------- Comment #5 From Chris Gianelloni (RETIRED) 2006-04-18 17:16:39 0000 -------
Fixed in 2.0_rc42

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug