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

Bug 217358

Summary: emerging cairo failed patching with cairo-1.6.2-fix-g++-linking.patch
Product: Gentoo Linux Reporter: Pekka-Matti Nieminen <pmn>
Component: New packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: minor CC: compnerd, pariksheet.nanda
Priority: Low    
Version: 2007.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pekka-Matti Nieminen 2008-04-12 06:19:46 UTC
>>> Unpacking cairo-1.6.4.tar.gz to /var/tmp/portage/x11-libs/cairo-1.6.4/work
 * Applying cairo-1.6.2-fix-g++-linking.patch ...

 * Failed Patch: cairo-1.6.2-fix-g++-linking.patch !
 *  ( /usr/portage/x11-libs/cairo/files/cairo-1.6.2-fix-g++-linking.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/x11-libs/cairo-1.6.4/temp/cairo-1.6.2-fix-g++-linking.patch-5729.out


Reproducible: Always

Steps to Reproduce:
emerge =x11-libs/cairo-1.6.4



***** cairo-1.6.2-fix-g++-linking.patch *****

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

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-libs/cairo/files/cairo-1.6.2-fix-g++-linking.patch

=============================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/Makefile.am b/src/Makefile.am
|index dfdcf1e..16c8301 100644
|--- a/src/Makefile.am
|+++ b/src/Makefile.am
--------------------------
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.6.2-fix-g++-linking.patch

=============================================
patching file src/Makefile.am
Hunk #1 FAILED at 235.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.am.rej
=============================================

PATCH COMMAND:	 patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-libs/cairo/files/cairo-1.6.2-fix-g++-linking.patch

=============================================
patching file Makefile.am
Hunk #1 FAILED at 235.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej
=============================================

PATCH COMMAND:	 patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-libs/cairo/files/cairo-1.6.2-fix-g++-linking.patch

=============================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/Makefile.am b/src/Makefile.am
|index dfdcf1e..16c8301 100644
|--- a/src/Makefile.am
|+++ b/src/Makefile.am
--------------------------
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.6.2-fix-g++-linking.patch

=============================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/Makefile.am b/src/Makefile.am
|index dfdcf1e..16c8301 100644
|--- a/src/Makefile.am
|+++ b/src/Makefile.am
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 1 Pekka-Matti Nieminen 2008-04-12 06:22:06 UTC
Portage 2.1.5_rc2 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Timestamp of tree: Fri, 11 Apr 2008 22:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.public.fix.fi/gentoo/ ftp://ftp.public.fix.fi/gentoo "
LANG="fi_FI.UTF8"
LC_ALL="fi_FI.UTF8"
LDFLAGS=""
LINGUAS="fi"
MAKEOPTS="-j5"
PKGDIR="/var/tmp/binpkgs"
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="/usr/portage/local/Omat"
SYNC="rsync://192.168.2.100/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm audiofile bash-completion bzip2 cairo cddb cdparanoia cdr chm cracklib crypt cups curl cxx dbus dri dts dvd dvdr dvdread encode exif expat fbcon ffmpeg firefox flac ftp gif gpm hal iconv ieee1394 imagemagick imap imlib java javascript jpeg jpeg2k kde lesstif libwww liemikuutio lircsettings lm_sensors mad midi mjpeg mmx mng mp3 mpeg mplayer msn ncurses nls nntp nptl nsplugin ogg openal opengl pam pcre pdf perl plasma png posix python qt3 qt4 quicktime rdesktop readline recode samba sse sse2 ssl ssse3 startup-notification subtitles svg syslog sysvipc theora threads tiff truetype unicode usb vlm volctrl vorbis x264 xattr xcomposite xine xml xmlrpc xorg xpm xscreensaver xv xvid zlib" ALSA_CARDS="emu10k" ALSA_PCM_PLUGINS="iec958 dmix plug rate route share shm meter multi adpcm ioplug mulaw alaw asym copy dshare dsnoop empty extplug file hooks ladspa lfloat linear null 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-04-14 04:03:35 UTC
bug filed after fix was committed.