Gentoo Archives: gentoo-alt

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

Replies

Subject Author
Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile Marshall McMullen <marshall.mcmullen@×××××.com>