Gentoo Archives: gentoo-desktop

From: Brent Busby <brent@×××××××××.org>
To: Gentoo Desktop Listserv <gentoo-desktop@l.g.o>
Subject: [gentoo-desktop] [kde-sunset]: kdelibs/cups build failure
Date: Sun, 30 Mar 2014 19:03:15
Message-Id: alpine.LNX.2.00.1403301354150.31586@village.keycorner.org
1 I'm having a failure compiling kdelibs-3.5.10-r10 from the overlay
2 against the new CUPS 1.7.1 from main. Up until now, I have been using
3 the following patch to make it work, since it actually had problems with
4 CUPS even before now which this patch used to fix:
5
6 --- kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c 2007-10-08 12:52:10.000000000 +0300
7 +++ ./cups-util.c 2012-02-12 21:19:50.000000000 +0200
8 @@ -1,3 +1,4 @@
9 +#include <stdio.h>
10 #include <cups/ipp.h>
11 #include <cups/http.h>
12 #include <cups/cups.h>
13
14
15 However, I'm now getting the following, both with or without the above
16 patch. Does anyone have any ideas?
17
18
19
20 /bin/sh ../../../libtool --silent --tag=CXX --mode=compile
21 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..
22 -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs
23 -I../../.. -I../../../kio -I../../../kfile -I../../../dcop
24 -I../../../libltdl -I../../../kdefx -I../../../kdecore
25 -I../../../kdecore -I../../../kdecore/network -I../../../kdeui
26 -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../..
27 -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT
28 -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
29 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
30 -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon64 -pipe -Wformat-security
31 -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
32 -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
33 -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o cupsdfilterpage.lo
34 cupsdfilterpage.cpp
35 cupsdconf.cpp: In member function 'bool
36 CupsdConf::loadAvailableResources()':
37 cupsdconf.cpp:632:10: error: invalid use of incomplete type 'ipp_t {aka
38 struct _ipp_s}'
39 In file included from /usr/include/cups/cups.h:38:0,
40 from cupsdconf.cpp:30:
41 /usr/include/cups/ipp.h:651:16: error: forward declaration of 'ipp_t
42 {aka struct _ipp_s}'
43 cupsdconf.cpp:638:35: error: invalid use of incomplete type 'ipp_t {aka
44 struct _ipp_s}'
45 In file included from /usr/include/cups/cups.h:38:0,
46 from cupsdconf.cpp:30:
47 /usr/include/cups/ipp.h:651:16: error: forward declaration of 'ipp_t
48 {aka struct _ipp_s}'
49 cupsdconf.cpp:642:13: error: invalid use of incomplete type
50 'ipp_attribute_t {aka struct _ipp_attribute_s}'
51 In file included from /usr/include/cups/cups.h:38:0,
52 from cupsdconf.cpp:30:
53 /usr/include/cups/ipp.h:652:16: error: forward declaration of
54 'ipp_attribute_t {aka struct _ipp_attribute_s}'
55 cupsdconf.cpp:649:24: error: invalid use of incomplete type
56 'ipp_attribute_t {aka struct _ipp_attribute_s}'
57 In file included from /usr/include/cups/cups.h:38:0,
58 from cupsdconf.cpp:30:
59 /usr/include/cups/ipp.h:652:16: error: forward declaration of
60 'ipp_attribute_t {aka struct _ipp_attribute_s}'
61 cupsdconf.cpp:649:65: error: invalid use of incomplete type
62 'ipp_attribute_t {aka struct _ipp_attribute_s}'
63 In file included from /usr/include/cups/cups.h:38:0,
64 from cupsdconf.cpp:30:
65 /usr/include/cups/ipp.h:652:16: error: forward declaration of
66 'ipp_attribute_t {aka struct _ipp_attribute_s}'
67 cupsdconf.cpp:650:24: error: invalid use of incomplete type
68 'ipp_attribute_t {aka struct _ipp_attribute_s}'
69 In file included from /usr/include/cups/cups.h:38:0,
70 from cupsdconf.cpp:30:
71 /usr/include/cups/ipp.h:652:16: error: forward declaration of
72 'ipp_attribute_t {aka struct _ipp_attribute_s}'
73 cupsdconf.cpp:650:65: error: invalid use of incomplete type
74 'ipp_attribute_t {aka struct _ipp_attribute_s}'
75 In file included from /usr/include/cups/cups.h:38:0,
76 from cupsdconf.cpp:30:
77 /usr/include/cups/ipp.h:652:16: error: forward declaration of
78 'ipp_attribute_t {aka struct _ipp_attribute_s}'
79 cupsdconf.cpp:651:15: error: invalid use of incomplete type
80 'ipp_attribute_t {aka struct _ipp_attribute_s}'
81 In file included from /usr/include/cups/cups.h:38:0,
82 from cupsdconf.cpp:30:
83 /usr/include/cups/ipp.h:652:16: error: forward declaration of
84 'ipp_attribute_t {aka struct _ipp_attribute_s}'
85 cupsdconf.cpp:661:10: error: invalid use of incomplete type 'ipp_t {aka
86 struct _ipp_s}'
87 In file included from /usr/include/cups/cups.h:38:0,
88 from cupsdconf.cpp:30:
89 /usr/include/cups/ipp.h:651:16: error: forward declaration of 'ipp_t
90 {aka struct _ipp_s}'
91 cupsdconf.cpp:667:35: error: invalid use of incomplete type 'ipp_t {aka
92 struct _ipp_s}'
93 In file included from /usr/include/cups/cups.h:38:0,
94 from cupsdconf.cpp:30:
95 /usr/include/cups/ipp.h:651:16: error: forward declaration of 'ipp_t
96 {aka struct _ipp_s}'
97 cupsdconf.cpp:671:13: error: invalid use of incomplete type
98 'ipp_attribute_t {aka struct _ipp_attribute_s}'
99 In file included from /usr/include/cups/cups.h:38:0,
100 from cupsdconf.cpp:30:
101 /usr/include/cups/ipp.h:652:16: error: forward declaration of
102 'ipp_attribute_t {aka struct _ipp_attribute_s}'
103 cupsdconf.cpp:678:24: error: invalid use of incomplete type
104 'ipp_attribute_t {aka struct _ipp_attribute_s}'
105 In file included from /usr/include/cups/cups.h:38:0,
106 from cupsdconf.cpp:30:
107 /usr/include/cups/ipp.h:652:16: error: forward declaration of
108 'ipp_attribute_t {aka struct _ipp_attribute_s}'
109 cupsdconf.cpp:678:65: error: invalid use of incomplete type
110 'ipp_attribute_t {aka struct _ipp_attribute_s}'
111 In file included from /usr/include/cups/cups.h:38:0,
112 from cupsdconf.cpp:30:
113 /usr/include/cups/ipp.h:652:16: error: forward declaration of
114 'ipp_attribute_t {aka struct _ipp_attribute_s}'
115 cupsdconf.cpp:679:24: error: invalid use of incomplete type
116 'ipp_attribute_t {aka struct _ipp_attribute_s}'
117 In file included from /usr/include/cups/cups.h:38:0,
118 from cupsdconf.cpp:30:
119 /usr/include/cups/ipp.h:652:16: error: forward declaration of
120 'ipp_attribute_t {aka struct _ipp_attribute_s}'
121 cupsdconf.cpp:679:65: error: invalid use of incomplete type
122 'ipp_attribute_t {aka struct _ipp_attribute_s}'
123 In file included from /usr/include/cups/cups.h:38:0,
124 from cupsdconf.cpp:30:
125 /usr/include/cups/ipp.h:652:16: error: forward declaration of
126 'ipp_attribute_t {aka struct _ipp_attribute_s}'
127 cupsdconf.cpp:680:15: error: invalid use of incomplete type
128 'ipp_attribute_t {aka struct _ipp_attribute_s}'
129 In file included from /usr/include/cups/cups.h:38:0,
130 from cupsdconf.cpp:30:
131 /usr/include/cups/ipp.h:652:16: error: forward declaration of
132 'ipp_attribute_t {aka struct _ipp_attribute_s}'
133 /usr/qt/3/bin/moc ./qdirlineedit.h -o qdirlineedit.moc
134 /bin/sh ../../../libtool --silent --tag=CXX --mode=compile
135 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..
136 -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs
137 -I../../.. -I../../../kio -I../../../kfile -I../../../dcop
138 -I../../../libltdl -I../../../kdefx -I../../../kdecore
139 -I../../../kdecore -I../../../kdecore/network -I../../../kdeui
140 -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../..
141 -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT
142 -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
143 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
144 -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon64 -pipe -Wformat-security
145 -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
146 -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
147 -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o cupsddirpage.lo
148 cupsddirpage.cpp
149 make[4]: *** [cupsdconf.lo] Error 1
150 make[4]: *** Waiting for unfinished jobs....
151 make[4]: Leaving directory
152 `/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2'
153 make[3]: *** [all-recursive] Error 1
154 make[3]: Leaving directory
155 `/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint/cups'
156 make[2]: *** [all-recursive] Error 1
157 make[2]: Leaving directory
158 `/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint'
159 make[1]: *** [all-recursive] Error 1
160 make[1]: Leaving directory
161 `/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10'
162 make: *** [all] Error 2
163 emake failed
164
165
166 --
167 + Brent A. Busby + "We've all heard that a million monkeys
168 + Sr. UNIX Systems Admin + banging on a million typewriters will
169 + University of Chicago + eventually reproduce the entire works of
170 + James Franck Institute + Shakespeare. Now, thanks to the Internet,
171 + Materials Research Ctr + we know this is not true." -Robert Wilensky

Replies

Subject Author
Re: [gentoo-desktop] [kde-sunset]: kdelibs/cups build failure Brent Busby <brent@×××××××××.org>