Skip to content

Instantly share code, notes, and snippets.

@Althorion
Created June 29, 2020 08:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Althorion/48676c681cab0c78c3fc0eb8c39db44e to your computer and use it in GitHub Desktop.
Save Althorion/48676c681cab0c78c3fc0eb8c39db44e to your computer and use it in GitHub Desktop.
* Package: dev-lang/python-3.9.0_beta3-r1
* Repository: lto-overlay
* Maintainer: python@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc gdbm ipv6 kernel_linux ncurses readline ssl userland_GNU xml
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* /etc/portage/package.cflags/ltoworkarounds.conf -> dev-lang/python: *FLAGS+='-fno-finite-math-only' # instrumentation tests hang/segfault during emerge
* /etc/portage/package.cflags/ltoworkarounds.conf -> dev-lang/python: *FLAGS-="-mtls-dialect=gnu2"
* FEATURES='sfperms binpkg-logs userfetch merge-sync usersandbox protect-owned cgroup strict unknown-features-warn binpkg-dostrip fixlafiles network-sandbox preserve-libs ebuild-locks multilib-strict news binpkg-docompress parallel-install pid-sandbox candy userpriv ipc-sandbox sandbox qa-unresolved-soname-deps unmerge-orphans parallel-fetch xattr unmerge-logs usersync distlocks assume-digests config-protect-if-modified'
* CFLAGS='-O3 -march=native -pipe -fno-finite-math-only -Wl,-O1 -Wl,--as-needed'
* CXXFLAGS='-O3 -march=native -pipe -fno-finite-math-only -Wl,-O1 -Wl,--as-needed'
* FFLAGS='-O3 -march=native -pipe -fno-finite-math-only -Wl,-O1 -Wl,--as-needed'
* FCFLAGS='-O3 -march=native -pipe -fno-finite-math-only -Wl,-O1 -Wl,--as-needed'
* F77FLAGS='-O3 -march=native -pipe -fno-finite-math-only -Wl,-O1 -Wl,--as-needed'
* LDFLAGS='-Wl,-O1 -Wl,--as-needed'
* MAKEOPTS='-j32'
* gcc (Gentoo 10.1.0-r1 p2) 10.1.0
* g++ (Gentoo 10.1.0-r1 p2) 10.1.0
* GNU ld (Gentoo 2.33.1 p2) 2.33.1
* Linux ripper 5.7.6 #1 SMP PREEMPT Thu Jun 25 18:55:31 -00 2020 x86_64 AMD Ryzen Threadripper 1950X 16-Core Processor AuthenticAMD GNU/Linux
dev-lang/python: 1 minute, 52 seconds average for 8 merges
2020-06-27T11:45:06 >>> dev-lang/python: 1 minute, 38 seconds
2020-06-27T12:30:02 >>> dev-lang/python: 2 minutes, 11 seconds
2020-06-27T12:32:13 >>> dev-lang/python: 1 minute, 40 seconds
2020-06-27T12:35:56 >>> dev-lang/python: 1 minute, 39 seconds
2020-06-27T13:42:35 >>> dev-lang/python: 1 minute, 38 seconds
2020-06-29T09:52:21 >>> dev-lang/python: 2 minutes, 26 seconds
2020-06-29T09:54:47 >>> dev-lang/python: 1 minute, 54 seconds
2020-06-29T09:57:52 >>> dev-lang/python: 1 minute, 53 seconds
]0;emerge 10:01:09 198|325 python 02:04 (root@ripper)>>> Unpacking source...
>>> Unpacking Python-3.9.0b3.tar.xz to /var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work
>>> Unpacking python-gentoo-patches-3.9.0_alpha6.tar.xz to /var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work
>>> Source unpacked in /var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work
>>> Preparing source in /var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work/Python-3.9.0b3 ...
* Applying patches from /var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work/python-gentoo-patches-3.9.0_alpha6 ...
* 0001-Install-libpythonX.Y.a-in-usr-lib-instead-of-usr-lib.patch ...
[ ok ]
* 0002-Disable-modules-and-SSL.patch ...
[ ok ]
* 0003-Override-libdir.patch ...
[ ok ]
* 0004-setup.py-exit-with-non-zero-status-on-failure.patch ...
patching file setup.py
Hunk #2 succeeded at 541 with fuzz 1 (offset 47 lines).
Hunk #3 succeeded at 552 (offset 47 lines).
Hunk #4 succeeded at 2624 (offset 132 lines).
[ ok ]
* 0005-Improve-distutils-C-support.patch ...
[ ok ]
* 0006-Disable-nis.patch ...
[ ok ]
* 0007-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch ...
[ ok ]
* 0008-Install-shared-libs-in-LIBDEST.patch ...
patching file Makefile.pre.in
Hunk #1 FAILED at 148.
Hunk #3 succeeded at 1257 (offset 23 lines).
1 out of 3 hunks FAILED -- saving rejects to file Makefile.pre.in.rej
[ !! ]
* ERROR: dev-lang/python-3.9.0_beta3-r1::lto-overlay failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work/python-gentoo-patches-3.9.0_alpha6/0008-Install-shared-libs-in-LIBDEST.patch
*
* Call stack:
* ebuild.sh, line 125: Called src_prepare
* environment, line 4336: Called default
* phase-functions.sh, line 855: Called default_src_prepare
* phase-functions.sh, line 920: Called __eapi6_src_prepare
* environment, line 1440: Called eapply '/var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work/python-gentoo-patches-3.9.0_alpha6'
* environment, line 2632: Called _eapply_patch '/var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work/python-gentoo-patches-3.9.0_alpha6/0008-Install-shared-libs-in-LIBDEST.patch' ' '
* environment, line 2574: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work/python-gentoo-patches-3.9.0_alpha6/0008-Install-shared-libs-in-LIBDEST.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=dev-lang/python-3.9.0_beta3-r1::lto-overlay'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-3.9.0_beta3-r1::lto-overlay'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work/Python-3.9.0b3'
* S: '/var/tmp/portage/dev-lang/python-3.9.0_beta3-r1/work/Python-3.9.0b3'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment