Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567340 - sys-apps/busybox-1.24.1 Failed Patch: busybox-1.24.1-unzip-regression.patch
Summary: sys-apps/busybox-1.24.1 Failed Patch: busybox-1.24.1-unzip-regression.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 567346 567390 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-02 15:05 UTC by Frank Krömmelbein
Modified: 2015-12-07 01:39 UTC (History)
3 users (show)

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


Attachments
busybox-1.24.1-unzip-regression.patch.out (busybox-1.24.1-unzip-regression.patch.out,8.23 KB, text/plain)
2015-12-02 15:07 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2015-12-02 15:05:19 UTC
emerge -pv1 busybox

[ebuild     U  ] sys-apps/busybox-1.24.1::gentoo [1.23.1-r1::gentoo] USE="ipv6 static -debug -livecd -make-symlinks -math -mdev -pam -savedconfig (-selinux) -sep-usr -syslog -systemd" 0 KiB


>>> Emerging (1 of 1) sys-apps/busybox-1.24.1::gentoo
 * busybox-1.24.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking busybox-1.24.1.tar.bz2 to /var/tmp/portage/sys-apps/busybox-1.24.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/busybox-1.24.1/work
>>> Preparing source in /var/tmp/portage/sys-apps/busybox-1.24.1/work/busybox-1.24.1 ...
 * Applying busybox-1.19.0-bb.patch ...                                                                                                                            [ ok ]
 * Applying busybox-1.24.1-trylink-ldflags.patch ...                                                                                                               [ ok ]
 * Applying busybox-1.24.1-unzip-regression.patch ...

 * Failed Patch: busybox-1.24.1-unzip-regression.patch !



Reproducible: Always
Comment 1 Frank Krömmelbein 2015-12-02 15:05:29 UTC
emerge --info 
Portage 2.2.20.1 (python 2.7.10-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.21-r1, 4.1.7-hardened-r1 x86_64)
=================================================================
System uname: Linux-4.1.7-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:    20536688 total,  13379912 free
KiB Swap:          0 total,         0 free
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 0

mylocal
    location: /usr/local/portage
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.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-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/sdb1/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacs acl acpi alsa amd64 amr berkdb bluetooth bluray btrfs bzip2 cdda cddb cec chipcard cli consolekit cracklib crypt cryptsetup css cups cxx dbus device-mapper dmraid dri dts dvb dvd ebook encode exif ext4 f2fs faac fat ffmpeg flac fuse gdbm geoip gif gimp gpg gphoto2 gpm hardened hbci http2 iconv id3tag infinality ipv6 jfs joystick jpeg justify kde ladspa lame lcms libsamplerate lirc lm_sensors lvm lz4 lzma mad matroska mdadm mjpeg mmx mmxext mng modemmanager modules mp3 mpeg mtp multilib mysql ncurses networkmanager nfs nls nptl ntfs ogg opencl opengl openmp opus pam pax_kernel pcre pdf pie png policykit postscript ppp pvr qml qt3support qt4 qt5 rar raw rdesktop rdp readline reiser4 reiserfs samba scanner seccomp session smartcard smp sndfile sox squashfs sse sse2 ssl ssp svg tcpd tiff truetype twolame udev unicode upnp urandom usb v4l vaapi vcd vdpau vnc vorbis vpx wifi wps x264 x265 xattr xcb xfs xinerama xtpax xv xvid xvmc zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard joystick mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="de en" LIRC_DEVICES="all" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel virtualbox fbdev vesa nouveau 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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Frank Krömmelbein 2015-12-02 15:07:56 UTC
Created attachment 418370 [details]
busybox-1.24.1-unzip-regression.patch.out
Comment 3 Agostino Sarubbo gentoo-dev 2015-12-02 15:20:08 UTC
your emerge --info lacks the timestamp of the tree.

I synced now and it works for me. Try to sync and emerge again.
Comment 4 Agostino Sarubbo gentoo-dev 2015-12-02 15:20:55 UTC
vh ~ # qlop -s | tail -1
Wed Dec  2 16:18:39 2015 >>> gentoo                                                                                                                                                                                                                                            
vh ~ # qlop -l | tail -1                                                                                                                                                                                                                                                       
Wed Dec  2 16:19:49 2015 >>> sys-apps/busybox-1.24.1
Comment 5 Juan Simón 2015-12-02 15:28:58 UTC
Same problem.

# emerge busybox
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-apps/busybox-1.24.1::gentoo
>>> Failed to emerge sys-apps/busybox-1.24.1, Log file:
>>>  '/var/tmp/portage/sys-apps/busybox-1.24.1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.41, 0.97, 2.17
 * Package:    sys-apps/busybox-1.24.1
 * Repository: gentoo
 * Maintainer: embedded@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux policykit static systemd userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking busybox-1.24.1.tar.bz2 to /var/tmp/portage/sys-apps/busybox-1.24.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/busybox-1.24.1/work
>>> Preparing source in /var/tmp/portage/sys-apps/busybox-1.24.1/work/busybox-1.24.1 ...
 * Applying busybox-1.19.0-bb.patch ...
 [ ok ]
 * Applying busybox-1.24.1-trylink-ldflags.patch ...
 [ ok ]
 * Applying busybox-1.24.1-unzip-regression.patch ...

 * Failed Patch: busybox-1.24.1-unzip-regression.patch !
 *  ( /usr/portage/sys-apps/busybox/files/busybox-1.24.1-unzip-regression.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-apps/busybox-1.24.1/temp/busybox-1.24.1-unzip-regression.patch.out

 * ERROR: sys-apps/busybox-1.24.1::gentoo failed (prepare phase):
 *   Failed Patch: busybox-1.24.1-unzip-regression.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 2610:  Called epatch '/usr/portage/sys-apps/busybox/files/busybox-1.24.1-trylink-ldflags.patch' '/usr/portage/sys-apps/busybox/files/busybox-1.24.1-unzip-regression.patch' '/usr/portage/sys-apps/busybox/files/busybox-1.24.1-unzip.patch'
 *   environment, line  732:  Called epatch '/usr/portage/sys-apps/busybox/files/busybox-1.24.1-unzip-regression.patch'
 *   environment, line  910:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/busybox-1.24.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/busybox-1.24.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/busybox-1.24.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/busybox-1.24.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/busybox-1.24.1/work/busybox-1.24.1'
 * S: '/var/tmp/portage/sys-apps/busybox-1.24.1/work/busybox-1.24.1'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (sys-apps/busybox-1.24.1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sys-apps/busybox-1.24.1/temp/build.log'
 * 


# qlop -s | tail -1
Wed Dec  2 16:26:22 2015 >>> gentoo

# qlop -l | tail -1
Wed Dec  2 16:11:00 2015 >>> media-video/vlc-2.2.1-r1

# emerge --info
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.21-r1, 4.3.0-040300-i7 x86_64)
=================================================================
System uname: Linux-4.3.0-040300-i7-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.2
KiB Mem:    12175908 total,   5455984 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 02 Dec 2015 14:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.uk.gentoo.org/gentoo-portage/
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -Ofast -pipe -march=native -mtune=native -w"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -O2 -pipe -Ofast -pipe -march=native -mtune=native -w"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8 --autounmask=y --autounmask-write=y --keep-going --quiet-build --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks fixlafiles merge-sync news nodoc noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-linker-plugin -O2 -pipe -Ofast -pipe -march=native -mtune=native -w"
MAKEOPTS="-j9 -s -l8"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="256-color X a52 aac acl acpi alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli cracklib crypt css cups curl cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif git glamor gmp gphoto2 gpm gsm gtk gzip hdf5 hpn iconv icu imagemagick jit jpeg kde kipi lcms ldap libass libnotify libsoxr lzma lzo mad matroska mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl nsplugin ogg opencv opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline scanner sdl seccomp semantic-desktop session smp spell sqlite sse sse2 ssl startup-notification svg symlink systemd taglib tcpd theora threads tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wallpapers wavpack widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zlib zsh-completions" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es_ES es en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 6 Frank Krömmelbein 2015-12-02 15:31:00 UTC
Hello Agostino,

I just did again a emerge --sync against https://anongit.gentoo.org/git/repo/gentoo
The Patch still fails for me again.

/usr/bin/git pull
remote: Counting objects: 20, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 20 (delta 13), reused 0 (delta 0)
Unpacking objects: 100% (20/20), done.
From https://anongit.gentoo.org/git/repo/gentoo
   678c1bc..3cc956d  master     -> origin/master
Updating 678c1bc..3cc956d
Fast-forward
 dev-php/pecl-taint/Manifest                     |  1 +
 dev-php/pecl-taint/pecl-taint-2.0.0_beta.ebuild | 21 +++++++++++++++++++++
 profiles/base/use.mask                          |  4 ++++
 profiles/package.mask                           | 16 ++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 100644 dev-php/pecl-taint/pecl-taint-2.0.0_beta.ebuild
=== Sync completed for gentoo


qlop -s | tail -1
Wed Dec  2 16:20:43 2015 >>> gentoo
Comment 7 Arne Hüggenberg 2015-12-02 17:00:34 UTC
same problem

# qlop -s | tail -1
Wed Dec  2 17:47:54 2015 >>> gentoo
paternina ~ # emerge busybox
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/busybox-1.24.1::gentoo
 * busybox-1.24.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking busybox-1.24.1.tar.bz2 to /var/tmp/portage/sys-apps/busybox-1.24.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/busybox-1.24.1/work
>>> Preparing source in /var/tmp/portage/sys-apps/busybox-1.24.1/work/busybox-1.24.1 ...
 * Applying busybox-1.19.0-bb.patch ...                                                                                                                                                                                                                                                                              [ ok ]
 * Applying busybox-1.24.1-trylink-ldflags.patch ...                                                                                                                                                                                                                                                                 [ ok ]
 * Applying busybox-1.24.1-unzip-regression.patch ...

 * Failed Patch: busybox-1.24.1-unzip-regression.patch !
 *  ( /usr/portage/sys-apps/busybox/files/busybox-1.24.1-unzip-regression.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-apps/busybox-1.24.1/temp/busybox-1.24.1-unzip-regression.patch.out

 * ERROR: sys-apps/busybox-1.24.1::gentoo failed (prepare phase):
 *   Failed Patch: busybox-1.24.1-unzip-regression.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 2593:  Called epatch '/usr/portage/sys-apps/busybox/files/busybox-1.24.1-trylink-ldflags.patch' '/usr/portage/sys-apps/busybox/files/busybox-1.24.1-unzip-regression.patch' '/usr/portage/sys-apps/busybox/files/busybox-1.24.1-unzip.patch'
 *   environment, line  715:  Called epatch '/usr/portage/sys-apps/busybox/files/busybox-1.24.1-unzip-regression.patch'
 *   environment, line  893:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/busybox-1.24.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/busybox-1.24.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/busybox-1.24.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/busybox-1.24.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/busybox-1.24.1/work/busybox-1.24.1'
 * S: '/var/tmp/portage/sys-apps/busybox-1.24.1/work/busybox-1.24.1'



# emerge --info
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r1, 3.18.12-gentoo x86_64)
=================================================================
System uname: Linux-3.18.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16385132 total,    948572 free
KiB Swap:   31234044 total,  29758696 free
Timestamp of repository gentoo: Wed, 02 Dec 2015 16:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.6.3::gentoo, 4.7.3-r1::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

miramir
    location: /var/lib/layman/miramir
    masters: gentoo
    priority: 0

tmacedo
    location: /var/lib/layman/tmacedo
    masters: gentoo
    priority: 1

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch 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://de-mirror.org/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi ads alsa amd64 apache2 apng bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt css cups curl cxx dbus declarative dga dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fontconfig foomaticdb fortran ftp fts3 g3dvl gd gdbm gif glamor glib gnome gnutls gpm gtk hal iconv icu imagemagick imap imlib ipv6 java javascript jpeg jpeg2k kde kdepim kerberos kipi lcdfilter lcms ldap libnotify mad melt mhash mmap mmx mmxext mng modules mp3 mp4 mpeg multilib mysql mysqli mysqlnd ncurses networking nls nptl nsplugin nss ntfs3g ogg opcache opengl openmp pam pango pcre pdf perl phonon php plasma png policykit posix ppds pulseaudio python qemu qt3support qt4 readline reports samba sdl seccomp semantic-desktop session sndfile sockets spell spice sql sqlite sqlite3 sse sse2 ssl startup-notification svg tcpd theora threads tiff truetype type1 udev udisks unicode upower usb vaapi vdpau vhosts vnc vorbis webkit win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="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"
USE_PYTHON="2.7 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Dan Johansson 2015-12-02 20:21:40 UTC
The patch-file looks strange to me...
It starts with the following lines:

From 092fabcf1df5d46cd22be4ffcd3b871f6180eb9c Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Fri, 30 Oct 2015 23:41:53 +0100
Subject: [PATCH] [g]unzip: fix recent breakage.

Also, do emit error message we so painstakingly pass from gzip internals

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
(cherry picked from commit 6bd3fff51aa74e2ee2d87887b12182a3b09792ef)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 archival/libarchive/decompress_gunzip.c | 33 +++++++++++++++++++++------------
 testsuite/unzip.tests                   |  1 +
 2 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/archival/libarchive/decompress_gunzip.c b/archival/libarchive/decompress_gunzip.c
index c76fd31..357c9bf 100644
--- a/archival/libarchive/decompress_gunzip.c
+++ b/archival/libarchive/decompress_gunzip.c
@@ -309,8 +309,7 @@ static int huft_build(const unsigned *b, const unsigned n,
Comment 9 Brian Evans (RETIRED) gentoo-dev 2015-12-02 20:21:47 UTC
*** Bug 567346 has been marked as a duplicate of this bug. ***
Comment 10 Brian Evans (RETIRED) gentoo-dev 2015-12-02 20:24:38 UTC
The problem is with the globbing with epatch.

epatch "${FILESDIR}"/${P}-*.patch

That command will return different order depending on the LANG setting. Even LANG=C will cause -unzip-regression.patch to be applied before -unzip.patch
Comment 11 Mike Gilbert gentoo-dev 2015-12-02 20:50:54 UTC
commit 237e4f10e23aa80d1053fe1e9039fddca080fd30
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Wed Dec 2 15:49:15 2015 -0500

    sys-apps/busybox: Name patches explicitly

    Globbing was ordering them differently depending on LC_COLLATE.

    Bug: https://bugs.gentoo.org/567340

    Package-Manager: portage-2.2.26_p3

 sys-apps/busybox/busybox-1.24.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 12 SpanKY gentoo-dev 2015-12-07 01:39:06 UTC
*** Bug 567390 has been marked as a duplicate of this bug. ***