Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707060 - sys-kernel/gentoo-sources-5.5.0 : Failed to dry-run patch 5011_enable-cpu-optimizations-for-gcc8.patch
Summary: sys-kernel/gentoo-sources-5.5.0 : Failed to dry-run patch 5011_enable-cpu-opt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: gentoo-sources-5.5.1
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-29 06:04 UTC by Emilian Huminiuc
Modified: 2020-02-09 21:05 UTC (History)
0 users

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


Attachments
5011_enable-cpu-optimizations-for-gcc8.err (5011_enable-cpu-optimizations-for-gcc8.err,18.05 KB, text/plain)
2020-01-29 06:05 UTC, Emilian Huminiuc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emilian Huminiuc 2020-01-29 06:04:32 UTC
sys-kernel/gentoo-sources-5.5.0 with USE="experimental" fails in the unpack phase.

Reproducible: Always




>>> Emerging (1 of 1) sys-kernel/gentoo-sources-5.5.0::gentoo
 * linux-5.5.tar.xz BLAKE2B SHA512 size ;-) ...                                                                 [ ok ]
 * genpatches-5.5-1.base.tar.xz BLAKE2B SHA512 size ;-) ...                                                     [ ok ]
 * genpatches-5.5-1.extras.tar.xz BLAKE2B SHA512 size ;-) ...                                                   [ ok ]
 * genpatches-5.5-1.experimental.tar.xz BLAKE2B SHA512 size ;-) ...                                             [ ok ]
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-5.5.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/work
>>> Unpacking genpatches-5.5-1.base.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/work/patches
>>> Unpacking genpatches-5.5-1.extras.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/work/patches
>>> Unpacking genpatches-5.5-1.experimental.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/work/patches
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc.patch ...                                  [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch ...                              [ ok ]
 * Excluding Patch #5012_enable-cpu-optimizations-for-gcc91.patch ...                                           [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc.patch ...                                  [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch ...                              [ ok ]
 * Excluding Patch #5012_enable-cpu-optimizations-for-gcc91.patch ...                                           [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc.patch ...                                  [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch ...                              [ ok ]
 * Excluding Patch #5012_enable-cpu-optimizations-for-gcc91.patch ...                                           [ ok ]
 * Applying 1500_XATTR_USER_PREFIX.patch (-p1) ...                                                              [ ok ]
 * Applying 1510_fs-enable-link-security-restrictions-by-default.patch (-p1) ...                                [ ok ]
 * Applying 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch (-p1) ...                       [ ok ]
 * Applying 2600_enable-key-swapping-for-apple-mac.patch (-p1) ...                                              [ ok ]
 * Applying 4567_distro-Gentoo-Kconfig.patch (-p1) ...                                                          [ ok ]
 * Failed to dry-run patch 5011_enable-cpu-optimizations-for-gcc8.patch
 * Please attach /var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/temp/5011_enable-cpu-optimizations-for-gcc8.err to any bug you may post.
 * ERROR: sys-kernel/gentoo-sources-5.5.0::gentoo failed (unpack phase):
 *   Unable to dry-run patch on any patch depth lower than 5.
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_unpack
 *   environment, line 1914:  Called kernel-2_src_unpack
 *   environment, line 1535:  Called unipatch '  /var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/distdir/genpatches-5.5-1.base.tar.xz /var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/distdir/genpatches-5.5-1.extras.tar.xz /var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/distdir/genpatches-5.5-1.experimental.tar.xz '
 *   environment, line 2793:  Called die
 * The specific snippet of code:
 *                   die "Unable to dry-run patch on any patch depth lower than 5.";
 * 
 * If you need support, post the output of `emerge --info '=sys-kernel/gentoo-sources-5.5.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-sources-5.5.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-kernel:gentoo-sources-5.5.0:20200129-055759.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/work/linux-5.5.0-gentoo'
 * S: '/var/tmp/portage/sys-kernel/gentoo-sources-5.5.0/work/linux-5.5.0-gentoo'
Comment 1 Emilian Huminiuc 2020-01-29 06:05:46 UTC
Created attachment 607308 [details]
5011_enable-cpu-optimizations-for-gcc8.err
Comment 2 Mike Pagano gentoo-dev 2020-01-29 13:05:58 UTC
Can you please give us the output of:

emerge --info
Comment 3 Emilian Huminiuc 2020-01-29 14:21:44 UTC
Portage 2.3.86 (python 3.6.9-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.30-r2, 5.4.15-gentooSGT x86_64)
=================================================================
System uname: Linux-5.4.15-gentooSGT-x86_64-AMD_FX-8370_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    24599220 total,   2555476 free
KiB Swap:    7340028 total,   7338492 free
Timestamp of repository gentoo: Wed, 29 Jan 2020 05:45:01 +0000
Head commit of repository gentoo: d3a241f1573901bf35294874e501be1b62a89cf0
Head commit of repository kwin-lowlatency-overlay: 8db028d483e7a27c5494cab6a8784bc956f4994f

sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
ccache version 3.7.7 [enabled]
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.5.9::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/ccache:          3.7.7::gentoo
dev-util/cmake:           3.16.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.6.3-r2::gentoo, 1.9.6-r5::gentoo, 1.10.3-r3::gentoo, 1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo, 2.30-r3::gentoo, 2.31.1-r4::gentoo, 2.32-r1::gentoo, 2.33.1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no

myoverlay
    location: /var/portage
    masters: gentoo

cg
    location: /usr/local/portage/layman/cg
    sync-type: laymansync
    sync-uri: https://github.com/brothermechanic/cg.git
    masters: gentoo
    priority: 50

dotnet
    location: /usr/local/portage/layman/dotnet
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/dotnet.git
    masters: gentoo
    priority: 50

dr
    location: /usr/local/portage/layman/dr
    sync-type: laymansync
    sync-uri: git://github.com/cerebrum/dr.git
    masters: gentoo
    priority: 50

enlightenment
    location: /usr/local/portage/layman/enlightenment
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/enlightenment.git
    masters: gentoo
    priority: 50

gamerlay
    location: /usr/local/portage/layman/gamerlay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gamerlay.git
    masters: gentoo
    priority: 50

jorgicio
    location: /usr/local/portage/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

kde
    location: /usr/local/portage/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mva
    location: /usr/local/portage/layman/mva
    sync-type: laymansync
    sync-uri: git://github.com/msva/mva-overlay
    masters: gentoo
    priority: 50

qt
    location: /usr/local/portage/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

voyageur
    location: /usr/local/portage/layman/voyageur
    sync-type: laymansync
    sync-uri: https://cafarelli.fr/git/voyageur-overlay/
    masters: gentoo
    priority: 50

betagarden
    location: /usr/local/portage/layman/betagarden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/betagarden.git
    masters: gentoo
    priority: 51

blueness
    location: /usr/local/portage/layman/blueness
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/dev/blueness.git
    masters: gentoo
    priority: 51

mistafunk
    location: /usr/local/portage/layman/mistafunk
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/mistafunk.git
    masters: gentoo
    priority: 51

nikai
    location: /usr/local/portage/layman/nikai
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/nikai.git
    masters: gentoo
    priority: 51

science
    location: /usr/local/portage/layman/science
    sync-type: laymansync
    sync-uri: git://github.com/gentoo-science/sci.git
    masters: gentoo
    priority: 99

kwin-lowlatency-overlay
    location: /usr/local/portage/kwin-lowlatency-overlay
    sync-type: git
    sync-uri: https://github.com/agates/kwin-lowlatency-overlay.git
    masters: gentoo
    priority: 9999

Installed sets: @apexctl-deps, @kde-baseapps-local-19.12, @kde-frameworks-local-5.66, @kde-plasma-local-5.17, @kdeapps-loc-19.12, @kdenetwork-local-19.12, @kdepim-19.12, @qt-split, @qt5-split, @system, @x11-split, @x11drivers-rebuild
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --autounmask=n --ignore-built-slot-operator-deps=y --load-average=6"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.linux.ro/gentoo/ http://mirrors.linux.ro/gentoo/ ftp://gentoo.lagis.at/ http://gentoo.lagis.at/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en en_GB en_US ro"
MAKEOPTS="-j8 -l6"
PKGDIR="/var/bin-pkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac acl activities alsa amd64 audiofile bash-completion berkdb binary-drivers branding bzip2 cdda cddb cli consolekit crypt cups curl custom-cflags custom-cxxflags cxx dbus djvu dmi dri dts dvd dvdr encode exif ffmpeg flac fontconfig fortran gdbm gif gimpprint gpm gtk2 hdri heif htmlhandbook iconv imagemagick inotify iproute2 ipv6 jbig jp2 jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdexdeltas lame lcms libtirpc lilo lm_sensors lzma mime mjpeg mmx mng mp3 mp4 mpeg multilib mysql ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis openal openexr opengl openmp opus pch pcre pdflib perl phonon pic png policykit python qml qt qt-copy qt3support qt5 quicktime readline real sdl seccomp smp spell split-usr sse sse2 sse3 ssl stream svg tcpd threads tiff transparency truetype udev unicode usb vdpau visualization vorbis webkit wmf x264 xattr xcb xcomposite xinerama xml xosd xscreensaver xv xvid zip zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="emu10k1" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="directory ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse joystick evdev wacom" KERNEL="linux" L10N="en en-GB en-US ro" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport" LLVM_TARGETS="BPF NVPTX" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby24" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="geforce nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Mike Pagano gentoo-dev 2020-01-29 23:05:29 UTC
Thanks for reporting.  This patch is not compatible with gcc8 and linux 5.5.

It's removed now and won't be in the next release of gentoo-sources (5.5.1)

commit edf16b8e6864aa65b0822db040e0c1a56f8cc907 (HEAD -> 5.5, origin/5.5)
Author: Mike Pagano <mpagano@gentoo.org>
Date:   Wed Jan 29 18:03:08 2020 -0500

    Remove incompatible patch for the combo of kernel 5.5.X and gcc 8
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>