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

* Re: [gentoo-desktop] [kde-sunset]: kdelibs/cups build failure
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Brent Busby @ 2014-03-30 19:09 UTC (permalink / raw
  To: Gentoo Desktop Listserv

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


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

* Re: [gentoo-desktop] [kde-sunset]: kdelibs/cups build failure
  2014-03-30 19:09 ` Brent Busby
@ 2014-04-02 21:45   ` Brent Busby
  2014-04-02 22:24     ` Tiago Marques
  0 siblings, 1 reply; 6+ messages in thread
From: Brent Busby @ 2014-04-02 21:45 UTC (permalink / raw
  To: Gentoo Desktop Listserv

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


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

* Re: [gentoo-desktop] [kde-sunset]: kdelibs/cups build failure
  2014-04-02 21:45   ` Brent Busby
@ 2014-04-02 22:24     ` Tiago Marques
  2014-04-03  3:09       ` Philip Webb
  0 siblings, 1 reply; 6+ messages in thread
From: Tiago Marques @ 2014-04-02 22:24 UTC (permalink / raw
  To: gentoo-desktop

[-- Attachment #1: Type: text/plain, Size: 1713 bytes --]

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
>
>

[-- Attachment #2: Type: text/html, Size: 2245 bytes --]

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

* Re: [gentoo-desktop] [kde-sunset]: kdelibs/cups build failure
  2014-04-02 22:24     ` Tiago Marques
@ 2014-04-03  3:09       ` Philip Webb
  2014-04-03 15:36         ` [gentoo-desktop] " Duncan
  0 siblings, 1 reply; 6+ messages in thread
From: Philip Webb @ 2014-04-03  3:09 UTC (permalink / raw
  To: gentoo-desktop

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



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

* [gentoo-desktop] Re: [kde-sunset]: kdelibs/cups build failure
  2014-04-03  3:09       ` Philip Webb
@ 2014-04-03 15:36         ` Duncan
  0 siblings, 0 replies; 6+ messages in thread
From: Duncan @ 2014-04-03 15:36 UTC (permalink / raw
  To: gentoo-desktop

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



^ 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