Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781713 - sys-devel/gcc-10.3.0 - emerge fine but exits with an non-exit-code
Summary: sys-devel/gcc-10.3.0 - emerge fine but exits with an non-exit-code
Status: RESOLVED DUPLICATE of bug 781854
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-09 07:10 UTC by Toralf Förster
Modified: 2021-04-10 07:10 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.09 KB, text/plain)
2021-04-09 07:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,322.66 KB, text/plain)
2021-04-09 07:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.11 KB, application/x-bzip)
2021-04-09 07:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,415.29 KB, application/x-bzip)
2021-04-09 07:10 UTC, Toralf Förster
Details
sys-devel:gcc-10.3.0:20210408-203859.log.bz2 (sys-devel:gcc-10.3.0:20210408-203859.log.bz2,275.74 KB, application/x-bzip)
2021-04-09 07:10 UTC, Toralf Förster
Details
task.log.bz2 (task.log.bz2,276.48 KB, application/x-bzip)
2021-04-09 07:26 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 2021-04-09 07:10:24 UTC
echo timestamp > stamp-pb
echo timestamp > stamp-host
make[3]: [Makefile:1735: x86_64-pc-linux-gnu/bits/largefile-config.h] Error 1 (ignored)
make[3]: [Makefile:1736: x86_64-pc-linux-gnu/bits/largefile-config.h] Error 1 (ignored)
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210401-181817

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-10.3.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr  8 20:20:07 UTC 2021

emerge -qpvO sys-devel/gcc
[ebuild     U ] sys-devel/gcc-10.3.0 [10.2.0-r5] USE="(cxx) hardened nls nptl openmp (pie) sanitize (ssp) (-ada) -d -debug -doc (-fixed-point) -fortran -go -graphite -jit (-libssp) -lto (-multilib) -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -vanilla -vtv -zstd"
Comment 1 Toralf Förster gentoo-dev 2021-04-09 07:10:25 UTC
Created attachment 698775 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-09 07:10:27 UTC
Created attachment 698778 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-09 07:10:29 UTC
Created attachment 698781 [details]
etc.portage.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2021-04-09 07:10:30 UTC
Created attachment 698784 [details]
logs.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-09 07:10:32 UTC
Created attachment 698787 [details]
sys-devel:gcc-10.3.0:20210408-203859.log.bz2
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-09 07:24:21 UTC
(In reply to Toralf Förster from comment #5)
> Created attachment 698787 [details]
> sys-devel:gcc-10.3.0:20210408-203859.log.bz2

Unfortunately the build.log contains no error:

> >>> Safely unmerging already-installed instance...

we need to somehow extract it. Maybe by running emerge in a wrapped mode when full session is logged:
    # emerge -v1 gcc >log 2>err
Or something like that.
Comment 7 Toralf Förster gentoo-dev 2021-04-09 07:26:01 UTC
Created attachment 698811 [details]
task.log.bz2

for completeness the whole emerge.log
Comment 8 Ulenrich 2021-04-09 22:55:10 UTC
Isn't this like https://bugs.gentoo.org/781854#c10
because @Toralf also uses:
PORTAGE_LOG_FILTER_FILE_CMD="ansifilter --ignore-clear"

Instead @Zac supposes in #781854 to use bash as supervisor, 
like:
PORTAGE_LOG_FILTER_FILE_CMD="bash -c \"ansifilter --ignore-clear; exec cat\""
Comment 9 Toralf Förster gentoo-dev 2021-04-10 07:10:18 UTC
indeed

*** This bug has been marked as a duplicate of bug 781854 ***