public inbox for gentoo-desktop@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-desktop] [kde-sunset]: kdelibs/cups build failure
@ 2014-03-30 19:03 Brent Busby
  2014-03-30 19:09 ` Brent Busby
  0 siblings, 1 reply; 6+ messages in thread
From: Brent Busby @ 2014-03-30 19:03 UTC (permalink / raw
  To: Gentoo Desktop Listserv

I'm having a failure compiling kdelibs-3.5.10-r10 from the overlay 
against the new CUPS 1.7.1 from main.  Up until now, I have been using 
the following patch to make it work, since it actually had problems with 
CUPS even before now which this patch used to fix:

--- kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c   2007-10-08 12:52:10.000000000 +0300
+++ ./cups-util.c   2012-02-12 21:19:50.000000000 +0200
@@ -1,3 +1,4 @@
+#include <stdio.h>
  #include <cups/ipp.h>
  #include <cups/http.h>
  #include <cups/cups.h>


However, I'm now getting the following, both with or without the above 
patch.  Does anyone have any ideas?



/bin/sh ../../../libtool --silent --tag=CXX --mode=compile 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs 
-I../../.. -I../../../kio -I../../../kfile -I../../../dcop 
-I../../../libltdl -I../../../kdefx -I../../../kdecore 
-I../../../kdecore -I../../../kdecore/network -I../../../kdeui 
-I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. 
-I/usr/qt/3/include -I. -I/usr/kde/3.5/include   -DQT_THREAD_SUPPORT 
-D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith 
-DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon64 -pipe -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o cupsdfilterpage.lo 
cupsdfilterpage.cpp
cupsdconf.cpp: In member function 'bool 
CupsdConf::loadAvailableResources()':
cupsdconf.cpp:632:10: error: invalid use of incomplete type 'ipp_t {aka 
struct _ipp_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:651:16: error: forward declaration of 'ipp_t 
{aka struct _ipp_s}'
cupsdconf.cpp:638:35: error: invalid use of incomplete type 'ipp_t {aka 
struct _ipp_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:651:16: error: forward declaration of 'ipp_t 
{aka struct _ipp_s}'
cupsdconf.cpp:642:13: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:649:24: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:649:65: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:650:24: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:650:65: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:651:15: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:661:10: error: invalid use of incomplete type 'ipp_t {aka 
struct _ipp_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:651:16: error: forward declaration of 'ipp_t 
{aka struct _ipp_s}'
cupsdconf.cpp:667:35: error: invalid use of incomplete type 'ipp_t {aka 
struct _ipp_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:651:16: error: forward declaration of 'ipp_t 
{aka struct _ipp_s}'
cupsdconf.cpp:671:13: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:678:24: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:678:65: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:679:24: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:679:65: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
cupsdconf.cpp:680:15: error: invalid use of incomplete type 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
In file included from /usr/include/cups/cups.h:38:0,
                  from cupsdconf.cpp:30:
/usr/include/cups/ipp.h:652:16: error: forward declaration of 
'ipp_attribute_t {aka struct _ipp_attribute_s}'
/usr/qt/3/bin/moc ./qdirlineedit.h -o qdirlineedit.moc
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs 
-I../../.. -I../../../kio -I../../../kfile -I../../../dcop 
-I../../../libltdl -I../../../kdefx -I../../../kdecore 
-I../../../kdecore -I../../../kdecore/network -I../../../kdeui 
-I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. 
-I/usr/qt/3/include -I. -I/usr/kde/3.5/include   -DQT_THREAD_SUPPORT 
-D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith 
-DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon64 -pipe -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o cupsddirpage.lo 
cupsddirpage.cpp
make[4]: *** [cupsdconf.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory 
`/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint/cups'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10'
make: *** [all] Error 2
emake failed


-- 
+ Brent A. Busby	 + "We've all heard that a million monkeys
+ Sr. UNIX Systems Admin +  banging on a million typewriters will
+ University of Chicago	 +  eventually reproduce the entire works of
+ James Franck Institute +  Shakespeare.  Now, thanks to the Internet,
+ Materials Research Ctr +  we know this is not true." -Robert Wilensky


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-03 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-30 19:03 [gentoo-desktop] [kde-sunset]: kdelibs/cups build failure Brent Busby
2014-03-30 19:09 ` Brent Busby
2014-04-02 21:45   ` Brent Busby
2014-04-02 22:24     ` Tiago Marques
2014-04-03  3:09       ` Philip Webb
2014-04-03 15:36         ` [gentoo-desktop] " Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox