[needs-packaging] optee-test-s32

Bug #2039037 reported by Laider Lai
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
In Progress
Wishlist
NemOS Team

Bug Description

[needs-packaging] optee-test-s32 (3.18.0-0ubuntu1)
For Erlangen project, we have to provide the NXP S32G optee-test-s32 to the customer via Ubuntu archive (universe).

URL: https://launchpad.net/~nemos-team/+archive/ubuntu/archive-target/+packages
Source code: https://code.launchpad.net/~nemos-team/nemos/+git/optee-test-s32/+ref/ubuntu/archive
License: https://git.launchpad.net/~nemos-team/nemos/+git/optee-test-s32/tree/debian/copyright
Notes: The NXP S32G optee-test-s32 [Noble]

This package has dependencies for the other 2 [needs-packaging] bugs and should wait for them to be approved into the target archive.
1. (LP: #2043448)
2. (LP: #2039036)
3. (LP: #2034648)

Laider Lai (laiderlai)
Changed in ubuntu:
assignee: nobody → NemOS Team (nemos-team)
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

Changed in ubuntu:
importance: Undecided → Wishlist
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Uploaded, thank you!

Revision history for this message
Laider Lai (laiderlai) wrote :

*Since the development series is moved to Noble. Update the description target to Noble.

Hi Simon (tsimonq2),
Thanks for your sponsor, could you help to share where the package is uploaded from comment#2?

Tks.

description: updated
Laider Lai (laiderlai)
description: updated
Laider Lai (laiderlai)
description: updated
Revision history for this message
Laider Lai (laiderlai) wrote :

Got reject information:
incorrect version number for an Ubuntu-only upload. Incorrect assertion of 'GPL-3+' licensing which is inconsistent with Canonical copyright policy. SPDX-License-Identifier garbage header in debian/copyright. debian/copyright fails lintian checks. debian/copyright does not match upstream license information (bundled OpenSSL)

There is the latest version (optee-test-s32 - 3.18.0-0ubuntu3) fixed problems.
 - The version format is refined.
 - The copyright remove garbage header
 - The copyright fix license problem
 - The bundled OpenSSL is removed
 - Confirmed lintian test result is passed

Hi Dave Jones,

Could you help to re-upload the latest version to the noble upload queue? Tks.

description: updated
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Where is this source tarball downloaded from? There is no debian/watch file, could you please add one?

Would it be https://github.com/OP-TEE/optee_test/archive/refs/tags/3.18.0.tar.gz perhaps?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Also, where are the build-dependencies? It looks like nemos-dev-cert and nemos-dev-key are not in the archive, just in your ppa? Is there another needs-packaging bug for those?

Revision history for this message
Dave Jones (waveform) wrote :

Hi Laider, I've had a look at the package and Andreas' concerns (and a few of mine) do need addressing first. Specifically:

* There's no need for copyright comments in d/control, d/copyright, or d/rules -- the "Files: debian/*" clause in d/copyright defines that Canonical has the copyright of all files in debian/

* Given the declared upstream repo (https://github.com/OP-TEE/optee_test) has release tags, it would certainly be to our advantage to have a d/watch file included. I'd suggest something like the following (allowing for the fact Launchpad is going to butcher the wrapping here):

  version=4

  opts=\
    filenamemangle=s/.+\/@ANY_VERSION@\.tar\.gz/@PACKAGE@_$1.orig.tar.gz/ \
    https://github.com/OP-TEE/optee_test/tags .*\/@ANY_VERSION@\.tar\.gz \
    debian

* Technically, the version number ought to be ...-0ubuntu1 but I'm happy to adjust that sort of thing during sponsorship. A hint for working with PPAs: I generally find it's easiest to upload with the "correct" version number plus a ~ppa1 suffix which I can then bump with subsequent revisions; the "~" ensures it sorts before the final revision, so anything using the PPA will eventually upgrade implicitly to the archive revision. For example in this case I would've uploaded something like 3.18.0-0ubuntu1~ppa1 then revised to 3.18.0-0ubuntu1~ppa2 and so on. Eventually, 3.18.0-0ubuntu1 would be uploaded to the archive and that sorts after the PPA revisions

* Andreas is correct in noting that nemos-dev-key and nemos-dev-cert are needed first. For reference, LP: #2043448 is the needs-packaging bug for nemos-dev-key (which also produces nemos-dev-cert). That's been sponsored by @tsimonq2 already, but hasn't been accepted into the archive yet. I suspect it's worth waiting to see what the AAs say about nemos-dev-key before uploading this

Laider Lai (laiderlai)
description: updated
Laider Lai (laiderlai)
description: updated
Laider Lai (laiderlai)
description: updated
description: updated
Revision history for this message
Laider Lai (laiderlai) wrote :

Thanks Andreas and Dave.
1. The d/watch is added and unnecessary copyrights from debian/* are removed.
2. The version is refined as 3.18.0-0ubuntu1 in PPA.

Indeed about the dependency and mark it in the description.
When nemos-dev-key is uploaded to the archive, then I will subscribe sponsor team again for this case. Tks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.