From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eddie.linux-mips.org ([148.251.95.138] helo=cvs.linux-mips.org) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ixygJ-00081s-N1 for ptxdist@pengutronix.de; Sat, 01 Feb 2020 20:43:52 +0100 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23991355AbgBATnsuImvy (ORCPT ); Sat, 1 Feb 2020 20:43:48 +0100 Date: Sat, 1 Feb 2020 20:43:47 +0100 From: Ladislav Michl Message-ID: <20200201194347.GA536148@lenoch> References: <20200119213753.GB2030445@lenoch> <20200130221739.GA256488@lenoch> <20200131070907.npl35y4fkylizp4x@pengutronix.de> <20200131213731.GA438064@lenoch> <20200201090216.GG2615@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200201090216.GG2615@pengutronix.de> Subject: Re: [ptxdist] [PATCH] gpsd: version bump 3.19 -> 3.20 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Sat, Feb 01, 2020 at 10:02:16AM +0100, Michael Olbrich wrote: > Well this patch and the 3.20 update still fails here with: > > .../bin/ld: gpspacket-py_2_7_16_final_0.cpython-37m-arm-linux-gnueabihf.so: > in function `Lexer_dealloc': > platform-arm-hf/build-target/gpsd-3.20/gpspacket.c:129: undefined reference > to `PyObject_Free' > > This looks suspicious to me: 2.7.16 is python2 version... I think there is > some stuff leaking in from the build Python. This one was easy to fix, it comes from here: https://gitlab.com/gpsd/gpsd/blob/master/SConstruct#L1910 GetPythonValue should be used instead. But is not root of the problem. And that is those python modules are not linked against sysroot-target/usr/lib/libpython3.7m.so.1.0 ladis _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de