InBetweenNames / gentooLTO

A Gentoo Portage configuration for building with -O3, Graphite, and LTO optimizations
GNU General Public License v2.0
569 stars 96 forks source link

app-arch/zstd fails to apply patch #637

Open jpds opened 4 years ago

jpds commented 4 years ago

Got this in a @world build today:

>>> Emerging (1 of 1) app-arch/zstd-1.4.4-r4::gentoo                                                                                                                                          
 * zstd-1.4.4.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                                                                                     [ ok ]
 * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox 
usersync xattr'                                                    
 * CFLAGS='-march=native -mtune=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe -Wl,-O1 -Wl,--as-needed'
 * CXXFLAGS='-march=native -mtune=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe -Wl,-O1 -Wl,--as-needed'
 * FFLAGS='-march=native -mtune=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe -Wl,-O1 -Wl,--as-needed'
 * FCFLAGS='-march=native -mtune=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe -Wl,-O1 -Wl,--as-needed'
 * F77FLAGS='-march=native -mtune=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe -Wl,-O1 -Wl,--as-needed'
 * LDFLAGS='-Wl,-O1 -Wl,--as-needed -march=native -mtune=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -pipe'
 * MAKEOPTS='-j8'               
 * gcc (Gentoo 10.2.0-r3 p4) 10.2.0
 * g++ (Gentoo 10.2.0-r3 p4) 10.2.0                                                                                                                                                                                                                                                                                                                                                         
 * GNU ld (Gentoo 2.34 p6) 2.34.0                               
 * Linux host 5.9.3 #1 SMP Sun Nov 1 23:17:11 -00 2020 x86_64 Intel(R) Core(TM) i7-4785T CPU @ 2.20GHz GenuineIntel GNU/Linux          
>>> Unpacking source...
>>> Unpacking zstd-1.4.4.tar.gz to /var/tmp/portage/app-arch/zstd-1.4.4-r4/work
>>> Source unpacked in /var/tmp/portage/app-arch/zstd-1.4.4-r4/work   
 * Applying zstd-1.4.5-multi-thread-default.patch ...              
patching file programs/zstdcli.c                                                           
Hunk #1 succeeded at 624 with fuzz 1 (offset -71 lines).                   
patching file programs/README.md                                                
Hunk #1 FAILED at 168.                                 
1 out of 1 hunk FAILED -- saving rejects to file programs/README.md.rej                                                                                                                       
patching file programs/zstdcli.c                                                                                                                                                              
Hunk #1 FAILED at 160.                                                                                                                                                                                                                                                                                                                                                                      
1 out of 1 hunk FAILED -- saving rejects to file programs/zstdcli.c.rej                                                                                                                                                                                                                                                                                                              [ !! ]
 * ERROR: app-arch/zstd-1.4.4-r4::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/lib/layman/lto-overlay/sys-config/ltoize/files/patches/app-arch/zstd/zstd-1.4.5-multi-thread-default.patch
 * 
 * Call stack:                                                                               
 *               ebuild.sh, line  762:  Called __ebuild_main 'prepare'                      
 *      phase-functions.sh, line  970:  Called __source_all_bashrcs                                                                                                                           
 *               ebuild.sh, line  409:  Called __try_source '--no-qa' '/etc/portage/bashrc'                                                                                                   
 *               ebuild.sh, line  458:  Called source '/etc/portage/bashrc'    
 *                  bashrc, line    6:  Called BashrcdMain '/etc/portage/bashrc'
 *             environment, line  597:  Called LTOPatch
 *             environment, line 1264:  Called eapply '/var/lib/layman/lto-overlay/sys-config/ltoize/files/patches/app-arch/zstd/zstd-1.4.5-multi-thread-default.patch'
 *             environment, line 1811:  Called _eapply_patch '/var/lib/layman/lto-overlay/sys-config/ltoize/files/patches/app-arch/zstd/zstd-1.4.5-multi-thread-default.patch'
 *             environment, line 1749:  Called __helpers_die 'patch -p1  failed with /var/lib/layman/lto-overlay/sys-config/ltoize/files/patches/app-arch/zstd/zstd-1.4.5-multi-thread-default.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:               
 *              die "$@"
 *                                                              
 * If you need support, post the output of `emerge --info '=app-arch/zstd-1.4.4-r4::gentoo'`,                                                                                                 
 * the complete build log and the output of `emerge -pqv '=app-arch/zstd-1.4.4-r4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-arch/zstd-1.4.4-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/zstd-1.4.4-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/app-arch/zstd-1.4.4-r4/work/zstd-1.4.4'
 * S: '/var/tmp/portage/app-arch/zstd-1.4.4-r4/work/zstd-1.4.4'                            

>>> Failed to emerge app-arch/zstd-1.4.4-r4, Log file:
telans commented 4 years ago

600

Use testing packages