Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 835408

Summary: net-p2p/syncthing-1.19.1 - build failed
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: info, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 835378    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
net-p2p:syncthing-1.19.1:20220315-212912.log.bz2

Description Toralf Förster gentoo-dev 2022-03-16 08:21:54 UTC
cp $WORK/b116/_pkg_.a /var/tmp/portage/net-p2p/syncthing-1.19.1/temp/go-build/d6/d6325db2476a9cc3d78080f6958593ad3baa4cec05403153bfcfcf90a6f5c34c-d # internal
exit status 2
exit status 1
 * ERROR: net-p2p/syncthing-1.19.1::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4-20220312-170016

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
  [3]   ruby31 (with Rubygems)
Available Rust versions:
  [1]   rust-1.59.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 

php cli:

  HEAD of ::gentoo
commit fb35a8c3b532f9e1857f985e6d1007df29a8c660
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 15 20:34:34 2022 +0000

    2022-03-15 20:34:32 UTC

emerge -qpvO net-p2p/syncthing
[ebuild  N    ] net-p2p/syncthing-1.19.1  USE="(-selinux) -tools"
Comment 1 Toralf Förster gentoo-dev 2022-03-16 08:21:55 UTC
Created attachment 767143 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-16 08:21:56 UTC
Created attachment 767144 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-03-16 08:21:57 UTC
Created attachment 767145 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-16 08:22:00 UTC
Created attachment 767146 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-16 08:22:01 UTC
Created attachment 767147 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-16 08:22:02 UTC
Created attachment 767148 [details]
net-p2p:syncthing-1.19.1:20220315-212912.log.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-03-22 13:32:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b0938cd21260c36e55f33b45f044c3e6c0edaf

commit 67b0938cd21260c36e55f33b45f044c3e6c0edaf
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-03-22 13:30:49 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-03-22 13:32:47 +0000

    net-p2p/syncthing: bdepend on <dev-lang/go-1.18
    
    1.18 is not presently supported upstream, causes build failures.
    
    Bug: https://bugs.gentoo.org/835408
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-p2p/syncthing/syncthing-1.18.5.ebuild | 2 ++
 net-p2p/syncthing/syncthing-1.19.1.ebuild | 2 ++
 2 files changed, 4 insertions(+)
Comment 8 Alex Xu (Hello71) 2022-03-25 23:46:04 UTC
>     1.18 is not presently supported upstream, causes build failures.

syncthing built fine on alpine linux with go 1.18, and https://github.com/syncthing/syncthing/commit/e40289ce7a8d33b2c9933d363fab6e17f5abbe5f claims that it fixes go 1.18 and is included in syncthing 1.19. the problem is the gentoo vendored libraries are old and don't work with go 1.18. building without those vendored libraries works fine on my gentoo machine with go 1.18, unpacking the vendor tarball makes it fail with the qtls-go1-18 issue.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-04 08:21:21 UTC
Ping. No new release yet upstream and running with an outdated dep tarball isn't going to be supported anyway.
Comment 10 Larry the Git Cow gentoo-dev 2022-04-06 21:44:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7010fce8b8c852a3e3860baf8427a4d8022a4e23

commit 7010fce8b8c852a3e3860baf8427a4d8022a4e23
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-04-06 21:43:40 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-04-06 21:44:33 +0000

    net-p2p/syncthing: add 1.19.2
    
    Closes: https://bugs.gentoo.org/835408
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-p2p/syncthing/Manifest                |   2 +
 net-p2p/syncthing/syncthing-1.19.2.ebuild | 103 ++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)