Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865879 - sys-devel/gcc-10.4.0[go] - gccgo: fatal error: no input files (error: redeclaration of ‘enum fsconfig_command’)
Summary: sys-devel/gcc-10.4.0[go] - gccgo: fatal error: no input files (error: redecla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard: fixed in stable
Keywords: PATCH
Depends on:
Blocks: glibc-2.36
  Show dependency tree
 
Reported: 2022-08-20 14:12 UTC by Toralf Förster
Modified: 2023-01-23 02:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.83 KB, text/plain)
2022-08-20 14:12 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,70.17 KB, application/x-bzip)
2022-08-20 14:12 UTC, Toralf Förster
Details
environment (environment,137.81 KB, text/plain)
2022-08-20 14:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.98 KB, application/x-bzip)
2022-08-20 14:12 UTC, Toralf Förster
Details
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,679.48 KB, application/x-bzip)
2022-08-20 14:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,320.47 KB, application/x-bzip)
2022-08-20 14:12 UTC, Toralf Förster
Details
sys-devel:gcc-10.4.0:20220820-081334.log.bz2 (sys-devel:gcc-10.4.0:20220820-081334.log.bz2,431.09 KB, application/x-bzip)
2022-08-20 14:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,460.14 KB, application/x-bzip)
2022-08-20 14:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-20 14:12:16 UTC
too long lines were shrinked:

make[4]: Leaving directory '/var/tmp/portage/sys-devel/gcc-10.4.0/work/build/x86_64-pc-linux-gnu/libgo'
make[4]: Entering directory '/var/tmp/portage/sys-devel/gcc-10.4.0/work/build/x86_64-pc-linux-gnu/libgo'
/bin/mkdir -p .; files=`echo  | sed -e 's/[^ ]*\.gox//g' -e 's/[^ ]*\.dep//'`; /bin/bash ./libtool --tag GO --mode=compile /var/tmp/portage/sys-devel/gcc-10.4.0/work/build/./gcc/gccgo -B/var/tmp/portage/sys-devel/gcc-10.4.0/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu
libtool: compile:  /var/tmp/portage/sys-devel/gcc-10.4.0/work/build/./gcc/gccgo -B/var/tmp/portage/sys-devel/gcc-10.4.0/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -fchecking
gccgo: fatal error: no input files
compilation terminated.
make[4]: *** [Makefile:2865: runtime.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220816-100010

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
1)	OpenJDK 11.0.15_p10 [openjdk-11]
2)	OpenJDK 17.0.3_p7 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-11 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit 68e1f804834462149a91a0aaba57dcb9305e24bd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 20 07:46:50 2022 +0000

    2022-08-20 07:46:50 UTC

emerge -qpvO sys-devel/gcc
[ebuild   R   ] sys-devel/gcc-12.2.0  USE="(cxx) fortran go graphite jit (multilib) nls nptl openmp (pie) sanitize ssp vtv zstd (-ada) (-cet) (-custom-cflags) -d -debug -doc (-fixed-point) (-hardened) (-libssp) -lto -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test (-valgrind) -vanilla"
Comment 1 Toralf Förster gentoo-dev 2022-08-20 14:12:17 UTC
Created attachment 800259 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-20 14:12:18 UTC
Created attachment 800261 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-08-20 14:12:19 UTC
Created attachment 800263 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-20 14:12:21 UTC
Created attachment 800265 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-20 14:12:22 UTC
Created attachment 800267 [details]
gcc-build-logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-20 14:12:24 UTC
Created attachment 800269 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-08-20 14:12:26 UTC
Created attachment 800271 [details]
sys-devel:gcc-10.4.0:20220820-081334.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-08-20 14:12:28 UTC
Created attachment 800273 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-20 23:59:44 UTC
                 from /var/tmp/portage/sys-devel/gcc-10.4.0/work/gcc-10.4.0/libgo/sysinfo.c:154:
/usr/include/linux/mount.h:95:6: error: redeclaration of ‘enum fsconfig_command’
   95 | enum fsconfig_command {
      |      ^~~~~~~~~~~~~~~~
Comment 11 Larry the Git Cow gentoo-dev 2022-08-22 01:41:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2f4e420da5afb22c05c56434a4d6a59050d7c4

commit 8a2f4e420da5afb22c05c56434a4d6a59050d7c4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-22 01:26:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-22 01:27:39 +0000

    sys-devel/gcc: fix glibc-2.36 build for Go too for 10.4.0
    
    Bug: https://bugs.gentoo.org/865879
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                          |  1 +
 sys-devel/gcc/files/gcc-10.4.0-glibc-2.36.patch | 39 -------------------------
 sys-devel/gcc/gcc-10.4.0.ebuild                 |  6 ++--
 3 files changed, 3 insertions(+), 43 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c1f635b4bb5b309af50879719dde4b5c5170c3

commit 49c1f635b4bb5b309af50879719dde4b5c5170c3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-22 01:19:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-22 01:27:24 +0000

    sys-devel/gcc: fix glibc-2.36 build for Go too for 11.3.0
    
    Bug: https://bugs.gentoo.org/865879
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                          |  4 +--
 sys-devel/gcc/files/gcc-11.3.0-glibc-2.36.patch | 41 -------------------------
 sys-devel/gcc/gcc-11.3.0.ebuild                 | 10 ++----
 3 files changed, 4 insertions(+), 51 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2022-08-22 01:41:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f53592f738b4807ef29bc08e316445bc26dee055

commit f53592f738b4807ef29bc08e316445bc26dee055
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-22 01:22:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-22 01:41:31 +0000

    10.4.0: add glibc-2.36 patches
    
    Bug: https://bugs.gentoo.org/865879
    Bug: https://bugs.gentoo.org/864717
    Signed-off-by: Sam James <sam@gentoo.org>

 10.4.0/gentoo/75_all_glibc_236.patch | 68 ++++++++++++++++++++++++++++++++++++
 10.4.0/gentoo/README.history         |  5 ++-
 2 files changed, 72 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=776eb259d04acdd0bbc24a606f08b72b61c2c653

commit 776eb259d04acdd0bbc24a606f08b72b61c2c653
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-22 01:17:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-22 01:41:31 +0000

    11.3.0: fix 20_all_libstdcxx-no-vtv.patch, update 77_all_glibc_236.patch
    
    - fix 20_all_libstdcxx-no-vtv.patch (accidentally copied 11.4.0 patch before)
    - update 77_all_glibc_236.patch to contain Go fix too
    
    Bug: https://bugs.gentoo.org/865879
    Signed-off-by: Sam James <sam@gentoo.org>

 11.3.0/gentoo/20_all_libstdcxx-no-vtv.patch | 24 ++++++++++++------------
 11.3.0/gentoo/77_all_glibc_236.patch        | 29 +++++++++++++++++++++++++++++
 11.3.0/gentoo/README.history                |  2 +-
 3 files changed, 42 insertions(+), 13 deletions(-)
Comment 13 Larry the Git Cow gentoo-dev 2022-10-01 04:24:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=6fb906ef2da01327d64cea263887ef34c97c1bbf

commit 6fb906ef2da01327d64cea263887ef34c97c1bbf
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-09-18 07:15:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-30 00:13:22 +0000

    10.3.0: backport glibc 2.36, gettext/msgfmt patch from 10.4.0
    
    Bug: https://bugs.gentoo.org/295480
    Bug: https://bugs.gentoo.org/372377
    Bug: https://bugs.gentoo.org/843119
    Bug: https://bugs.gentoo.org/864717
    Bug: https://bugs.gentoo.org/865879
    Closes: https://github.com/gentoo/gcc-patches/pull/2
    Signed-off-by: Sam James <sam@gentoo.org>

 10.3.0/gentoo/36_all_msgfmt-libstdc++-link.patch | 39 ++++++++++++++
 10.3.0/gentoo/37_all_glibc_236.patch             | 68 ++++++++++++++++++++++++
 10.3.0/gentoo/README.history                     |  4 ++
 3 files changed, 111 insertions(+)