It's called arm-trusted-firmware-s32 as it's a fork of arm-trusted-firmware with added support for the NXP S32 family of SoCs. This fork is incompatible with (and a different version to) the arm-trusted-firmware package already present in the archives.
> here is also a typo in the filenamemangle option
Thanks for catching that - I've changed it.
> When trying to run uscan to download the version your are packaging it fails
This works fine for me (after fixing the filenamemangle):
Hi Lucas,
I'll answer your first few questions:
> Source packag name
It's called arm-trusted- firmware- s32 as it's a fork of arm-trusted- firmware with added support for the NXP S32 family of SoCs. This fork is incompatible with (and a different version to) the arm-trusted- firmware package already present in the archives.
> here is also a typo in the filenamemangle option
Thanks for catching that - I've changed it.
> When trying to run uscan to download the version your are packaging it fails
This works fine for me (after fixing the filenamemangle):
$ uscan --verbose --download-version 2.5-bsp37.0 "arm-trusted- firmware- s32" version= "2.5-bsp37. 0-8" (as seen in debian/changelog) "arm-trusted- firmware- s32" version= "2.5-bsp37. 0" (no epoch/revision) "arm-trusted- firmware- s32" version= "2.5-bsp37. 0" firmware- s32 s/(bsp\ d+\.\d+ )-(\d+\ .\d+)\. tar\.gz/ arm-trusted- firmware- s32-$2- $1\.tar\ .gz/,uversionma ngle=s/ (bsp\d+ \.\d+). (\d+\.\ d+)/$2- $1/, /github. com/nxp- auto-linux/ arm-trusted- firmware/ tags .*/(bsp\ d+\.\d+ )-(\d+\ .\d+)\. tar\.gz s/(bsp\ d+\.\d+ )-(\d+\ .\d+)\. tar\.gz/ arm-trusted- firmware- s32-$2- $1\.tar\ .gz/ s/(bsp\ d+\.\d+ ).(\d+\ .\d+)/$ 2-$1/ /github. com/nxp- auto-linux/ arm-trusted- firmware/ tags .*/(bsp\ d+\.\d+ )-(\d+\ .\d+)\. tar\.gz /github. com/nxp- auto-linux/ arm-trusted- firmware/ tags /github. com)?\/nxp\- auto\-linux\ /arm\-trusted\ -firmware\ /)?.*/( bsp\d+\ .\d+)-( \d+\.\d+ )\.tar\ .gz /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp38.0- 2.5.tar. gz (2.5-bsp38.0) index=2.5-bsp38.0-1 /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp38.0- 2.5.tar. gz (2.5-bsp38.0) index=2.5-bsp38.0-1 /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp37.0- 2.5.tar. gz (2.5-bsp37.0) index=2.5-bsp37.0-1 matched with the download version /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp37.0- 2.5.tar. gz (2.5-bsp37.0) index=2.5-bsp37.0-1 matched with the download version /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp36.0- 2.5.tar. gz (2.5-bsp36.0) index=2.5-bsp36.0-1 /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp36.0- 2.5.tar. gz (2.5-bsp36.0) index=2.5-bsp36.0-1 /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp35.0- 2.5.tar. gz (2.5-bsp35.0) index=2.5-bsp35.0-1 /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp35.0- 2.5.tar. gz (2.5-bsp35.0) index=2.5-bsp35.0-1 /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp34.2- 2.5.tar. gz (2.5-bsp34.2) index=2.5-bsp34.2-1 /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp34.2- 2.5.tar. gz (2.5-bsp34.2) index=2.5-bsp34.2-1 /github. com/nxp- auto-linux/ arm-trusted- firmware/ tags with d+\.\d+ )-(\d+\ .\d+)\. tar\.gz found /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp37.0- 2.5.tar. gz /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp37.0- 2.5.tar. gz /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp37.0- 2.5.tar. gz /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp37.0- 2.5.tar. gz firmware- s32-2.5- bsp37.0. tar.gz firmware- s32 on remote site is 2.5-bsp37.0, specified download version is 2.5-bsp37.0 /github. com/nxp- auto-linux/ arm-trusted- firmware/ archive/ refs/tags/ bsp37.0- 2.5.tar. gz firmware- s32-2.5- bsp37.0. tar.gz firmware- s32 --version 2.5-bsp37.0 --compression default --directory .. --copyright-file debian/copyright ../arm- trusted- firmware- s32-2.5- bsp37.0. tar.gz trusted- firmware- s32-2.5- bsp37.0. tar.gz to ../arm- trusted- firmware- s32_2.5- bsp37.0. orig.tar. gz.
uscan info: uscan (version 2.22.1ubuntu1) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package=
uscan info: package=
uscan info: ./debian/changelog sets package=
uscan info: Process watch file at: debian/watch
package = arm-trusted-
version = 2.5-bsp37.0
pkg_dir = .
uscan info: opts: filenamemangle=
uscan info: line: https:/
uscan info: Parsing filenamemangle=
uscan info: Parsing uversionmangle=
uscan info: line: https:/
uscan info: Last orig.tar.* tarball version (from debian/changelog): 2.5-bsp37.0
uscan info: Download the --download-version specified version: 2.5-bsp37.0
uscan info: Requesting URL:
https:/
uscan info: Matching pattern:
(?:(?:https:/
uscan info: Found the following matching hrefs on the web page (newest first):
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
uscan info: Looking at $base = https:/
$filepattern = .*/(bsp\
$newfile = https:/
$newversion = 2.5-bsp37.0
$lastversion = 2.5-bsp37.0
uscan info: Matching target for downloadurlmangle: https:/
uscan info: Upstream URL(+tag) to download is identified as https:/
uscan info: Matching target for filenamemangle: https:/
uscan info: Filename (filenamemangled) for downloaded file: arm-trusted-
uscan: Newest version of arm-trusted-
uscan info: Downloading upstream package: bsp37.0-2.5.tar.gz
uscan info: Requesting URL:
https:/
uscan info: Successfully downloaded upstream package: bsp37.0-2.5.tar.gz
uscan info: Renamed upstream package to: arm-trusted-
uscan info: Start checking for common possible upstream OpenPGP signature files
uscan info: End checking for common possible upstream OpenPGP signature files
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): 2.5-bsp37.0
uscan info: Launch mk-origtargz with options:
--package arm-trusted-
Successfully symlinked ../arm-
uscan info: New orig.tar.* tarball version (after mk-origtargz): 2.5-bsp37.0
uscan info: Scan finished
I'll fix up the other things you mentioned now.
Cheers,
Isaac