Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 517554

Summary: gnustep-base/gnustep-gui-0.24.0 USE=cups - In file included from GSCUPSPrintInfo.m:35: /usr/include/cups/cups.h:34:14: fatal error: 'dispatch/dispatch.h' file not found
Product: Gentoo Linux Reporter: adr <adr>
Component: Current packagesAssignee: Gentoo Gnustep project <gnustep>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.gnu.org/archive/html/discuss-gnustep/2013-02/msg00000.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: emerge --info '=gnustep-base/gnustep-gui-0.24.0'
emerge -pqv '=gnustep-base/gnustep-gui-0.24.0'
Config log of =gnustep-base/gnustep-gui-0.24.0
Build log of =gnustep-base/gnustep-gui-0.24.0
Proposed workaround 1/2
Proposed workaround 2/2
Proposed workaround 2/2
Proposed workaround 1/2

Description adr 2014-07-20 11:22:38 UTC
Emerge of =gnustep-base:gnustep-gui-0.24.0[cups] fails with =sys-devel/clang-3.4.2-r100, =gnustep-base/libobjc2-1.7 and =net-print/cups-1.7.1-r1.

A known issue, according to the discussion thread in attached URI.


Reproducible: Always
Comment 1 adr 2014-07-20 11:23:58 UTC
Created attachment 381122 [details]
emerge --info '=gnustep-base/gnustep-gui-0.24.0'
Comment 2 adr 2014-07-20 11:24:47 UTC
Created attachment 381124 [details]
emerge -pqv '=gnustep-base/gnustep-gui-0.24.0'
Comment 3 adr 2014-07-20 11:25:54 UTC
Created attachment 381126 [details]
Config log of =gnustep-base/gnustep-gui-0.24.0
Comment 4 adr 2014-07-20 11:26:19 UTC
Created attachment 381128 [details]
Build log of =gnustep-base/gnustep-gui-0.24.0
Comment 5 adr 2014-07-21 17:08:41 UTC
Created attachment 381254 [details, diff]
Proposed workaround 1/2

It builds now. I can't test if printing really works though, because I borked my GNUstep completely.
Comment 6 adr 2014-07-21 17:09:21 UTC
Created attachment 381256 [details, diff]
Proposed workaround 2/2
Comment 7 adr 2014-07-21 17:36:52 UTC
Created attachment 381268 [details, diff]
Proposed workaround 2/2
Comment 8 adr 2014-07-21 18:45:50 UTC
Created attachment 381274 [details, diff]
Proposed workaround 1/2
Comment 9 adr 2014-07-28 14:57:14 UTC
(In reply to adr from comment #5)
> Created attachment 381254 [details, diff] [details, diff]
> Proposed workaround 1/2
> 
> It builds now. I can't test if printing really works though, because I
> borked my GNUstep completely.

I've got GNUstep running again*, and printing works with this patch. There's an experimental libdispatch for Linux around though, but maybe that's for the real brave.


* As a side note: when compiling all GNUstep packages with Clang, I noticed that it's picky with CFLAGS. It might compile, but not run (-march=i686 instead of native, worked for me by trial and error).
Comment 10 Bernard Cafarelli gentoo-dev 2014-09-18 15:17:13 UTC
Thanks for the report! I am catching up on gnustep bugreports, is the only problem here the dispatch/dispatch.h erroneous inclusion?

I raised the minimum cups version to 1.7.4, which removes the include altogether. Does 1.7.5 (which will soon be stable on all arches gnustep-gui is stable) work fine for you?
Comment 11 adr 2014-09-18 19:12:07 UTC
Recompiled gnustep-gui-0.24.0 with cups-1.7.5... emerge went fine out of the box, and printing also works. The dispatch/dispatch.h part was the only problem here.

Thanks for the new ebuild!


(I haven't looked further into the CFLAGS issue.)
Comment 12 Bernard Cafarelli gentoo-dev 2014-09-18 20:21:49 UTC
And thank you for the fast confirmation! Marking this one fixed then