FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 01-08-2010, 11:02 AM
Fabian Groffen
 
Default QA Notice ...

On 08-01-2010 11:58:02 +0000, Alan Hourihane wrote:
> On Fri, 2010-01-08 at 12:35 +0100, Fabian Groffen wrote:
> > On 23-12-2009 23:00:42 +0000, Alan Hourihane wrote:
> > > With the latest portage I'm now getting.....
> > >
> > > * QA Notice: //// double prefix
> > >
> > > I know my setup is a little bit of a hybrid as my current EPREFIX is set
> > > to "/", but I don't see any reason why this shouldn't work as it has
> > > always done.
> >
> > by the way, set it to "", not "/".
> >
> >
>
> As soon as I do that I get this....
>
> !!! /usr/lib/portage/pym/etc/make.profile is not a symlink and will
> probably prevent most merges.
> !!! It should point into a profile within /usr/portage/profiles/
> !!! (You can safely ignore this message when syncing. It's harmless.)

I'll try to fix this for >=portage-2.2.00.15178


--
Fabian Groffen
Gentoo on a different level
 
Old 01-08-2010, 11:10 AM
Alan Hourihane
 
Default QA Notice ...

On Fri, 2010-01-08 at 13:02 +0100, Fabian Groffen wrote:
> On 08-01-2010 11:58:02 +0000, Alan Hourihane wrote:
> > On Fri, 2010-01-08 at 12:35 +0100, Fabian Groffen wrote:
> > > On 23-12-2009 23:00:42 +0000, Alan Hourihane wrote:
> > > > With the latest portage I'm now getting.....
> > > >
> > > > * QA Notice: //// double prefix
> > > >
> > > > I know my setup is a little bit of a hybrid as my current EPREFIX is set
> > > > to "/", but I don't see any reason why this shouldn't work as it has
> > > > always done.
> > >
> > > by the way, set it to "", not "/".
> > >
> > >
> >
> > As soon as I do that I get this....
> >
> > !!! /usr/lib/portage/pym/etc/make.profile is not a symlink and will
> > probably prevent most merges.
> > !!! It should point into a profile within /usr/portage/profiles/
> > !!! (You can safely ignore this message when syncing. It's harmless.)
>
> I'll try to fix this for >=portage-2.2.00.15178

Cool. Thanks.

Alan.
 
Old 01-08-2010, 06:16 PM
Fabian Groffen
 
Default QA Notice ...

On 08-01-2010 19:16:06 +0000, Alan Hourihane wrote:
> File "/j/usr/lib/portage/pym/portage/__init__.py", line 1142, in
> dolinkingstuff
> del prev_mtimes[x]
> NameError: global name 'prev_mtimes' is not defined

Bah, so we roll from one problem into the other.


--
Fabian Groffen
Gentoo on a different level
 
Old 01-08-2010, 06:16 PM
Alan Hourihane
 
Default QA Notice ...

On Fri, 2010-01-08 at 13:02 +0100, Fabian Groffen wrote:
> On 08-01-2010 11:58:02 +0000, Alan Hourihane wrote:
> > On Fri, 2010-01-08 at 12:35 +0100, Fabian Groffen wrote:
> > > On 23-12-2009 23:00:42 +0000, Alan Hourihane wrote:
> > > > With the latest portage I'm now getting.....
> > > >
> > > > * QA Notice: //// double prefix
> > > >
> > > > I know my setup is a little bit of a hybrid as my current EPREFIX is set
> > > > to "/", but I don't see any reason why this shouldn't work as it has
> > > > always done.
> > >
> > > by the way, set it to "", not "/".
> > >
> > >
> >
> > As soon as I do that I get this....
> >
> > !!! /usr/lib/portage/pym/etc/make.profile is not a symlink and will
> > probably prevent most merges.
> > !!! It should point into a profile within /usr/portage/profiles/
> > !!! (You can safely ignore this message when syncing. It's harmless.)
>
> I'll try to fix this for >=portage-2.2.00.15178

Just emerging app-admin/eselect-python-20091230-r00.1 and didn't get
this anymore, but I got this...

>>> Installing (1 of 1) app-admin/eselect-python-20091230-r00.1
Traceback (most recent call last):
File "/usr/bin/emerge", line 43, in <module>
retval = emerge_main()
File "/j/usr/lib/portage/pym/_emerge/main.py", line 1536, in
emerge_main
myopts, myaction, myfiles, spinner)
File "/j/usr/lib/portage/pym/_emerge/actions.py", line 428, in
action_build
retval = mergetask.merge()
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 840, in merge
rval = self._merge()
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 1148, in
_merge
self._main_loop()
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 1295, in
_main_loop
self._poll_loop()
File "/j/usr/lib/portage/pym/_emerge/PollScheduler.py", line 134, in
_poll_loop
handler(f, event)
File "/j/usr/lib/portage/pym/_emerge/SpawnProcess.py", line 221, in
_dummy_handler
self.wait()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 42, in
wait
self._wait_hook()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 115,
in _wait_hook
self._exit_listener_stack.pop()(self)
File "/j/usr/lib/portage/pym/_emerge/EbuildBuild.py", line 233, in
_buildpkg_exit
self.wait()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 42, in
wait
self._wait_hook()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 115,
in _wait_hook
self._exit_listener_stack.pop()(self)
File "/j/usr/lib/portage/pym/_emerge/CompositeTask.py", line 106, in
_default_final_exit
return self.wait()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 42, in
wait
self._wait_hook()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 115,
in _wait_hook
self._exit_listener_stack.pop()(self)
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 1127, in
_build_exit
self._schedule()
File "/j/usr/lib/portage/pym/_emerge/PollScheduler.py", line 43, in
_schedule
return self._schedule_tasks()
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 1317, in
_schedule_tasks
if q.schedule():
File "/j/usr/lib/portage/pym/_emerge/SequentialTaskQueue.py", line 56,
in schedule
task.start()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 24, in
start
self._start()
File "/j/usr/lib/portage/pym/_emerge/PackageMerge.py", line 44, in
_start
self.returncode = self.merge.merge()
File "/j/usr/lib/portage/pym/_emerge/MergeListItem.py", line 148, in
merge
retval = self._install_task.install()
File "/j/usr/lib/portage/pym/_emerge/EbuildBuild.py", line 284, in
install
rval = merge.execute()
File "/j/usr/lib/portage/pym/_emerge/EbuildMerge.py", line 27, in
execute
blockers=self.find_blockers)
File "/j/usr/lib/portage/pym/portage/__init__.py", line 7713, in merge
mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/j/usr/lib/portage/pym/portage/dbapi/vartree.py", line 5398, in
merge
mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/j/usr/lib/portage/pym/portage/dbapi/vartree.py", line 5409, in
_merge
cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/j/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4922, in
treewalk
ldpath_mtimes=prev_mtimes, others_in_slot=others_in_slot)
File "/j/usr/lib/portage/pym/portage/dbapi/vartree.py", line 3358, in
unmerge
writemsg_level=self._display_merge)
File "/j/usr/lib/portage/pym/portage/__init__.py", line 1056, in
env_update
makelinks, contents)
File "/j/usr/lib/portage/pym/portage/__init__.py", line 1142, in
dolinkingstuff
del prev_mtimes[x]
NameError: global name 'prev_mtimes' is not defined


Alan.
 
Old 01-08-2010, 10:08 PM
Alan Hourihane
 
Default QA Notice ...

On Fri, 2010-01-08 at 20:16 +0100, Fabian Groffen wrote:
> On 08-01-2010 19:16:06 +0000, Alan Hourihane wrote:
> > File "/j/usr/lib/portage/pym/portage/__init__.py", line 1142, in
> > dolinkingstuff
> > del prev_mtimes[x]
> > NameError: global name 'prev_mtimes' is not defined
>
> Bah, so we roll from one problem into the other.
>

I also still need to put ...

mysettings["EPREFIX"] = EPREFIX.rstrip(os.path.sep)

in __init__.py too.

Alan.
 
Old 01-09-2010, 02:09 PM
Fabian Groffen
 
Default QA Notice ...

On 08-01-2010 23:08:44 +0000, Alan Hourihane wrote:
> On Fri, 2010-01-08 at 20:16 +0100, Fabian Groffen wrote:
> > On 08-01-2010 19:16:06 +0000, Alan Hourihane wrote:
> > > File "/j/usr/lib/portage/pym/portage/__init__.py", line 1142, in
> > > dolinkingstuff
> > > del prev_mtimes[x]
> > > NameError: global name 'prev_mtimes' is not defined
> >
> > Bah, so we roll from one problem into the other.
> >
>
> I also still need to put ...
>
> mysettings["EPREFIX"] = EPREFIX.rstrip(os.path.sep)

Ok, I added that back.


--
Fabian Groffen
Gentoo on a different level
 
Old 01-09-2010, 02:36 PM
Fabian Groffen
 
Default QA Notice ...

On 09-01-2010 16:09:21 +0100, Fabian Groffen wrote:
> > I also still need to put ...
> >
> > mysettings["EPREFIX"] = EPREFIX.rstrip(os.path.sep)
>
> Ok, I added that back.

I fixed the backtrace (hopefully) too. Can you try 2.2.00.15184?


--
Fabian Groffen
Gentoo on a different level
 
Old 01-10-2010, 11:39 AM
Alan Hourihane
 
Default QA Notice ...

On Sat, 2010-01-09 at 16:36 +0100, Fabian Groffen wrote:
> On 09-01-2010 16:09:21 +0100, Fabian Groffen wrote:
> > > I also still need to put ...
> > >
> > > mysettings["EPREFIX"] = EPREFIX.rstrip(os.path.sep)
> >
> > Ok, I added that back.
>
> I fixed the backtrace (hopefully) too. Can you try 2.2.00.15184?
>

I get this now when EPREFIX is ""

Traceback (most recent call last):
File "/usr/bin/emerge", line 43, in <module>
retval = emerge_main()
File "/j/usr/lib/portage/pym/_emerge/main.py", line 1537, in
emerge_main
myopts, myaction, myfiles, spinner)
File "/j/usr/lib/portage/pym/_emerge/actions.py", line 428, in
action_build
retval = mergetask.merge()
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 840, in merge
rval = self._merge()
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 1148, in
_merge
self._main_loop()
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 1295, in
_main_loop
self._poll_loop()
File "/j/usr/lib/portage/pym/_emerge/PollScheduler.py", line 134, in
_poll_loop
handler(f, event)
File "/j/usr/lib/portage/pym/_emerge/SpawnProcess.py", line 221, in
_dummy_handler
self.wait()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 42, in
wait
self._wait_hook()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 115,
in _wait_hook
self._exit_listener_stack.pop()(self)
File "/j/usr/lib/portage/pym/_emerge/EbuildBuild.py", line 233, in
_buildpkg_exit
self.wait()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 42, in
wait
self._wait_hook()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 115,
in _wait_hook
self._exit_listener_stack.pop()(self)
File "/j/usr/lib/portage/pym/_emerge/CompositeTask.py", line 106, in
_default_final_exit
return self.wait()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 42, in
wait
self._wait_hook()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 115,
in _wait_hook
self._exit_listener_stack.pop()(self)
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 1127, in
_build_exit
self._schedule()
File "/j/usr/lib/portage/pym/_emerge/PollScheduler.py", line 43, in
_schedule
return self._schedule_tasks()
File "/j/usr/lib/portage/pym/_emerge/Scheduler.py", line 1317, in
_schedule_tasks
if q.schedule():
File "/j/usr/lib/portage/pym/_emerge/SequentialTaskQueue.py", line 56,
in schedule
task.start()
File "/j/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 24, in
start
self._start()
File "/j/usr/lib/portage/pym/_emerge/PackageMerge.py", line 44, in
_start
self.returncode = self.merge.merge()
File "/j/usr/lib/portage/pym/_emerge/MergeListItem.py", line 148, in
merge
retval = self._install_task.install()
File "/j/usr/lib/portage/pym/_emerge/EbuildBuild.py", line 284, in
install
rval = merge.execute()
File "/j/usr/lib/portage/pym/_emerge/EbuildMerge.py", line 27, in
execute
blockers=self.find_blockers)
File "/j/usr/lib/portage/pym/portage/__init__.py", line 7714, in merge
mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/j/usr/lib/portage/pym/portage/dbapi/vartree.py", line 5398, in
merge
mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/j/usr/lib/portage/pym/portage/dbapi/vartree.py", line 5409, in
_merge
cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
File "/j/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4922, in
treewalk
ldpath_mtimes=prev_mtimes, others_in_slot=others_in_slot)
File "/j/usr/lib/portage/pym/portage/dbapi/vartree.py", line 3358, in
unmerge
writemsg_level=self._display_merge)
File "/j/usr/lib/portage/pym/portage/__init__.py", line 1056, in
env_update
makelinks, contents, prev_mtimes)
File "/j/usr/lib/portage/pym/portage/__init__.py", line 1178, in
dolinkingstuff
if "CHOST" in env and "CBUILD" in env and
TypeError: argument of type 'module' is not iterable

Alan.
 
Old 01-10-2010, 11:48 AM
Fabian Groffen
 
Default QA Notice ...

On 10-01-2010 12:39:31 +0000, Alan Hourihane wrote:
> On Sat, 2010-01-09 at 16:36 +0100, Fabian Groffen wrote:
> > On 09-01-2010 16:09:21 +0100, Fabian Groffen wrote:
> > > > I also still need to put ...
> > > >
> > > > mysettings["EPREFIX"] = EPREFIX.rstrip(os.path.sep)
> > >
> > > Ok, I added that back.
> >
> > I fixed the backtrace (hopefully) too. Can you try 2.2.00.15184?
> >
>
> I get this now when EPREFIX is ""
>
> File "/j/usr/lib/portage/pym/portage/__init__.py", line 1178, in
> dolinkingstuff
> if "CHOST" in env and "CBUILD" in env and
> TypeError: argument of type 'module' is not iterable

can you try the attached patch?


--
Fabian Groffen
Gentoo on a different level
Index: pym/portage/__init__.py
================================================== =================
--- pym/portage/__init__.py (revision 15183)
+++ pym/portage/__init__.py (working copy)
@@ -1053,13 +1053,13 @@
if EPREFIX == ':
sleep_for_mtime_granularity = dolinkingstuff(
target_root, specials, prelink_capable,
- makelinks, contents, prev_mtimes)
+ makelinks, contents, prev_mtimes, env)
else:
sleep_for_mtime_granularity = False
writeshellprofile(target_root, env, sleep_for_mtime_granularity)

def dolinkingstuff(target_root, specials, prelink_capable, makelinks,
- contents, prev_mtimes):
+ contents, prev_mtimes, env):
# updating this stuff will never work in an offset, other than ROOT
# (e.g. not in Prefix), hence the EPREFIX is not taken into account
# here since this code should never be triggered on an offset install
 
Old 01-10-2010, 02:41 PM
Alan Hourihane
 
Default QA Notice ...

On Sun, 2010-01-10 at 13:48 +0100, Fabian Groffen wrote:
> On 10-01-2010 12:39:31 +0000, Alan Hourihane wrote:
> > On Sat, 2010-01-09 at 16:36 +0100, Fabian Groffen wrote:
> > > On 09-01-2010 16:09:21 +0100, Fabian Groffen wrote:
> > > > > I also still need to put ...
> > > > >
> > > > > mysettings["EPREFIX"] = EPREFIX.rstrip(os.path.sep)
> > > >
> > > > Ok, I added that back.
> > >
> > > I fixed the backtrace (hopefully) too. Can you try 2.2.00.15184?
> > >
> >
> > I get this now when EPREFIX is ""
> >
> > File "/j/usr/lib/portage/pym/portage/__init__.py", line 1178, in
> > dolinkingstuff
> > if "CHOST" in env and "CBUILD" in env and
> > TypeError: argument of type 'module' is not iterable
>
> can you try the attached patch?
>
>

That fixes that problem, but when I update net-misc/neon from 0.29.1 to
0.29.2 I'm getting this, but the files it's complaining about don't
exist.

>>> Installing (1 of 1) net-misc/neon-0.29.2
* This package will overwrite one or more files that may belong to
other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies
at
* least two or more packages that are known to install the same
file(s).
* If a collision occurs and you can not explain where the file came
from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly
which
* two packages install the same file(s). Once again, please do NOT file
* a bug report unless you have completely understood the above message.
*
* package net-misc/neon-0.29.2 NOT merged
*
* Detected file collision(s):
*
* /usr/share/doc/neon-0.29.2/BUGS.bz2
* /usr/share/doc/neon-0.29.2/TODO.bz2
* /usr/share/doc/neon-0.29.2/AUTHORS.bz2
* /usr/share/doc/neon-0.29.2/NEWS.bz2
* /usr/share/doc/neon-0.29.2/README.bz2
* /usr/share/doc/neon-0.29.2/THANKS.bz2
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* None of the installed packages claim the file(s).
*
* Package 'net-misc/neon-0.29.2' NOT merged due to file collisions. If
* necessary, refer to your elog messages for the whole content of the
* above message.

Alan.
 

Thread Tools




All times are GMT. The time now is 11:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org