Mailing List Archive

[kde-sunset]: kdelibs/cups build failure
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
Re: [kde-sunset]: kdelibs/cups build failure [ In reply to ]
Addendum: From looking at it more, it looks like it may be a compiler
semantics issue more than an actual KDE/CUPS problem, since I'm now
recently upgraded to GCC 4.7.3. I still would appreciate any insight
though on what could fix it.

--
+ 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
Re: [kde-sunset]: kdelibs/cups build failure [ In reply to ]
Looks like none of the old kde-sunset people are still around.
Ladislav, I'm still maintaining a mirror, if you're out there...

Anyway, I ended up getting kdelibs working with USE="-cups", but had to
trim away some other programs that couldn't be fixed at all.

One of them was ShowImg. I'd really like to get that one working, since
it has no usable equivalent. I've tried Gwenview. Only since 4.8 has
Gwenview added arrow key seeking for videos, and on my machine, that
feature doesn't actually work. There is basically no other program but
ShowImg (that I know of) that can browse through a folder full of videos
and seek back and forth in their timeline with the keyboard without
having to do something to open them first...basically the only practical
videofile browser around. (What if your still image viewer needed you
to "open" files before you could actually see them? Same problem...)

Does anyone have ShowImg currently working on and updated install?

--
+ 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
Re: [kde-sunset]: kdelibs/cups build failure [ In reply to ]
Hi Brent,

I still use it but currently haven't had much time to go fixing stuff. I've
been mostly updating only critical stuff, like security fixes though. If I
have the time, I'll be looking at bug reports like yours to see what can be
fixed.

Best regards,
Tiago


On Wed, Apr 2, 2014 at 10:45 PM, Brent Busby <brent@keycorner.org> wrote:

> Looks like none of the old kde-sunset people are still around. Ladislav,
> I'm still maintaining a mirror, if you're out there...
>
> Anyway, I ended up getting kdelibs working with USE="-cups", but had to
> trim away some other programs that couldn't be fixed at all.
>
> One of them was ShowImg. I'd really like to get that one working, since
> it has no usable equivalent. I've tried Gwenview. Only since 4.8 has
> Gwenview added arrow key seeking for videos, and on my machine, that
> feature doesn't actually work. There is basically no other program but
> ShowImg (that I know of) that can browse through a folder full of videos
> and seek back and forth in their timeline with the keyboard without having
> to do something to open them first...basically the only practical videofile
> browser around. (What if your still image viewer needed you to "open"
> files before you could actually see them? Same problem...)
>
> Does anyone have ShowImg currently working on and updated install?
>
>
> --
> + 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
>
>
Re: [kde-sunset]: kdelibs/cups build failure [ In reply to ]
140402 Tiago Marques wrote:
> On Wed, Apr 2, 2014 at 10:45 PM, Brent Busby <brent@keycorner.org> wrote:
>> Looks like none of the old kde-sunset people are still around.
> I still use it but currently haven't had much time to go fixing stuff.
> I've been mostly updating only critical stuff, like security fixes though.
> If I have the time, I'll be looking at bug reports like yours
> to see what can be fixed.

I still use the KDE 3 versions of Kmahjongg Ksokoban Kworldclock ,
so do have some encouragement to do basic maintenance.

--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatchassdotutorontodotca
Re: [kde-sunset]: kdelibs/cups build failure [ In reply to ]
Philip Webb posted on Wed, 02 Apr 2014 23:09:03 -0400 as excerpted:

> I still use the KDE 3 versions of Kmahjongg Ksokoban Kworldclock ,
> so do have some encouragement to do basic maintenance.

While I upgraded (tho I'd originally call it a downgrade, and I guess
those in the thread would agree, thus the whole kde-sunset project, but
that water is long under the bridge) to kde4 long ago, and kde5/
frameworks is now looming fast in the windshield...

I do still sure miss worldclock/worldwatch. In addition to the practical
matter of the graphical global timezone-aware clock it provided I have
fond memories of watching the day/nite terminator change shape over the
year, and particularly miss it every equinox as I used to watch the / \
shape change to \ / in real-time over that day and the few on either side.

Anyone have any replacement suggestions? As I write this it occurs to me
that marble might possibly do that now, and the marble globe wallpaper
could potentially provide that real-time view without having to have a
marble window open over equinox, altho from my experience, most of the
time attempting to actually activate the marble wallpaper ends up
crashing all of plasma instead, as the various libraries and etc are
unfortunately seldom all in sync to allow the thing to actually work
without crashing. Tho the marble interactive wallpaper is definitely
awesome when it works. =:^/

--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman