mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Denis OSTERLAND <denis.osterland@diehl.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>,
	"ada@thorsis.com" <ada@thorsis.com>
Cc: "rca@thorsis.com" <rca@thorsis.com>
Subject: Re: [ptxdist] [PATCH v4 3/3] gpsd: version bump 2.39 -> 3.18.1
Date: Wed, 17 Apr 2019 14:02:31 +0000	[thread overview]
Message-ID: <1555509750.6291.20.camel@diehl.com> (raw)
In-Reply-To: <8322469.IIiEpiVvGp@ada>

Hi Alex,

the state is that we do not use python bindings and I failed to do it in my spare time.
The version bump of gpsd was part of a research in a case were we had problems with GPS,
but it turns out that the problem was some where else and we decided to stick with the old version.
If you use python on the target, I guess you will see the problems Michael reported
and without python it should work.

Now to your problem.
HOST_PYTHON_SCONS selects HOST_SYSTEM_PYTHON to build.
It is selected by ALLYES, so it seems to build on pengus all yes build.

It seems that something changed here.
On my disk with the version from January, there is no link unter sysroot-host/bin, too.
Please ensure that
https://git.pengutronix.de/cgit/ptxdist/commit/?id=d7d7ca50cdc0e786bc84929231c2ff0ddde1e5fa
is applied, which allows to build python packages with system-python.

Regards Denis

Am Mittwoch, den 17.04.2019, 12:38 +0200 schrieb Alexander Dahl:
> Hello Denis,
> 
> could you please give an update on the state of this patch? We are currently 
> experimenting with gpsd and could help you testing.
> 
> One thing I noticed, when just adding 'select HOST_PYTHON_SCONS' to an 
> otherwise clean package, it seems some dependency to host python is not set:
> 
> This is from a ptxdist 2018.09.0 based BSP, where I just copied rules/host-
> python-scons.{in,make} to:
> 
> ---------------------------------
> target: host-python-scons.compile
> ---------------------------------
> 
> environment: line 2: /home/adahl/Work/bsp/***/platform-v7a/sysroot-host/bin/
> python2.7: No such file or directory
> /usr/local/lib/ptxdist-2018.09.0/rules/post/ptxd_make_world_compile.make:21: 
> recipe for target '/home/adahl/Work/bsp/***/platform-v7a/state/host-python-
> scons.compile' failed
> 
> Greets
> Alex
> 
> Am Dienstag, 5. Februar 2019, 09:46:37 CEST schrieb Denis OSTERLAND:
> > 
> > Hi Michael,
> > 
> > thanks for your input.
> > 
> > Am Dienstag, den 05.02.2019, 10:07 +0100 schrieb Michael Olbrich:
> > 
> > > 
> > > On Mon, Jan 21, 2019 at 12:01:21PM +0000, Denis OSTERLAND wrote:
> > > 
> > > > 
> > > > 
> > > > 
> > > > +
> > > >  GPSD_ENV = \
> > > >  	$(CROSS_ENV) \
> > > >  	PYTHON=$(CROSS_PYTHON)
> > > You need to add PATH=$(CROSS_PATH) to the env. Otherwise pkg-config does
> > > not work correctly.
> > okay. I was pretty sure that the defines for pkg-config were part of
> > CROSS_ENV.
>  
> > 
> > 
> > > 
> > > 
> > > Also, the python here is not picked up correctly. You need to set
> > > target_python and python_libdir below to properly install the python
> > > files.
> > I will try it.
> > 
> > 
> > > 
> > > 
> > > And targetinstall fails because /usr/bin/gpsflash is not found. I think
> > > this war removed upstream.
> > So let´s remove it, too. ;-)
> > 
> > 
> > > 
> > > 
> > > Michael
> > 
> > Regards Denis
> > 
> > 
> > Diehl Connectivity Solutions GmbH
> > Geschäftsführung: Horst Leonberger
> > Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> > Nürnberg: HRB 32315
> > ____________________________________________________________________________
> > _______________________
>  
> > 
> > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail
> > enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise
> > erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede
> > unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung
> > und/oder Publikation dieser E-Mail ist strengstens untersagt. The contents
> > of the above mentioned e-mail is not legally binding. This e-mail contains
> > confidential and/or legally protected information. Please inform us if you
> > have received this e-mail by mistake and delete it in such a case. Each
> > unauthorized reproduction, disclosure, alteration, distribution and/or
> > publication of this e-mail is strictly prohibited.
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de

Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315
___________________________________________________________________________________________________

Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
- Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/

The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. 
- For general information on data protection and your respective rights please visit https://www.diehl.com/group/en/transparency-and-information-obligations/
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2019-04-17 14:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-04  8:11 [ptxdist] [PATCH 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-04  8:11 ` [ptxdist] [PATCH 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-07 15:16   ` Michael Olbrich
2019-01-08  7:21     ` Denis OSTERLAND
2019-01-04  8:11 ` [ptxdist] [PATCH 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-08  7:37 ` [ptxdist] [PATCH v2 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-08  7:37   ` [ptxdist] [PATCH v2 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-08  7:37   ` [ptxdist] [PATCH v2 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-15  8:17   ` [ptxdist] [PATCH v3 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-15  8:17     ` [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-16 15:35       ` Michael Olbrich
2019-01-17 10:53         ` Denis OSTERLAND
2019-01-18  9:05           ` Denis OSTERLAND
2019-01-18 10:38             ` Michael Olbrich
2019-01-17 13:31       ` Roland Hieber
2019-01-15  8:17     ` [ptxdist] [PATCH v3 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-21 12:01     ` [ptxdist] [PATCH v4 0/3] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 2/3] host-python-scons: add new package Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 1/3] rules: install to sysroot-host/bin with HOST_PYTHON and HOST_SYSTEM_PYTHON Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 3/3] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-02-05  9:07         ` Michael Olbrich
2019-02-05  9:46           ` Denis OSTERLAND
2019-02-05 11:58             ` Michael Olbrich
2019-04-17 10:38             ` Alexander Dahl
2019-04-17 14:02               ` Denis OSTERLAND [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1555509750.6291.20.camel@diehl.com \
    --to=denis.osterland@diehl.com \
    --cc=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    --cc=rca@thorsis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox