Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517554 - 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
Summary: gnustep-base/gnustep-gui-0.24.0 USE=cups - In file included from GSCUPSPrintI...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Gnustep project
URL: https://lists.gnu.org/archive/html/di...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2014-07-20 11:22 UTC by adr
Modified: 2014-09-18 20:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=gnustep-base/gnustep-gui-0.24.0' (emerge.info.gnustep-gui-0.24.0,4.93 KB, text/plain)
2014-07-20 11:23 UTC, adr
Details
emerge -pqv '=gnustep-base/gnustep-gui-0.24.0' (emerge.pqv.gnustep-gui-0.24.0,95 bytes, text/plain)
2014-07-20 11:24 UTC, adr
Details
Config log of =gnustep-base/gnustep-gui-0.24.0 (config.log,44.23 KB, text/plain)
2014-07-20 11:25 UTC, adr
Details
Build log of =gnustep-base/gnustep-gui-0.24.0 (build.log,287.39 KB, text/plain)
2014-07-20 11:26 UTC, adr
Details
Proposed workaround 1/2 (gnustep-gui-0.24.0.ebuild.patch,547 bytes, patch)
2014-07-21 17:08 UTC, adr
Details | Diff
Proposed workaround 2/2 (gnustep-gui-0.24.0-cups-with-clang.patch,2.53 KB, patch)
2014-07-21 17:09 UTC, adr
Details | Diff
Proposed workaround 2/2 (gnustep-gui-0.24.0-cups-with-clang.patch,1.85 KB, patch)
2014-07-21 17:36 UTC, adr
Details | Diff
Proposed workaround 1/2 (gnustep-gui-0.24.0.ebuild.patch,564 bytes, patch)
2014-07-21 18:45 UTC, adr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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