mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2018.02.0 released
Date: Mon, 19 Feb 2018 09:11:25 +0100	[thread overview]
Message-ID: <20180219081123.egfd77c6k26ed3yg@falbala.home.lespocky.de> (raw)
In-Reply-To: <CAMwGMjzvrL_q8UZc2Ookm3rt=COkiH+2POA7thWfHUt+trb7vw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2272 bytes --]

Hei hei,

On Sun, Feb 18, 2018 at 03:00:22PM -0500, Jon Ringle wrote:
> I built the arm-v5te toolchain, and it built:
> oselas.toolchain-2018.02.0-arm-v5te-linux-gnueabi-gcc-7.3.1-glibc-2.27-binutils-2.30-kernel-4.15-sanitized_2018.02.0-0ptx1~bpo14.04+1_amd64.deb

So you probably used Ubuntu 14.04?

> But on https://debian.pengutronix.de/debian/pool/main/o/oselas.toolchain/ I
> see:
> oselas.toolchain-2018.02.0-arm-v5te-linux-gnueabi-gcc-7.3.1-glibc-2.27-binutils-2.30-kernel-4.15-sanitized_2018.02.0-0ptx1_amd64.deb
> oselas.toolchain-2018.02.0-arm-v5te-linux-gnueabi-gcc-7.3.1-glibc-2.27-binutils-2.30-kernel-4.15-sanitized_2018.02.0-0ptx1~bpo8+1_amd64.deb
> oselas.toolchain-2018.02.0-arm-v5te-linux-gnueabi-gcc-7.3.1-glibc-2.27-binutils-2.30-kernel-4.15-sanitized_2018.02.0-0ptx1~bpo9+1_amd64.deb
> 
> What is the cause for the difference in `bpo8+1`, `bpo9+1` and the
> `bpo14.04+1` in the filename?

From my personal analysis I think, this is spread over several files
in OSELAS.Toolchain repository. In `rules/image-toolchain-deb.make`
IMAGE_TOOLCHAIN_DEB_VERSION_EXT is set by a function defined in
`scripts/lib/ptxd_make_debian_version_ext.sh`. This gets ${VERSION_ID}
from your build host `/etc/os-version`, which is 8 for Debian jessie,
9 for Debian stretch and probably 14.04 for the Ubuntu you are using,
so it depends on the build host. I would guess the 'bpo' means
something like 'backports', at least Debian backports uses similar
markings.

The rest of those version numbers is like this: Something creates the
file `.tarball-version`, maybe it's just included in the tarball, not
in Git repository. In `rules/image-toolchain-deb.make` the script
`scripts/setlocalversion` is called with that as a parameter, which
probably outputs some version from Git, if using the Git repo instead
of a tarball. This is assigned to IMAGE_TOOLCHAIN_DEB_VERSION in
`rules/image-toolchain-deb.make` … yes I think this is it.

HTH && Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured, 
the first thought forbidden, the first freedom denied, chains us all 
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: C28E E6B9 0263 95CF 8FAF  08FA 34AD CD00 7221 5CC6 ***

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-02-19  8:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12 15:51 Michael Olbrich
2018-02-13 10:00 ` Roland Hieber
2018-02-13 10:04   ` Michael Olbrich
2018-02-13 12:41 ` Alexander Dahl
2018-02-13 13:30   ` Michael Olbrich
2018-02-13 13:59     ` Denis OSTERLAND
2018-02-13 14:37       ` Michael Olbrich
2018-02-19  9:38         ` Michael Olbrich
2018-02-13 14:05     ` Alexander Dahl
2018-02-13 14:44       ` Michael Olbrich
2018-02-18 20:00 ` Jon Ringle
2018-02-19  8:11   ` Alexander Dahl [this message]
2018-02-19  9:34     ` Michael Olbrich
2018-09-29 15:57 ` [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2018.02.0 released - host-m4 build error on Ubuntu 18.10 Andreas Pretzsch
2019-01-18  9:07   ` Roland Hieber
2019-01-18 10:34     ` Michael Olbrich
2019-01-18 13:23       ` Roland Hieber
2019-01-18 14:06         ` Michael Olbrich

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=20180219081123.egfd77c6k26ed3yg@falbala.home.lespocky.de \
    --to=post@lespocky.de \
    --cc=ptxdist@pengutronix.de \
    /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