1 |
It seems that all the recent patches in portage may have affected the |
2 |
ability to get info reliably from packages in the overlay. At least for |
3 |
porthole. |
4 |
|
5 |
portage- |
6 |
|
7 |
Several problems: |
8 |
|
9 |
1) Create a new package in the overlay with 1 ebuild (not digested) and |
10 |
a porthole db reload crashes. |
11 |
|
12 |
dprints: |
13 |
|
14 |
MAINWINDOW: reload_db() callback |
15 |
PORTAGELIB: reset_world(); |
16 |
MAINWINDOW: reload_db(); starting self.db_thread |
17 |
PORTAGELIB: read_db(); process id = 14332, thread_id = 5926 ***************** |
18 |
PORTAGELIB: get_installed(); |
19 |
MAINWINDOW: get_sync_time(); trying utf_8 encoding |
20 |
PORTAGELIB: read_db(); getting allnodes package list |
21 |
PORTAGELIB: read_db(); Done getting allnodes package list |
22 |
PORTAGELIB: read_db() create internal porthole list; length=10439 |
23 |
PORTAGELIB: read_db(); Threading info: [<_MainThread(MainThread, started)>, <ProcessOutputReader(Thread-2, started daemon)>, <DatabaseReader(Thread-46, started daemon)>] |
24 |
PORTAGELIB: read_db(); end of list build; sort is next |
25 |
PORTAGELIB: DatabaseReader.sort() |
26 |
PORTAGELIB: sort(); finished |
27 |
PORTAGELIB: read_db(); end of sort, finished |
28 |
MAINWINDOW: db_save_variables(); dbtime = 0 |
29 |
MAINWINDOW: db_save_variables(); new average load time = 0 cycles |
30 |
MAINWINDOW: db_thread is done... |
31 |
MAINWINDOW: db_thread.join... |
32 |
PORTAGELIB: DatabaseReader.run(); finished |
33 |
MAINWINDOW: db_thread.join is done... |
34 |
MAINWINDOW: setting menubar,toolbar,etc to sensitive... |
35 |
MAINWINDOW: view_filter_changed() |
36 |
MAINWINDOW: view_filter_changed(); index = 2 |
37 |
VIEWS: Populating category view |
38 |
VIEWS: populating category view with search history |
39 |
MAINWINDOW: package_search() ===> escaped search_term = :kiwi |
40 |
PORTAGELIB; get_properties(): No ebuild found for dev-python/kiwi! |
41 |
*** PORTHOLE: Crash detected! *** |
42 |
Please submit a bug report including |
43 |
all debug text from the terminal you ran porthole from. |
44 |
Plus the the file: /var/log/porthole/crash_brian.html |
45 |
Killed |
46 |
brian@big_squirt ~/porthole-cvs $ |
47 |
|
48 |
|
49 |
line # 823: raise Exception(_('No ebuild found.')) |
50 |
causes the crash. We need to fix that to work better. |
51 |
|
52 |
|
53 |
2) Restarting porthole with the ebuild digest complete, it still cannot |
54 |
find the info even though emerge can. We must not be passing an |
55 |
environment or something that we did not have to previously. |
56 |
|
57 |
terminal output: |
58 |
|
59 |
big_squirt porthole-cvs # emerge -s kiwi |
60 |
Searching... |
61 |
[ Results for search key : kiwi ] |
62 |
[ Applications found : 2 ] |
63 |
|
64 |
* dev-python/kiwi [ Masked ] |
65 |
Latest version available: 1.9.2 |
66 |
Latest version installed: [ Not Installed ] |
67 |
Size of downloaded files: 143 kB |
68 |
Homepage: http://www.async.com.br/projects/kiwi/ |
69 |
Description: A framework and enhanced PyGTK widgets to help design, program and maintain applications |
70 |
License: GPL-2 |
71 |
|
72 |
* www-apps/tikiwiki [ Masked ] |
73 |
Latest version available: 1.9.2 |
74 |
Latest version installed: [ Not Installed ] |
75 |
Size of downloaded files: 6,175 kB |
76 |
Homepage: http://tikiwiki.org/ |
77 |
Description: Full-featured Web Content Management System using PHP and Smarty Templates |
78 |
License: LGPL-2.1 |
79 |
|
80 |
|
81 |
big_squirt porthole-cvs # emerge -vp kiwi |
82 |
|
83 |
These are the packages that I would merge, in order: |
84 |
|
85 |
Calculating dependencies |
86 |
!!! All ebuilds that could satisfy "kiwi" have been masked. |
87 |
!!! One of the following masked packages is required to complete your request: |
88 |
- dev-python/kiwi-1.9.2 (masked by: ~x86 keyword) |
89 |
|
90 |
For more information, see MASKED PACKAGES section in the emerge man page or |
91 |
refer to the Gentoo Handbook. |
92 |
|
93 |
big_squirt porthole-cvs # |
94 |
|
95 |
|
96 |
|
97 |
It seems to be consistent with any package in an overlay that does not |
98 |
exist in the portage tree. Any packages that are in both trees seem to |
99 |
work just fine. |
100 |
|
101 |
Portage does show the package exists from the allnodes list, but fails |
102 |
to return any other info when we ask for it's details. |
103 |
|
104 |
Tommy, how are your portage debugging skills these days? I know yours |
105 |
are better than mine. I'll post also on the portage-dev mail list. |
106 |
Someone may be able to point out what we need to change. |
107 |
|
108 |
|
109 |
big_squirt porthole-cvs # emerge info |
110 |
Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.11-gentoo-r6n i686) |
111 |
================================================================= |
112 |
System uname: 2.6.11-gentoo-r6n i686 AMD Athlon(tm) |
113 |
Gentoo Base System version 1.6.13 |
114 |
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] |
115 |
dev-lang/python: 2.3.5, 2.4.2 |
116 |
sys-apps/sandbox: 1.2.13 |
117 |
sys-devel/autoconf: 2.13, 2.59-r6 |
118 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 |
119 |
sys-devel/binutils: 2.15.92.0.2-r10 |
120 |
sys-devel/libtool: 1.5.20 |
121 |
virtual/os-headers: 2.6.11-r3 |
122 |
ACCEPT_KEYWORDS="x86" |
123 |
AUTOCLEAN="yes" |
124 |
CBUILD="i686-pc-linux-gnu" |
125 |
CFLAGS="-march=athlon-xp -O2 -pipe -w" |
126 |
CHOST="i686-pc-linux-gnu" |
127 |
<snip> |
128 |
|
129 |
P.S. Jason... you'll get a double post. |
130 |
|
131 |
|
132 |
-- |
133 |
Brian <dol-sen@×××××.net> |