Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582630 - app-text/pdftk-2.02 - Failed Patch: pdftk-2.02-flags.patch
Summary: app-text/pdftk-2.02 - Failed Patch: pdftk-2.02-flags.patch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-10 07:15 UTC by Roman Barczyński
Modified: 2016-05-12 09:02 UTC (History)
1 user (show)

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


Attachments
Failed patch log (pdftk-2.02-flags.patch.out,6.27 KB, text/plain)
2016-05-10 07:15 UTC, Roman Barczyński
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Barczyński 2016-05-10 07:15:22 UTC
Created attachment 433824 [details]
Failed patch log

* Package:    app-text/pdftk-2.02
 * Repository: gentoo
 * Maintainer: printing@gentoo.org java@gentoo.org
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Applying pdftk-2.02-flags.patch ...

 * Failed Patch: pdftk-2.02-flags.patch !
 *  ( /usr/portage/app-text/pdftk/files/pdftk-2.02-flags.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-text/pdftk-2.02/temp/pdftk-2.02-flags.patch.out

 * ERROR: app-text/pdftk-2.02::gentoo failed (prepare phase):
 *   Failed Patch: pdftk-2.02-flags.patch!
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_prepare
 *   environment, line 1890:  Called epatch '/usr/portage/app-text/pdftk/files/pdftk-2.02-flags.patch'
 *   environment, line  664:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";

Portage 2.2.26 (python 2.7.5-final-0, hardened/linux/x86, gcc-4.9.3-hardenednopie, unavailable, 3.14.14-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-QEMU_Virtual_CPU_version_0.15-with-gentoo-2.1
KiB Mem:     4046228 total,    802872 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 09 May 2016 09:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (GNU Binutils) 2.20.1.20100303
ccache version 2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.5-r3::gentoo
dev-util/ccache:          2.4-r9::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r1::gentoo
sys-apps/baselayout:      2.1-r1::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.4::gentoo
sys-devel/autoconf:       2.13::<unknown repository>, 2.68::gentoo, 2.69::gentoo
sys-devel/automake:       1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.20.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.2::gentoo
sys-devel/make:           3.82-r4::gentoo
sys-kernel/linux-headers: 3.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.12.2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://vega.romke.net/portage
    priority: -1000

romke-packages
    location: /usr/local/portage-romke
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="i686-gentoo-linux-gnu"
CFLAGS="-mtune=nocona -march=i686 -O2 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-gentoo-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/
 /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=nocona -march=i686 -O2 -pipe -mno-tls-direct-seg-refs -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask=n"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news noinfo parallel-fetch preserve-libs protect-owned sandbox 
sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 --e
xclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="acl bash-completion berkdb bzip2 cli cracklib crypt cxx dri gdbm hardened iconv ipv6 modules ncurses nls nptl openmp openrc openssl pam pax_kernel pcre pic pie readline seccomp session 
sqlite ssl ssp unicode urandom x86 xattr xtpax zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda
-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="access actions alias asis auth_basic auth_digest authn_default authn_file authz_host authz
_owner authz_user autoindex cache cern_meta cgi charset_lite dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers imagemap include info log_config logi
o mem_cache mime mime_magic negotiation rewrite setenvif status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="peruser" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables kr
ita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate everm
ore 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" NGINX_MODULES_
HTTP="access auth_basic empty_gif fastcgi gzip gzip_static rewrite autoindex limit_req limit_zone proxy charset stub_status uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="p
ython2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan leng
th2 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 1 James Le Cuirot gentoo-dev 2016-05-11 22:52:42 UTC
# ebuild pdftk-2.02.ebuild clean prepare
 * pdftk-2.02-src.zip SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking pdftk-2.02-src.zip to /var/tmp/portage/app-text/pdftk-2.02/work
>>> Source unpacked in /var/tmp/portage/app-text/pdftk-2.02/work
>>> Preparing source in /var/tmp/portage/app-text/pdftk-2.02/work/pdftk-2.02-dist/pdftk ...
 * Applying pdftk-2.02-flags.patch ... [ ok ]
>>> Source prepared.

Works for me?
Comment 2 Roman Barczyński 2016-05-12 08:52:30 UTC
In my case:

# ebuild pdftk-2.02.ebuild clean prepare
 * pdftk-2.02-src.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking pdftk-2.02-src.zip to /var/tmp/portage/app-text/pdftk-2.02/work
>>> Source unpacked in /var/tmp/portage/app-text/pdftk-2.02/work
>>> Preparing source in /var/tmp/portage/app-text/pdftk-2.02/work/pdftk-2.02-dist/pdftk ...
 * Applying pdftk-2.02-flags.patch ...

 * Failed Patch: pdftk-2.02-flags.patch !
Comment 3 Roman Barczyński 2016-05-12 09:02:13 UTC
OK, sorry, this was due to old sys-devel/patch:

[ebuild     U ] sys-devel/patch-2.7.5 [2.5.9] USE="xattr%* -static {-test%}" 

upgrading resolved this for me.