I have a build on Launchpad that is failing for reasons that escape me.
The package clearly lists the build dependencies as:
Merged Build-Depends: ..., golang (>= 1:1.4~) | gccgo-5, ...
Filtered Build-Depends: ..., golang (>= 1:1.4~) | gccgo-5, ...
Unless I am missing something, this means either a version of golang
>= 1.4 must be installed or gccgo-5
must be installed.
But APT does neither of those things. Further down, we see:
The following NEW packages will be installed:
... golang-go ...
0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.5 MB of archives.
After this operation, 139 MB of additional disk space will be used.
...
Get:27 [...] trusty/universe golang-go i386 2:1.2.1-2ubuntu1 [7148 kB]
How on earth does golang
1.2 satisfy the build dependency? What's going on here? What am I doing wrong?
Edit: as pointed out in the comments, the problem revolves around the epoch numbers. My question now becomes: what can I do to work around this?
1:1.4~
and2:1.2.1-2ubuntu1
.1:
and2:
. Somebody forgot to account for epoch numbers. – muru Mar 29 '16 at 22:06