Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 97182200C5C for ; Wed, 5 Apr 2017 17:37:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 95F2A160B91; Wed, 5 Apr 2017 15:37:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DC250160B94 for ; Wed, 5 Apr 2017 17:37:45 +0200 (CEST) Received: (qmail 12010 invoked by uid 500); 5 Apr 2017 15:37:45 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 11957 invoked by uid 99); 5 Apr 2017 15:37:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2017 15:37:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 30A641A056A for ; Wed, 5 Apr 2017 15:37:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id n9cHFGjWSRWX for ; Wed, 5 Apr 2017 15:37:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2CB895FAE7 for ; Wed, 5 Apr 2017 15:37:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 67A10E0D3C for ; Wed, 5 Apr 2017 15:37:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B9A49263CC for ; Wed, 5 Apr 2017 15:37:41 +0000 (UTC) Date: Wed, 5 Apr 2017 15:37:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (THRIFT-3828) cmake fails when Boost_INCLUDE_DIRS (and other variables passed to include_directories()) is empty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Apr 2017 15:37:46 -0000 [ https://issues.apache.org/jira/browse/THRIFT-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957043#comment-15957043 ] ASF GitHub Bot commented on THRIFT-3828: ---------------------------------------- Github user jfarrell closed the pull request at: https://github.com/apache/thrift/pull/1082 > cmake fails when Boost_INCLUDE_DIRS (and other variables passed to include_directories()) is empty > --------------------------------------------------------------------------------------------------- > > Key: THRIFT-3828 > URL: https://issues.apache.org/jira/browse/THRIFT-3828 > Project: Thrift > Issue Type: Bug > Components: Build Process > Reporter: Cody Schafer > Assignee: James E. King, III > Priority: Minor > Fix For: 0.10.0 > > Attachments: 0001-cmake-avoid-use-of-both-quoted-paths-and-SYSTEM-with.patch > > > This is due to the current quoting of those variables when passed to `include_directories()`. These variables may (and soon will, see below) be empty in the case where the include directory is a system include path that is implicitly included. > I ran into this issue when trying to build thrift using gcc-6. gcc-6 doesn't work with includes that are part of the platform/system include path (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 for one mention). To resolve this, `FindBoost.cmake` will be adjusted to avoid adding those types of directories to Boost_INCLUDE_DIRS. -- This message was sent by Atlassian JIRA (v6.3.15#6346)