Re: Update of golang-github-gdamore-cell to 2.*
- To: Daniel Milde <daniel@milde.cz>
- Cc: debian-go@lists.debian.org
- Subject: Re: Update of golang-github-gdamore-cell to 2.*
- From: Stephen Gelman <ssgelm@gmail.com>
- Date: Tue, 2 Feb 2021 10:19:16 -0600
- Message-id: <[🔎] 4C70F4CA-629F-49CB-B01C-512D2BC72B1B@gmail.com>
- In-reply-to: <[🔎] 73d76d7b-405c-61ac-c98d-d12abc2aae5b@milde.cz>
- References: <1475048d-f2da-be89-20a0-0875281a691f@milde.cz> <CAPP0f971tgQP4RyDt+iSei9LJCTRtkyRA=YkbN3SBi1ux1FR1w@mail.gmail.com> <3d39d3e3-e9f1-cd3c-f19d-dd7a64daa108@milde.cz> <CAPP0f95CMXC9dJQMD1CzQ39Px6wXdeuSnyMV1tDA=P-YcMakcg@mail.gmail.com> <8ce67556-3b21-bf4e-a986-ef69aecde5e7@milde.cz> <CAErE_oGDW1M39goMhCn-a-FcTr1P2dKJM_tkr9hYrQXSre=ztg@mail.gmail.com> <80851c66-0fec-dcd6-fc6a-a0978ecb769d@milde.cz> <EEA1978E-888D-4CD2-AE20-F8C5E45BBA95@gmail.com> <d745fb82-1e20-b7ad-2cc4-8655b11fad17@milde.cz> <CAErE_oEevsDoEOiMNiqTKODP6h0Fn5JNTyd4zcuOGsX8C_iwPQ@mail.gmail.com> <200025ed-9cc9-f8ef-4cde-52af2c0e606b@milde.cz> <2D9EE4AB-8149-47D1-A3DA-9681AF063A20@gmail.com> <ceee8373-3f10-1a0b-f8ac-101a764635b6@milde.cz> <2D1DF32B-7514-42F1-B45A-267058FDE00D@gmail.com> <38c2d81c-153f-3e24-067d-c5accc123d11@milde.cz> <6C3A0BE8-C05C-4FC7-AE79-2508D596DB4E@gmail.com> <[🔎] 73d76d7b-405c-61ac-c98d-d12abc2aae5b@milde.cz>
Daniel,
I actually looked at this a little last night. I believe the correct fix, which I uploaded in 2.1.0-4 is to make golang-github-gdamore-tcell.v2-dev both conflict with and replace golang-github-gdamore-tcell-dev. Having said that, this will break golang-github-antonmedv-expr-dev which depends on both golang-github-rivo-tview-dev and golang-github-gdamore-tcell-dev. I think the fix there is to try and switch golang-github-antonmedv-expr to use v2. Does anyone else have any other suggestions?
Stephen
> On Feb 2, 2021, at 4:56 AM, Daniel Milde <daniel@milde.cz> wrote:
>
> Hi Stephen,
> I have noticed, that autopkgtest failed for golang-github-rivo-tview because golang-github-gdamore-tcell.v2 installs gocode into the same directory as golang-github-gdamore-tcell:
>
> https://qa.debian.org/excuses.php?package=golang-github-rivo-tview
> https://ci.debian.net/data/autopkgtest/testing/amd64/g/golang-github-antonmedv-expr/10191213/log.gz
>
> What is the best approach to fix it?
>
> Something like this maybe?
>
> override_dh_auto_install:
> dh_auto_install
> -mv $(CURDIR)/debian/golang-github-gdamore-tcell.v2/usr/share/gocode/src/github.com/gdamore/{tcell,tcell.v2}
>
>
> Thanks
> Daniel
>
Reply to: