From users-return-18490-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Thu Mar 22 13:02:22 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9694A180676 for ; Thu, 22 Mar 2018 13:02:21 +0100 (CET) Received: (qmail 97362 invoked by uid 500); 22 Mar 2018 12:02:15 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 97349 invoked by uid 99); 22 Mar 2018 12:02:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2018 12:02:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7B793C0146 for ; Thu, 22 Mar 2018 12:02:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xtfjHuSfg_JD for ; Thu, 22 Mar 2018 12:02:13 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 82EF55F2C2 for ; Thu, 22 Mar 2018 12:02:12 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id z143-v6so12729628lff.3 for ; Thu, 22 Mar 2018 05:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=JhbkfOxNR9llpD0zw9GI49+Qazxo6OwSZvE3I8lihhc=; b=gpDZjLa7cQ1d6WkJnFnYwsTpbteBQqf7kLxXMJNrWWVbFbeXfcXDrQ0frDJiPijAsW F9yXTaUGix9QIhM5bdyjJZpD4mbYH3T9C0+KZ/VHc230VRIgAh7M5iAsBgMkVxnrwz8r mRaHcBsiT9T/nKWUrPD6PkEGUCSHOa9ubY9mMgAtwRsYdW2UHvuNz/KoFR0qZ8PlqR98 N2hE9vGPHSGEQiBZFlJCvrjX0WETmYk1Pyxf19lleR8Y1znkBlNFTdjHdXdsReFbdeNc QzIq14TXA4Da7yzhc9ccwzWqrb8xyyspE4zqOuSAdtYXiCwABa8DOTRCH2n/w6aulM97 ao0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=JhbkfOxNR9llpD0zw9GI49+Qazxo6OwSZvE3I8lihhc=; b=lb9JRb+bj7+Va+OxoAhoztXEUqkXWYyZo3L7o4+u6S5A4hTmx5yXN8hlumCEP2Ue+v 2XOrP5u74vI800y4k3pC1sn7CVRASOQtzkLhjuWPdddTPH0LpSToOCN9j9HkPcDMsubP AJjb1aIsNdHBFnlCwfBdgYZrU9GwwbbMDyrlMtKCc7Z7PqQiRbNxsYHPyOEmUfwRSbs9 RPs5xJbX0RTFijfIpnIIhBNIBQkJdmajj2sWlK5zLmOh1YpIpTABEhDfB5IM+apIKTIp +2OCd4R3XGXxkpJ5UqaZ56QzEH3tBIGXBryfcH7sR83hIMSayLOFFWgY8TceQZKTiUVs xKEA== X-Gm-Message-State: AElRT7EZDU2XZBRlfwT/x/hfFSnzoHgawsdmHXbeNCpo8DY/f++0HGTh +Kyv/EHJSPEJRNgW6Ob06Qh9gIhsnMV4y6BvPQw= X-Google-Smtp-Source: AG47ELu2erZ5VKGhql+WjpA0K5lygalA5w5jPPJb7Y1a+mJ++wyPlDrvgaLaKi5dA96gIlbZxTRut+b5seoErB/ySlw= X-Received: by 2002:a19:e112:: with SMTP id y18-v6mr15888193lfg.102.1521720131658; Thu, 22 Mar 2018 05:02:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:660a:0:0:0:0:0 with HTTP; Thu, 22 Mar 2018 05:02:11 -0700 (PDT) In-Reply-To: References: From: Oleksandr Rudyy Date: Thu, 22 Mar 2018 12:02:11 +0000 Message-ID: Subject: Re: qpid-cpp cmake fails to find proton when PKG_CONFIG_PATH is set to non-standard /lib[64]/pkgconfig To: users@qpid.apache.org Content-Type: text/plain; charset="UTF-8" Justin, Thanks for fixing the issue. The jenkins job is building cpp-broker successfully after your change. On 21 March 2018 at 22:11, Justin Ross wrote: > Alex, with the following change now on master, the pkg-config based build > is working for me. > > https://github.com/apache/qpid-cpp/commit/f14f1bc162c4f4249d6397cbf1ee2522074dc17a > > On Mon, Mar 19, 2018 at 2:20 PM, Justin Ross wrote: > >> Seems likely that it's this change of mine. >> >> https://github.com/apache/qpid-cpp/commit/b18583a6c05d0bb8cb9502f0823d90 >> 2e17b2410e >> >> I'll try to reproduce and see if this really the cause. >> >> On Mon, Mar 19, 2018 at 12:28 PM, Robbie Gemmell > > wrote: >> >>> I see the same thing on Fedora 26 too. There have been cmake-related >>> changes on qpid-cpp and qpid-proton masters in recent days, its not >>> immediately clear to me whether it is one or the other, or both. >>> >>> On 19 March 2018 at 17:15, Oleksandr Rudyy wrote: >>> > Hi, >>> > >>> > Jenkins job Qpid-Broker-J-Python-Test started to fail due to an issue >>> > with building cpp broker. The job was building qpid-cpp broker >>> > successfully before 15th of March. >>> > >>> > The jobs installs proton into non-standard location and sets >>> > PKG_CONFIG_PATH as specified in qpid-cpp INSTALL.txt. >>> > >>> > However, cmake fails to find proton and reports the following error: >>> > >>> > CMake Error: The following variables are used in this project, but >>> > they are set to NOTFOUND. >>> > Please set them or make sure they are set and tested correctly in the >>> > CMake files: >>> > Proton_LIBRARY >>> > linked by target "amqp" in directory >>> > /home/jenkins/jenkins-slave/workspace/Qpid-Broker-J-Python- >>> Test/qpid-cpp/src >>> > linked by target "qpidmessaging" in directory >>> > /home/jenkins/jenkins-slave/workspace/Qpid-Broker-J-Python- >>> Test/qpid-cpp/src >>> > >>> > What is interesting, that when both qpid broker and proton have the >>> > same install prefix, proton is found successfully by cmake. >>> > >>> > >>> > I can change the job to build qpid and proton with the same install >>> > prefix, though, I would like to clarify whether the build scripts have >>> > been changed intentionally and setting of PKG_CONFIG_PATH as >>> > described in INSTALL.txt is not supported any-more. >>> > >>> > I built on Fedora 27. Jenkins job is running on Ubuntu. >>> > For both environments the same cmake error is reported with >>> PKG_CONFIG_PATH. >>> > >>> > Kind Regards, >>> > Alex >>> > >>> > --------------------------------------------------------------------- >>> > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org >>> > For additional commands, e-mail: users-help@qpid.apache.org >>> > >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org >>> For additional commands, e-mail: users-help@qpid.apache.org >>> >>> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org