Public bug reported:

Dear Release Team,

As reported in Debian Bug #891894 "redefinition of 'SyscallNoError' when
building with gccgo 8" at, packages using
an older version of golang-golang-x-sys-dev (src:golang-golang-x-sys)
such as 0.0~git20170727.0.35ef448-2 would FTBFS when built with gccgo-8.

Example with golang-github-alecthomas-chroma:

  * Before (Failed):

  * After (Successful):

This was fixed upstream in

  unix: move gccgo redeclared *SyscallNoError functions to a separate file
  Same as CL 34379, SyscallNoError and RawSyscallNoError are redeclared
  for gccgo builds since CL 85756. Thus, move the declarations to a gc
  specific file.

And this fix is included in golang-golang-x-sys

  golang-golang-x-sys (0.0~git20180224.f6cff07-1) unstable; urgency=medium
    * New upstream version, which has gccgo redeclared *SyscallNoError
      functions moved to a separate file and avoids build error with gccgo-8.
      Many thanks to Shengjing Zhu for the detailed report. (Closes: #891894)
   -- Anthony Fok <>  Thu, 01 Mar 2018 23:43:02 -0700

Many thanks!

** Affects: golang-golang-x-sys (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  Freeze exception: Please sync golang-golang-x-sys
  0.0~git20180224.f6cff07-1 from Debian unstable

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to