Gentoo Archives: gentoo-alt

From: Marshall McMullen <marshall.mcmullen@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile
Date: Mon, 19 Nov 2007 18:17:17
Message-Id: 32750353.12421195496206550.JavaMail.root@ghostwheel.zentire.com
In Reply to: Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile by John Gibson
1 No problem, thanks for helping out though. I'm going to just table this one until later :).
2
3 Thanks.
4
5 ----- Original Message -----
6 From: "John Gibson" <jgibson@×××××.org>
7 To: gentoo-alt@l.g.o
8 Sent: Monday, November 19, 2007 11:18:47 AM (GMT-0600) America/Chicago
9 Subject: Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile
10
11 I don't remember running into that compilation problem.
12 I can run the gtk-update-icon-cache executable manually and it
13 doesn't seem to crash, but it doesn't look like it's doing anything.
14 Sorry I can't help you out.
15
16 John
17
18 On Nov 19, 2007, at 12:09 PM, Marshall McMullen wrote:
19
20 > For some reason, the executable being built "gtk-update-icon-cache"
21 > does not work at all. I have access to another one that was built
22 > on another system, and if I copy that into this directory while
23 > building,
24 > it is able to get past that error. It then fails elsewhere however:
25 >
26 > powerpc-ibm-aix5.3.0.0-gcc -DHAVE_CONFIG_H -I. -I. -I.. -
27 > DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/gsa/ausgsa/projects/g/gnu/usr/
28 > lib\" -DGTK_DATADIR=\"/gsa/ao
29 > gtkicontheme.c: In function '_gtk_icon_theme_ensure_builtin_cache':
30 > gtkicontheme.c:1164: error: 'builtin_icons' undeclared (first use
31 > in this function)
32 > gtkicontheme.c:1164: error: (Each undeclared identifier is reported
33 > only once
34 > gtkicontheme.c:1164: error: for each function it appears in.)
35 > gtkicontheme.c: In function 'gtk_icon_theme_lookup_icon':
36 > gtkicontheme.c:1376: warning: assignment discards qualifiers from
37 > pointer target type
38 > gtkicontheme.c:1390: warning: passing argument 2 of 'choose_icon'
39 > from incompatible pointer type
40 > gtkicontheme.c:1398: warning: assignment discards qualifiers from
41 > pointer target type
42 > gtkicontheme.c:1401: warning: passing argument 2 of 'choose_icon'
43 > from incompatible pointer type
44 > gtkicontheme.c: In function 'theme_list_contexts':
45 > gtkicontheme.c:2277: warning: passing argument 2 of
46 > 'g_hash_table_replace' discards qualifiers from pointer target type
47 > gtkicontheme.c: In function 'load_svg_at_size':
48 > gtkicontheme.c:2743: warning: pointer targets in passing argument 2
49 > of 'gdk_pixbuf_loader_write' differ in signedness
50 > make[2]: *** [gtkicontheme.lo] Error 1
51 > make[2]: Leaving directory `/gsa/ausgsa-p5/15/gnu/var/tmp/portage/
52 > x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1/gtk'
53 > make[1]: *** [all-recursive] Error 1
54 > make[1]: Leaving directory `/gsa/ausgsa-p5/15/gnu/var/tmp/portage/
55 > x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1/gtk'
56 > make: *** [all] Error 2
57 >
58 > I guess I'm going to give up on gtk+ on AIX for now. I was trying
59 > to get it installed as it's the last thing I needed to install to
60 > get gvim working, something lots of people on my team would like to
61 > use.... Oh well, on hold for now.
62 >
63 > Thanks,
64 > Marshall
65 >
66 >
67 > ----- Original Message -----
68 > From: "John Gibson" <jgibson@×××××.org>
69 > To: gentoo-alt@l.g.o
70 > Sent: Monday, November 19, 2007 10:44:04 AM (GMT-0600) America/Chicago
71 > Subject: Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile
72 >
73 > Yes, many moons ago I emerged gtk+-2.10.13 on OS-X Intel, but I'm not
74 > sure if I really ran anything with it. I was trying to get something
75 > from Gnome working (the terminal probably), but some other dependency
76 > failed and I never took the time to sort it all out.
77 >
78 > John
79 >
80 > On Nov 19, 2007, at 11:29 AM, Marshall McMullen wrote:
81 >
82 >> Crap, no such luck. I copied the file from ../gdk-pixbuf/gdk-
83 >> pixbuf.loaders into the directory it was looking for it in, but it
84 >> still fails. This time silently with no error message other than
85 >> the same original message about the cache being invalid.
86 >>
87 >> Has anyone else successfully emerged gtk+ in prefixed gentoo yet ?
88 >>
89 >> Thanks....
90 >>
91 >> ----- Original Message -----
92 >> From: "Marshall McMullen" <marshall.mcmullen@×××××.com>
93 >> To: gentoo-alt@l.g.o
94 >> Sent: Monday, November 19, 2007 10:21:02 AM (GMT-0600) America/
95 >> Chicago
96 >> Subject: Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile
97 >>
98 >> OH! I think I found a hint to the problem here. When I run the
99 >> failing command manually, it says:
100 >>
101 >> (lt-gtk-update-icon-cache:716840): GdkPixbuf-WARNING **: Cannot
102 >> open pixbuf loader module file '/gsa/ausgsa/projects/g/gnu/etc/
103 >> gtk-2.0/gdk-pixbuf.loaders': A file or directory in the path name
104 >> does not exist.
105 >>
106 >> Not sure why that isn't present. Going to see if I can look into
107 >> what's wrong here.
108 >>
109 >> Thanks.
110 >>
111 >> ----- Original Message -----
112 >> From: "Marshall McMullen" <marshall.mcmullen@×××××.com>
113 >> To: gentoo-alt@l.g.o
114 >> Sent: Monday, November 19, 2007 10:19:01 AM (GMT-0600) America/
115 >> Chicago
116 >> Subject: Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile
117 >>
118 >> Yes, there is a lot in gtkbuiltincache.h, here are the first 30
119 >> lines:
120 >>
121 >> $ head -30 gtkbuiltincache.h
122 >> #ifdef __SUNPRO_C
123 >> #pragma align 4 (builtin_icons)
124 >> #endif
125 >> #ifdef __GNUC__
126 >> static const guint8 builtin_icons[] __attribute__ ((__aligned__
127 >> (4))) =
128 >> #else
129 >> static const guint8 builtin_icons[] =
130 >> #endif
131 >> {
132 >> 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x06, 0x03,
133 >> 0xbc,
134 >> 0x00, 0x00, 0x00, 0x49, 0x00, 0x00, 0x01, 0x34, 0x00, 0x00, 0x29,
135 >> 0xb4,
136 >> 0x00, 0x00, 0x37, 0x3c, 0x00, 0x00, 0x52, 0x3c, 0x00, 0x00, 0x91,
137 >> 0x90,
138 >> 0x00, 0x00, 0xac, 0x90, 0x00, 0x00, 0xc7, 0x8c, 0xff, 0xff, 0xff,
139 >> 0xff,
140 >> 0x00, 0x00, 0xd5, 0x0c, 0x00, 0x00, 0xfd, 0x98, 0x00, 0x01, 0x0b,
141 >> 0x14,
142 >> 0x00, 0x01, 0x41, 0x08, 0x00, 0x01, 0x4e, 0x84, 0x00, 0x01, 0x84,
143 >> 0x80,
144 >> 0xff, 0xff, 0xff, 0xff, 0x00, 0x01, 0x92, 0x00, 0xff, 0xff, 0xff,
145 >> 0xff,
146 >> 0x00, 0x01, 0xba, 0x94, 0x00, 0x01, 0xce, 0xa0, 0xff, 0xff, 0xff,
147 >> 0xff,
148 >> 0x00, 0x02, 0x00, 0x74, 0x00, 0x02, 0x1b, 0x74, 0x00, 0x02, 0x51,
149 >> 0x74,
150 >> 0xff, 0xff, 0xff, 0xff, 0x00, 0x02, 0x87, 0x74, 0xff, 0xff, 0xff,
151 >> 0xff,
152 >> 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x02, 0x94,
153 >> 0xfc,
154 >> 0x00, 0x02, 0xbd, 0x84, 0x00, 0x02, 0xf3, 0x94, 0xff, 0xff, 0xff,
155 >> 0xff,
156 >> 0x00, 0x03, 0x37, 0x24, 0x00, 0x03, 0x55, 0x04, 0x00, 0x03, 0x62,
157 >> 0x80,
158 >> 0x00, 0x03, 0x6f, 0xfc, 0x00, 0x03, 0xa1, 0xd4, 0x00, 0x03, 0xbc,
159 >> 0xd8,
160 >> 0x00, 0x03, 0xd7, 0xd8, 0x00, 0x03, 0xe5, 0x94, 0x00, 0x03, 0xf9,
161 >> 0x9c,
162 >> 0x00, 0x04, 0x07, 0x1c, 0x00, 0x04, 0x46, 0x70, 0x00, 0x04, 0x53,
163 >> 0xf0,
164 >> 0x00, 0x04, 0x61, 0x6c, 0x00, 0x04, 0x67, 0xf4, 0x00, 0x04, 0x83,
165 >> 0x30,
166 >> 0x00, 0x04, 0x97, 0x9c, 0x00, 0x04, 0xb2, 0xa8, 0x00, 0x04, 0xb2,
167 >> 0xf0,
168 >> 0x00, 0x04, 0xc0, 0x70, 0x00, 0x04, 0xf2, 0x4c, 0x00, 0x04, 0xff,
169 >> 0xd0,
170 >> 0x00, 0x05, 0x13, 0xdc, 0x00, 0x05, 0x14, 0x20, 0x00, 0x05, 0x21,
171 >> 0xa8,
172 >> 0x00, 0x05, 0x21, 0xf0, 0x00, 0x05, 0x2f, 0x6c, 0xff, 0xff, 0xff,
173 >> 0xff,
174 >>
175 >> ...
176 >>
177 >> Any other ideas ?
178 >>
179 >> ----- Original Message -----
180 >> From: "Fabian Groffen" <grobian@g.o>
181 >> To: gentoo-alt@l.g.o
182 >> Sent: Monday, November 19, 2007 4:05:59 AM (GMT-0600) America/Chicago
183 >> Subject: Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile
184 >>
185 >> On 19-11-2007 05:31:05 +0000, Marshall McMullen wrote:
186 >>> I've been trying to get gtk+ emerged on AIX 5.3, but it fails
187 >>> during compilation with:
188 >>>
189 >>> creating gtk-update-icon-cache
190 >>> make[3]: Leaving directory `/gsa/ausgsa-p5/15/gnu/var/tmp/portage/
191 >>> x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1/gtk'
192 >>> GDK_PIXBUF_MODULE_FILE=../gdk-pixbuf/gdk-pixbuf.loaders ./gtk-
193 >>> update-icon-cache --force --ignore-theme-index \
194 >>> --source builtin_icons stock-icons > gtkbuiltincache.h.tmp && \
195 >>> mv gtkbuiltincache.h.tmp gtkbuiltincache.h
196 >>> The generated cache was invalid.
197 >>> make[2]: *** [gtkbuiltincache.h] Error 1
198 >>> make[2]: Leaving directory `/gsa/ausgsa-p5/15/gnu/var/tmp/portage/
199 >>> x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1/gtk'
200 >>> make[1]: *** [all-recursive] Error 1
201 >>> make[1]: Leaving directory `/gsa/ausgsa-p5/15/gnu/var/tmp/portage/
202 >>> x11-libs/gtk+-2.12.1-r1/work/gtk+-2.12.1'
203 >>> make: *** [all] Error 2
204 >>>
205 >>> Has anyone else seen this problem or found a way around it ?
206 >>
207 >> No, but is there something in the file gtkbuiltincache.h?
208 >>
209 >>
210 >> --
211 >> Fabian Groffen
212 >> Gentoo on a different level
213 >> --
214 >> gentoo-alt@g.o mailing list
215 >>
216 >>
217 >> --
218 >> gentoo-alt@g.o mailing list
219 >>
220 >>
221 >> --
222 >> gentoo-alt@g.o mailing list
223 >>
224 >
225 > --
226 > gentoo-alt@g.o mailing list
227 >
228 >
229 > --
230 > gentoo-alt@g.o mailing list
231 >
232
233 --
234 gentoo-alt@g.o mailing list
235
236
237 --
238 gentoo-alt@g.o mailing list