From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([217.72.192.73]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1engY0-0003Ee-32 for ptxdist@pengutronix.de; Mon, 19 Feb 2018 09:12:05 +0100 Received: from idefix.home.lespocky.de ([79.197.157.191]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MNcni-1epMIb0ehG-007FI3 for ; Mon, 19 Feb 2018 09:11:39 +0100 Received: from falbala.home.lespocky.de ([192.168.243.94]) by idefix.home.lespocky.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1engXn-0000Ju-EO for ptxdist@pengutronix.de; Mon, 19 Feb 2018 09:11:38 +0100 Date: Mon, 19 Feb 2018 09:11:25 +0100 From: Alexander Dahl Message-ID: <20180219081123.egfd77c6k26ed3yg@falbala.home.lespocky.de> References: <20180212155154.gn3omnmv23djbw4u@pengutronix.de> MIME-Version: 1.0 In-Reply-To: Subject: Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2018.02.0 released List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1245983203==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============1245983203== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="twb7zyh5jp7dkul6" Content-Disposition: inline --twb7zyh5jp7dkul6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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-bi= nutils-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-bi= nutils-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-bi= nutils-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-bi= nutils-2.30-kernel-4.15-sanitized_2018.02.0-0ptx1~bpo9+1_amd64.deb >=20 > What is the cause for the difference in `bpo8+1`, `bpo9+1` and the > `bpo14.04+1` in the filename? =46rom 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} =66rom 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` =E2=80=A6 yes I think this is it. HTH && Greets Alex --=20 =C2=BBWith the first link, the chain is forged. The first speech censured,= =20 the first thought forbidden, the first freedom denied, chains us all=20 irrevocably.=C2=AB (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: C28E E6B9 0263 95CF 8FAF 08FA 34AD CD00 7221 5CC6 *** --twb7zyh5jp7dkul6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwo7muQJjlc+Prwj6NK3NAHIhXMYFAlqKhqgACgkQNK3NAHIh XMbdHRAAvm0q8a9LkacEyEiLm7dINPjhxj4OLGhas6NrOrJv3kqEpr4vTcBt86Bb meAjT5nBFDaQMZoazPbmHMdJZM2HurQfXYDy2VbJ5hE2TgeopeaPay1xDdnzRSZv bArql5nCU3Z4wHA8x2KvMb+6UdxDbFztnlswMOPwYEeok5S7Lxu1j+bTqDlE07Px jbco9c9cRLKfxkKMoHXWdnnkEEtBlndeO+l0i6JhsrOhpLUD0bDKR6KdCFHVZYl7 i6uoiRL2HwsCVm8Xj0pUvYvBB3CTiNArjpnW2YXFrgyH06mWw01L9HPiLT1mwAtx DqHOuo5d/TYF7N2qHi/bGQ7NgnX+/oswbiIvdGHEkC67Z1Q3xgm+wJsM5Mj2L+0f 7kbC/a4BXDlj7L0XdRKkJvyXKmpxjz85CUix9UTf4gF1iY06JDDnw9/OGLOodPxe ZMNjUJdw6IX9Wxs+rGXR3hxFnI3Z88H79jlhDCS8KtgiSPWIs+BRrwS6rhaAVUS8 qoYsAOvR9sdVqLFGzflh3+alI05MdaEO8nfekEfY0aUNBsxa9wPUBF979BZNAXaE srou9DYjJa7ZTnKHMhRymJ/moGHARfskGi+x3jVj1ZZsIdXILL1Xn2vfJp/8EogY 64eC3wWP++ELa0FVvctjdMneyNaV3ZPbkZ++MAf1ilJzO0ld9Tw= =ebFh -----END PGP SIGNATURE----- --twb7zyh5jp7dkul6-- --===============1245983203== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1245983203==--