ports/188336: x11-toolkits/gtk20 : ia64 : cups/cups.h missing

Pedro Giffuni pfg at FreeBSD.org
Tue Apr 8 12:49:07 UTC 2014


Il giorno 08/apr/2014, alle ore 03:31, Boris Samorodov <bsam at passap.ru> ha scritto:

> 08.04.2014 10:40, Anton Shterenlikht пишет:
>> The following reply was made to PR ports/188336; it has been noted by GNATS.
>> 
>> From: Anton Shterenlikht <mexas at bris.ac.uk>
>> To: bug-followup at freebsd.org
>> Cc:  
>> Subject: ports/188336: x11-toolkits/gtk20 : ia64 : cups/cups.h missing
>> Date: Tue, 8 Apr 2014 07:34:05 +0100 (BST)
>> 
>> As requested, here's the config.log:
>> http://eis.bris.ac.uk/~mexas/logs/ia64-gtk20-config.log
> 
> From the log:
> -----
> configure:24115: checking cups/cups.h usability
> configure:24115: cc -c -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -pipe
> -fno-strict-aliasing -Wall -I/usr/local/include
> -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES
> -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES
> -D_THREAD_SAFE -I/usr/local/include   conftest.c >&5
> In file included from conftest.c:111:
> /usr/local/include/cups/cups.h:34:35: error: dispatch/dispatch.h: No
> such file or directory
> -----
> 
> Anton, you build this port at pre-r264121 system. Since r264121
> the gcc defaults to -fno-blocks (as clang do).
> 

No, no, no. r264121 further enhances the blocks support so that libdispatch can now be built on all platforms.
See ports/188332 .


> As I understand so far there are no releases with default gcc and
> blocks enabled. Pedro, are they?
> 

GCC with blocks support is only available in 10-STABLE and 11-CURRENT. No releases have gcc with blocks support yet. It wouldn’t be strange if we set clang to enable blocks by default in the future though.


> Otherwise it would be better to remove the offending part from
> cups/cups.h unless Pedro's upstream report mentioned at PR/188161:
> "STR #4397: Build: cups requires libdispatch when blocks feature
> is enabled" is resolved
> 

The report is here:
https://www.cups.org/str.php?L4397

I think for now we should just apply the proposed patch in cups disabling libdispatch.

Pedro.



More information about the freebsd-gnome mailing list