-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 27 lintian warnings #1628
Conversation
Provide -ldflgas and -buildmod=pie to go build of this hook. Fixes: canonical#1626
Silence warning for pro wanted-by-target cloud-init.service.
|
||
ubuntu-advantage-tools (27.0) impish; urgency=medium | ||
|
||
* New upstream release 27.0: | ||
- apt-hook: mitigate failures with true | ||
- [redacted: actually landed in 27.0.1] apt-hook: mitigate failures with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry if I am missing something here, but do we need to have those updates on the changelog ? Can't we just remove keep the correct line on release 27.0.1 and remove the other ones ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lucasmoura since we already released a d/changelog in impish incorrectly published this line, Robie thought it was more correct and less confusing to others who may have seen the impush release changelog to avoid a complete redaction of a line item. It was a point raised in SRU that we probably shouldn't be magically manipulating old d/changelog entries if we can avoid it.
@blackboxsw after building the package, I am seeing the following lintian errors:
Looking at this output, it seems that we still have the problem However, if I run the following lintian command: I see the following output:
Which looks like what we expect. So I don't know exactly what is happening here regarding the lintian diff between sbuild and lintian. @paride do you know what can cause different outputs like this ? Also, maybe we can address this lintian error too in this PR: |
Hi Lucas, the difference is caused by what you lint. There are three kind of things that lintian can lint:
so:
Now you passed lintian a When it's FWIW I normally run lintian with: |
You should be able to replicate the sbuild lintian result by running |
Closed in favor of a PR against main #1645 |
#wip will update with content for what was released to impish
Sync changelog for what we just released in packaging branches on impish for 27.0.2
Plan is to propose this PR back up into main after landing in release-27 to sync commits back up to tip
Proposed Commit Message
Silence warning for pro wanted-by-target cloud-init.service.
apt-json-hook: fix lintian warnings based on compiled binary
Provide -ldflgas and -buildmod=pie to go build of this hook.
Fixes: 27.0.2: json hook lintian errors regarding position independent executable and ldflags #1626
changelog: sync impish released changelog 27.0.2
Fixes: #1624
Test Steps
Desired commit type::
Checklist: