Hi, Just emerged portage-2.2.01.21003 and now when emerging packages at
the end I get this....
Traceback (most recent call last):
File "/usr/bin/emerge", line 47, in <module>
retval = emerge_main()
File "/j/usr/lib/portage/pym/_emerge/main.py", line 2058, in emerge_main
trees, mtimedb, retval)
File "/j/usr/lib/portage/pym/_emerge/main.py", line 393, in post_emerge
infodirs, info_mtimes, retval)
File "/j/usr/lib/portage/pym/_emerge/main.py", line 185, in
chk_updated_info_files
myso = portage.subprocess_getstatusoutput(
AttributeError: 'module' object has no attribute
'subprocess_getstatusoutput'
Just digging in now, but thought I'd report if others have already seen.
Thanks,
Alan.
09-17-2012, 08:14 AM
Alan Hourihane
portage error with 2.2.01.21003
On 09/17/12 08:41, Alan Hourihane wrote:
> Hi, Just emerged portage-2.2.01.21003 and now when emerging packages at
> the end I get this....
>
> Traceback (most recent call last):
> File "/usr/bin/emerge", line 47, in <module>
> retval = emerge_main()
> File "/j/usr/lib/portage/pym/_emerge/main.py", line 2058, in emerge_main
> trees, mtimedb, retval)
> File "/j/usr/lib/portage/pym/_emerge/main.py", line 393, in post_emerge
> infodirs, info_mtimes, retval)
> File "/j/usr/lib/portage/pym/_emerge/main.py", line 185, in
> chk_updated_info_files
> myso = portage.subprocess_getstatusoutput(
> AttributeError: 'module' object has no attribute
> 'subprocess_getstatusoutput'
>
> Just digging in now, but thought I'd report if others have already seen.
>
Yes, this function no longer exists and there seems to be a large hunk of
code missing compared to mainline gentoo around this region of code.
Alan.
09-19-2012, 06:53 PM
Alan Hourihane
portage error with 2.2.01.21003
On 09/17/12 09:14, Alan Hourihane wrote:
> On 09/17/12 08:41, Alan Hourihane wrote:
>> Hi, Just emerged portage-2.2.01.21003 and now when emerging packages at
>> the end I get this....
>>
>> Traceback (most recent call last):
>> File "/usr/bin/emerge", line 47, in <module>
>> retval = emerge_main()
>> File "/j/usr/lib/portage/pym/_emerge/main.py", line 2058, in emerge_main
>> trees, mtimedb, retval)
>> File "/j/usr/lib/portage/pym/_emerge/main.py", line 393, in post_emerge
>> infodirs, info_mtimes, retval)
>> File "/j/usr/lib/portage/pym/_emerge/main.py", line 185, in
>> chk_updated_info_files
>> myso = portage.subprocess_getstatusoutput(
>> AttributeError: 'module' object has no attribute
>> 'subprocess_getstatusoutput'
>>
>> Just digging in now, but thought I'd report if others have already seen.
>>
> Yes, this function no longer exists and there seems to be a large hunk of
> code missing compared to mainline gentoo around this region of code.
>
>
Anyone else see this ?
Alan.
09-21-2012, 08:42 AM
Alan Hourihane
portage error with 2.2.01.21003
On 09/19/12 19:53, Alan Hourihane wrote:
> On 09/17/12 09:14, Alan Hourihane wrote:
>> On 09/17/12 08:41, Alan Hourihane wrote:
>>> Hi, Just emerged portage-2.2.01.21003 and now when emerging packages at
>>> the end I get this....
>>>
>>> Traceback (most recent call last):
>>> File "/usr/bin/emerge", line 47, in <module>
>>> retval = emerge_main()
>>> File "/j/usr/lib/portage/pym/_emerge/main.py", line 2058, in emerge_main
>>> trees, mtimedb, retval)
>>> File "/j/usr/lib/portage/pym/_emerge/main.py", line 393, in post_emerge
>>> infodirs, info_mtimes, retval)
>>> File "/j/usr/lib/portage/pym/_emerge/main.py", line 185, in
>>> chk_updated_info_files
>>> myso = portage.subprocess_getstatusoutput(
>>> AttributeError: 'module' object has no attribute
>>> 'subprocess_getstatusoutput'
>>>
>>> Just digging in now, but thought I'd report if others have already seen.
>>>
>> Yes, this function no longer exists and there seems to be a large hunk of
>> code missing compared to mainline gentoo around this region of code.
>>
>>
> Anyone else see this ?
>
Patch attached for _emerge/main.py
Alan.
09-21-2012, 09:20 AM
Fabian Groffen
portage error with 2.2.01.21003
On 21-09-2012 09:42:10 +0100, Alan Hourihane wrote:
> >>> Just digging in now, but thought I'd report if others have already seen.
> >>>
> >> Yes, this function no longer exists and there seems to be a large hunk of
> >> code missing compared to mainline gentoo around this region of code.
> >>
> > Anyone else see this ?
>
> Patch attached for _emerge/main.py
Thanks!
Hmm, so the problem here is install-info not being available? Does it
have to use subprocess.Popen instead of the portage wrapper thing?
On 09/21/12 10:20, Fabian Groffen wrote:
> On 21-09-2012 09:42:10 +0100, Alan Hourihane wrote:
>>>>> Just digging in now, but thought I'd report if others have already seen.
>>>>>
>>>> Yes, this function no longer exists and there seems to be a large hunk of
>>>> code missing compared to mainline gentoo around this region of code.
>>>>
>>> Anyone else see this ?
>> Patch attached for _emerge/main.py
> Thanks!
>
> Hmm, so the problem here is install-info not being available? Does it
> have to use subprocess.Popen instead of the portage wrapper thing?
>
The function portage.subprocess_getstatusoutput() doesn't exist anymore.
And the patch does what mainline portage now does, with the EPREFIX
modification.