Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Apr 2014 17:08:13 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Pedro Giffuni <pfg@FreeBSD.org>
Cc:        gnome@FreeBSD.org, Anton Shterenlikht <mexas@bris.ac.uk>, bug-followup@FreeBSD.org
Subject:   Re: ports/188336: x11-toolkits/gtk20 : ia64 : cups/cups.h missing
Message-ID:  <5343F4BD.6000206@passap.ru>
In-Reply-To: <D018AEB8-CC67-4F8F-AE3A-B203379ED88B@FreeBSD.org>
References:  <201404080640.s386e1pR051992@freefall.freebsd.org> <5343B3D5.2050902@passap.ru> <D018AEB8-CC67-4F8F-AE3A-B203379ED88B@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
08.04.2014 16:43, Pedro Giffuni пишет:
> 
> Il giorno 08/apr/2014, alle ore 03:31, Boris Samorodov <bsam@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@bris.ac.uk>
>>> To: bug-followup@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 .

Sorry All, I should have misunderstand your commit log.

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

OK, thanks for clarification.

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

OK, then I'll remove the offending lines from cups/cups.h. Hope that
upstream will fix the code at 1.7.3.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5343F4BD.6000206>