* Package: media-libs/libjpeg-turbo-1.4.0 * Repository: gentoo * Maintainer: ssuominen@gentoo.org anarchy@gentoo.org,graphics@gentoo.org * USE: abi_x86_32 abi_x86_64 amd64 elibc_glibc java kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Using: oracle-jdk-bin-1.8 * Applying libjpeg-turbo-1.3.1-overrun.patch ... * Failed Patch: libjpeg-turbo-1.3.1-overrun.patch ! * ( /mnt/portage/media-libs/libjpeg-turbo/files/libjpeg-turbo-1.3.1-overrun.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/media-libs/libjpeg-turbo-1.4.0/temp/libjpeg-turbo-1.3.1-overrun.patch.out * ERROR: media-libs/libjpeg-turbo-1.4.0::gentoo failed (prepare phase): * Failed Patch: libjpeg-turbo-1.3.1-overrun.patch! * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 4857: Called epatch '/mnt/portage/media-libs/libjpeg-turbo/files/libjpeg-turbo-1.3.1-overrun.patch' * environment, line 1682: Called die Reproducible: Always Portage 2.2.16 (python 3.4.2-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r1, 3.18.6-gentoo x86_64) ================================================================= System uname: Linux-3.18.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24626584 total, 20052400 free KiB Swap: 25461756 total, 25461756 free Timestamp of repository gentoo: Mon, 09 Feb 2015 18:00:01 +0000 sh bash 4.3_p33-r1 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r1::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.1-r4::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.4.2::gentoo dev-util/cmake: 3.1.0::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.9::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.13.4::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.5::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r1::gentoo Repositories: gentoo location: /mnt/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 bitcoin location: /mnt/portage/local/layman/bitcoin masters: gentoo priority: 0 bumblebee location: /mnt/portage/local/layman/bumblebee masters: gentoo priority: 1 steam-overlay location: /mnt/portage/local/layman/steam-overlay masters: gentoo priority: 2 media-overlay location: /mnt/portage/local/layman/media-overlay masters: gentoo priority: 3 lokal location: /mnt/portage/local/local-overlay masters: gentoo priority: 4 ACCEPT_KEYWORDS="amd64 ~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/gnupg/qualified.txt /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.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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/mnt/portage/distfiles" FCFLAGS="-O2 -pipe"
Created attachment 396000 [details, diff] diff -PruN libjpeg-turbo-1.4.0.ebuild libjpeg-turbo-1.4.0.ebuild.nopatches
Patch seems to be included in upstream. Removed patch from ebuild.
Change is definitely in source code # grep -n BUFSIZE /var/tmp/portage/media-libs/libjpeg-turbo-1.4.0/work/libjpeg-turbo-1.4.0/jchuff.c 420:#define BUFSIZE (DCTSIZE2 * 4) 423: if (state->free_in_buffer < BUFSIZE) { \ 455: JOCTET _buffer[BUFSIZE], *buffer; 484: JOCTET _buffer[BUFSIZE], *buffer;
+ 09 Feb 2015; Lars Wendler <polynomial-c@gentoo.org> + libjpeg-turbo-1.4.0.ebuild: + Fixed application of wrong patch (bug #539496). +
*** Bug 539584 has been marked as a duplicate of this bug. ***