Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388697 - app-office/libreoffice-3.3.4 - work/libreoffice-build-3.3.4.1/patches/dev300/../hotfixes/libreoffice-3.3.4-poppler-0.18.0.diff: can't find file to patch at input line 21
Summary: app-office/libreoffice-3.3.4 - work/libreoffice-build-3.3.4.1/patches/dev300/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 20:36 UTC by Jan Hrabe
Modified: 2011-10-28 18:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Hrabe 2011-10-27 20:36:12 UTC
I am getting this error on one amd64 (poppler ~amd64) and one x86 (no keyword set for poppler) machine:

libreoffice-3.3.4-poppler-0.18.0.diff: testing...< /var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1/patches/dev300/../hotfixes/libreoffice-3.3.4-poppler-0.18.0.diff patch  --fuzz=0  -l -p0  -d /var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1/build/libreoffice-3.3.4.1 --dry-run 
can't find file to patch at input line 21
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From f6f8f67460bba296c49f794d14621b7313df4f7d Mon Sep 17 00:00:00 2001
|From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|Date: Tue, 19 Jul 2011 08:54:07 +0100
|Subject: [PATCH] poppler 0.17.0 changed its api for no some reason or other
|
|From 91313fc05abbfe35ee1e0c2464a28dd580780f07 Mon Sep 17 00:00:00 2001
|From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|Date: Fri, 2 Sep 2011 13:15:49 +0100
|Subject: [PATCH] Resolves: rhbz#735182 libreoffice doesn't build with
| poppler-0.17.3
|
|---
| .../pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx       |    8 ++++++++
| .../pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx       |    7 +++++++
| 2 files changed, 15 insertions(+), 0 deletions(-)
|
|diff --git sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
|index f7741b4..bd6d721 100644
|--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
|+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 49
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
|index 3ac0f49..88a60d6 100644
|--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
|+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
Testing patch libreoffice-3.3.4-poppler-0.18.0.diff failed. at /var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1/patches/apply.pl line 98.
make: *** [stamp/patch.apply] Error 1
 * ERROR: app-office/libreoffice-3.3.4 failed (compile phase):
 *   Build failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8963:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.4',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.4'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.4/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1'


=============================================

emerge --info =app-office/libreoffice-3.3.4
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 26 Oct 2011 16:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emacs emboss encode exif fam firefox flac foomaticdb fortran gcj gdbm gdu gif gpm gtk iconv imagemagick jpeg latex lcms libnotify lock mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf pic png policykit ppds pppd qt3support qt4 readline sasl sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype udev unicode usb vorbis x264 xcb xml xorg xscreensaver xulrunner xv xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-3.3.4 was built with the following:
USE="cups dbus gtk (multilib) opengl (-aqua) -bash-completion -binfilter -custom-cflags -debug -eds -gnome -gstreamer -java -kde (-kdeenablefinal) -ldap -nsplugin -odk -templates" LINGUAS="-af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd (-sh) -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu"
CFLAGS="-march=core2 -pipe"
CXXFLAGS="-march=core2 -pipe"

============================================================


emerge -pqv =app-office/libreoffice-3.3.4
[ebuild   R   ] app-office/libreoffice-3.3.4  USE="cups dbus gtk opengl (-aqua) -bash-completion -binfilter -custom-cflags -debug -eds -gnome -gstreamer -java -kde (-kdeenablefinal) -ldap -nsplugin -odk -templates" LINGUAS="en* -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 


Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-28 17:16:14 UTC
I am trying to reproduce it now, will take few hours :/
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-28 18:24:22 UTC
I removed git stuff that confused the patch tool in the build system of 3.3 libreo. Thanks for report.