Hi,
Daniel Swarbrick <dswarbrick@debian.org> (2023-08-25):
> On 25.08.23 19:40, Mathias Gibbens wrote:
> > Something has changed in sid's golang environment since August 4
> > which is causing dh-make-golang to fail to determine a package's
> > dependencies and generate a correct d/control. For example, this worked
> > fine on August 4 but now fails:
>
> It's probably also worth noting that dh-make-golang is now FTBFS (#1043070)
> due to golang.org/x/tools/go/vcs having been deprecated and removed from
> golang-golang-x-tools-dev as of version 0.11.0.
I had an unstable schroot lagging behind. Upgrading the following
packages didn't change dh-make-golang's output regarding dependencies:
$ sudo apt-get install golang-golang-x-tools-dev
[…]
The following additional packages will be installed:
golang-golang-x-mod-dev golang-golang-x-tools
The following packages will be upgraded:
golang-golang-x-mod-dev golang-golang-x-tools golang-golang-x-tools-dev
But this did:
$ sudo apt-get install golang
[…]
The following additional packages will be installed:
golang-1.21 golang-1.21-doc golang-1.21-go golang-1.21-src golang-any golang-doc golang-go golang-src
The following NEW packages will be installed:
golang golang-1.21 golang-1.21-doc golang-1.21-go golang-1.21-src
The following packages will be upgraded:
golang-any golang-doc golang-go golang-src
4 upgraded, 5 newly installed, 0 to remove and 355 not upgraded.
Given the error messages it looks like there are only two paths
considered each time, one within the build tree, the other one being
under /usr/lib/go-1.21; and since many packages (a very superficial
search suggests 2048) ship stuff under /usr/share/gocode/src, that can't
work?
Cheers,
--
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/
Attachment:
signature.asc
Description: PGP signature