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

Replies

Subject Author
Re: [gentoo-alt] [AIX] x11-libs/gtk+ fails to compile John Gibson <jgibson@×××××.org>