Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185261

Summary: Problem updating x11-libs/cairo-1.4.6
Product: Gentoo Linux Reporter: Hernan Rajchert <hrajchert>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kevin
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hernan Rajchert 2007-07-14 02:09:52 UTC
When trying to update the cairo library from version 1.4.4 to 1.4.6 I have a problem when aplying a patch.

Reproducible: Always

Steps to Reproduce:
1.emerge --update cairo
2.
3.

Actual Results:  
>>> Emerging (1 of 1) x11-libs/cairo-1.4.6 to /
 * cairo-1.4.6.tar.gz MD5 ;-) ...                                                                                     [ ok ]
 * cairo-1.4.6.tar.gz RMD160 ;-) ...                                                                                  [ ok ]
 * cairo-1.4.6.tar.gz SHA1 ;-) ...                                                                                    [ ok ]
 * cairo-1.4.6.tar.gz SHA256 ;-) ...                                                                                  [ ok ]
 * cairo-1.4.6.tar.gz size ;-) ...                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                [ ok ]
 * checking cairo-1.4.6.tar.gz ;-) ...                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking cairo-1.4.6.tar.gz to /var/tmp/portage/x11-libs/cairo-1.4.6/work
 * Applying cairo-1.4.6-ctype.patch ...

 * Failed Patch: cairo-1.4.6-ctype.patch !
 *  ( /usr/portage/x11-libs/cairo/files/cairo-1.4.6-ctype.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/x11-libs/cairo-1.4.6/temp/cairo-1.4.6-ctype.patch-3122.out


!!! ERROR: x11-libs/cairo-1.4.6 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_unpack
  ebuild.sh, line 753:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  cairo-1.4.6.ebuild, line 48:   Called epatch '/usr/portage/x11-libs/cairo/files/cairo-1.4.6-ctype.patch'
  eutils.eclass, line 304:   Called die

!!! Failed Patch: cairo-1.4.6-ctype.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-libs/cairo-1.4.6/temp/build.log'.



this is the content of the /var/tmp/portage/x11-libs/cairo-1.4.6/temp/cairo-1.4.6-ctype.patch-3122.out file
***** cairo-1.4.6-ctype.patch *****
 
===================================
 
PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-libs/cairo/files/cairo-1.4.6-ctype.patch
 
===================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- cairo-type1-subset.c.bak   2007-05-18 15:13:37.000000000 +0800
|+++ cairo-type1-subset.c       2007-05-18 15:36:07.000000000 +0800
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================
 
PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-libs/cairo/files/cairo-1.4.6-ctype.patch
 
===================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- cairo-type1-subset.c.bak   2007-05-18 15:13:37.000000000 +0800
|+++ cairo-type1-subset.c       2007-05-18 15:36:07.000000000 +0800
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================
 
PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-libs/cairo/files/cairo-1.4.6-ctype.patch
 
===================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- cairo-type1-subset.c.bak   2007-05-18 15:13:37.000000000 +0800
|+++ cairo-type1-subset.c       2007-05-18 15:36:07.000000000 +0800
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================
 
PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-libs/cairo/files/cairo-1.4.6-ctype.patch
 
===================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- cairo-type1-subset.c.bak   2007-05-18 15:13:37.000000000 +0800
|+++ cairo-type1-subset.c       2007-05-18 15:36:07.000000000 +0800
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================
 
PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-libs/cairo/files/cairo-1.4.6-ctype.patch
 
===================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- cairo-type1-subset.c.bak   2007-05-18 15:13:37.000000000 +0800
|+++ cairo-type1-subset.c       2007-05-18 15:36:07.000000000 +0800
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 1 Kevin Lacquement 2007-07-14 02:16:01 UTC
Please add emerge --info
Comment 2 Hernan Rajchert 2007-07-14 02:17:21 UTC
this is my ebuild --info

Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r0, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 13 Jul 2007 19:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ "
LINGUAS="en es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amr apache2 arts aspell bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cscope cups dbus dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox fortran ftp gdbm gif gimpprint gphoto2javascript gpm grub gstreamer gtk hal iconv imagemagick ipv6 isdnlog java joystick jpeg kde kerberos lame libcaca libg++ mad matroska mbrola midi mikmod mozilla mp3 mpeg mplayer mudflap musicbrainz mysql ncurses netboot nls nptl nptlonly nsplugin nvidia odbc offensive ogg oggvorbis opengl openmp oss pam pcre pdf perl php png postgres pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session sockets spell spl ssl subversion svg tcpd threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l vhosts vim-syntax vorbis webdav win32codecs x86 xcomposite xml xorg xpm xsl xv xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Kevin Lacquement 2007-07-14 02:56:28 UTC
Re-sync and try again, you may have synced while the package was being updated earlier today
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-07-14 07:11:49 UTC

*** This bug has been marked as a duplicate of bug 185238 ***