Attempting to coinstall golang-step-crypto-dev and golang-github-smallstep-crypto-dev results in an error.
mmdebstrap --variant=apt --verbose '' /dev/null 'deb http://deb.debian.org/debian unstable main' --include=golang-github-smallstep-crypto-dev,golang-step-crypto-dev
Preparing to unpack .../41-golang-step-crypto-dev_0.24.0-2_all.deb ... Unpacking golang-step-crypto-dev (0.24.0-2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-P5cn1U/41-golang-step-crypto-dev_0.24.0-2_all.deb (--unpack):
trying to overwrite '/usr/share/gocode/src/go.step.sm/crypto/fingerprint/fingerprint.go', which is also in package golang-github-smallstep-crypto-dev (0.57.0-1)
Errors were encountered while processing:
/tmp/apt-dpkg-install-P5cn1U/41-golang-step-crypto-dev_0.24.0-2_all.deb
There are many more files below /usr/share/gocode/src/go.step.sm/crypto affected. Could it be that these packages duplicate each other?
Please figure out which package is at fault and correctly reassign the
bug (such that QA can still associate it with the problem):
Control: reassign -1 $PACKAGE1
Control: affects -1 + $PACKAGE2
Helmut
Le mer. 2 avr. 2025 Ã 10:39, Simon Josefsson <simon@josefsson.org> a
écrit :
A short-term fix to resolve the RC bug may be to simply add a
'Conflicts: golang-step-crypto-dev' to
golang-github-smallstep-crypto-dev? Or is there a need to be able to
co-install these two packages?
Meanwhile I looked into updating golang-github-smallstep-certificates to
latest version and ran into what I think is a build dependency issue
with golang-step-linkedca which would needs a package rename/reupload to
get the latest version. The name name ought to be
golang-github-smallstep-linkedca instead which is the new namespace. It
seems most if not all of go.step.sm moved to github.com/smallstep
namespace. I doubt we can finish that transition before trixie though.
I had a look at another approach, just upgrading the dependency to golang-github-smallstep-crypto-dev
for these two packages:
- golang-step-cli-utils: all fine, level1
- golang-github-smallstep-certificates: level 2, needs the previous one rebuilt first, and the attached patch.
There are probably mistakes in that patch.
for these two packages:</div><div><span style="color:rgb(0,0,0)">- golang-step-cli-utils: all fine, level1</span></div><div>- golang-github-smallstep-certificates: level 2, needs the previous one rebuilt first, and the attached patch.</div><div>There are probably mistakes in that patch.</div></div></div></div></div></blockquote><div><br></div><div>Now that that patch passes the test suite by borrowing from upstream fixes,</div><div>and that "caddy" also builds fine with them, I'm
I had a look at another approach, just upgrading the dependency to
golang-github-smallstep-crypto-dev
for these two packages:
- golang-step-cli-utils: all fine, level1
- golang-github-smallstep-certificates: level 2, needs the previous one
rebuilt first, and the attached patch.
There are probably mistakes in that patch.
Now that that patch passes the test suite by borrowing from upstream fixes, and that "caddy" also builds fine with them, I'm going to do as advertised.
1) Now there are no reverse dependencies on golang-step-crypto-dev any
more, so I think we could ask for removal of that package from the
archive which would resolve https://bugs.debian.org/1100967
jas@kaka:~/dpkg/golang-github-smallstep-crypto$ ssh
mirror.ftp-master.debian.org "dak rm -Rn -b golang-step-crypto-dev"
Will remove the following packages from unstable:
golang-step-crypto-dev | 0.24.0-2 | all
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
------------------- Reason -------------------
----------------------------------------------
Checking reverse dependencies...
No dependency problem found.
jas@kaka:~/dpkg/golang-github-smallstep-crypto$
To be careful, the golang-step-crypto-dev should be removed after all its previous rdeps have migrated to testing.
...https://github.com/smallstep/crypto/issues/579
Once golang-step-crypto-dev has been removed, whatever the right name
will be can be provided by golang-github-smallstep-crypto ?
If there is no urgency to do that before Trixie, let's not change things right now ?
To avoid the odd-ness of assigning a RC bug to ftp.debian.org,
I'd rather create a new Removal Request, then block 1100967 with it ?
On Wed, Apr 9, 2025 at 11:26 PM Simon Josefsson <simon@josefsson.org> wrote:
Thank you! Some observations - tl;dr: I suggest to remove golang-step-crypto-dev from the archive as discussed in 1) below, and
for us to ignore issue 2) + 3) below, even though they warrant more consideration.
1) Now there are no reverse dependencies on golang-step-crypto-dev any more, so I think we could ask for removal of that package from the
archive which would resolve https://bugs.debian.org/1100967
[...]
2) However I realized I was wrong in my comment in https://bugs.debian.org/1100967#10 about which package name is the
"proper" one. Upstream's go.mod namespace is still go.step.sm/crypto
even in latest upstream master:
https://github.com/smallstep/crypto/blob/master/go.mod
So then the "correct" package name in Debian really ought to be "golang-step-crypto" after all.... sigh. Should we upload golang-step-crypto v0.60.0 and migrate all dependencies back to the
proper name, and then remove golang-github-smallstep-crypto?
Sorry for the late reply. But I think it can be better handled.
We can just update golang-step-crypto to 0.57.0-1 and make golang-github-smallstep-crypto-dev as a transitional package.
I prefer we keep the correct package name, aka golang-step-crypto.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 482 |
Nodes: | 16 (2 / 14) |
Uptime: | 56:39:46 |
Calls: | 9,566 |
Files: | 13,661 |
Messages: | 6,142,955 |