From proton-return-8392-apmail-qpid-proton-archive=qpid.apache.org@qpid.apache.org Thu Aug 13 21:38:46 2015 Return-Path: X-Original-To: apmail-qpid-proton-archive@minotaur.apache.org Delivered-To: apmail-qpid-proton-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4497E18701 for ; Thu, 13 Aug 2015 21:38:46 +0000 (UTC) Received: (qmail 73857 invoked by uid 500); 13 Aug 2015 21:38:46 -0000 Delivered-To: apmail-qpid-proton-archive@qpid.apache.org Received: (qmail 73822 invoked by uid 500); 13 Aug 2015 21:38:46 -0000 Mailing-List: contact proton-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: proton@qpid.apache.org Delivered-To: mailing list proton@qpid.apache.org Received: (qmail 73809 invoked by uid 99); 13 Aug 2015 21:38:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2015 21:38:45 +0000 Date: Thu, 13 Aug 2015 21:38:45 +0000 (UTC) From: "Andrew Stitcher (JIRA)" To: proton@qpid.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PROTON-952) Building Proton with python 2.6 and python 3.4 on Travis CI finds and links wrong libpython MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PROTON-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695989#comment-14695989 ] Andrew Stitcher commented on PROTON-952: ---------------------------------------- It may be a "cmake bug" in that cmake doesn't ensure that it uses the same version for both python and python library. But it is straightforward to solve in the proton cmake files. > Building Proton with python 2.6 and python 3.4 on Travis CI finds and links wrong libpython > ------------------------------------------------------------------------------------------- > > Key: PROTON-952 > URL: https://issues.apache.org/jira/browse/PROTON-952 > Project: Qpid Proton > Issue Type: Bug > Affects Versions: 0.10 > Environment: Travis CI build environment (highly customised Ubuntu) > Reporter: Andrew Stitcher > Assignee: Andrew Stitcher > Fix For: 0.11 > > > You can specify a specifiv version of python to use in the Traviis build process and that will set up the build environment to use a python virtualenv with that version of python. > When using python 2.6 or 3.4 (and probably 3.3 too but I've not tested that) > the cmake installed will find the python 2.7 libs and link them into the proton bindings extension. This seems to succeed at build time but seems to make the "python-test" fail to even start in both cases (though with slightly different symptoms). -- This message was sent by Atlassian JIRA (v6.3.4#6332)