Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148620 - net-misc/asterisk-chan_capi-cm-0.7.0 failed patch
Summary: net-misc/asterisk-chan_capi-cm-0.7.0 failed patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-22 01:56 UTC by Natanael Copa
Modified: 2006-10-11 10:32 UTC (History)
1 user (show)

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 Natanael Copa 2006-09-22 01:56:40 UTC
>>> Unpacking chan_capi-0.7.0.tar.gz to /var/tmp/portage/asterisk-chan_capi-cm-0.7.0/work
 * Applying chan_capi-0.6.3-gentoo.diff ...                               [ ok ]QA Notice: USE Flag 'elibc_uclibc' not in IUSE for net-misc/asterisk-chan_capi-cm-0.7.0
 * Applying chan_capi-0.6.4-uclibc.diff ...

 * Failed Patch: chan_capi-0.6.4-uclibc.diff !
 *  ( /usr/portage/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.4-uclibc.diff )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/asterisk-chan_capi-cm-0.7.0/temp/chan_capi-0.6.4-uclibc.diff-18622.out

cat /var/tmp/portage/asterisk-chan_capi-cm-0.7.0/temp/chan_capi-0.6.4-uclibc.diff-18622.out
***** chan_capi-0.6.4-uclibc.diff *****

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.4-uclibc.diff

=======================================
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:
--------------------------
|--- chan_capi-cm-0.6.4/chan_capi.c.orig        2006-03-28 16:14:18 +0000
|+++ chan_capi-cm-0.6.4/chan_capi.c     2006-03-28 16:27:58 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=======================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.4-uclibc.diff

=======================================
patching file chan_capi.c
Hunk #1 succeeded at 61 with fuzz 1 (offset 43 lines).
Hunk #2 FAILED at 91.
1 out of 2 hunks FAILED -- saving rejects to file chan_capi.c.rej
=======================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.4-uclibc.diff

=======================================
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:
--------------------------
|--- chan_capi-cm-0.6.4/chan_capi.c.orig        2006-03-28 16:14:18 +0000
|+++ chan_capi-cm-0.6.4/chan_capi.c     2006-03-28 16:27:58 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=======================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.4-uclibc.diff

=======================================
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:
--------------------------
|--- chan_capi-cm-0.6.4/chan_capi.c.orig        2006-03-28 16:14:18 +0000
|+++ chan_capi-cm-0.6.4/chan_capi.c     2006-03-28 16:27:58 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=======================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.4-uclibc.diff

=======================================
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:
--------------------------
|--- chan_capi-cm-0.6.4/chan_capi.c.orig        2006-03-28 16:14:18 +0000
|+++ chan_capi-cm-0.6.4/chan_capi.c     2006-03-28 16:27:58 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored


emerge --info
Portage 2.1.1 (uclibc/x86/hardened, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 01:53:01 +0000
distcc 2.18.3 i386-gentoo-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-march=i386 -Os -pipe -fomit-frame-pointer"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j4"
PKGDIR="/var/cache/packages/default"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/alpine-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X509 bitmap-fonts bri bzip2 cli cracklib dlloader dri elibc_uclibc encode expat extensions hardened input_devices_evdev input_devices_keyboard input_devices_mouse iproute2 ipv6 jpeg kernel_linux mad minimal ncurses netboot ogg oss pci pcmcia pic png pppd readline reflection rrdtool sensord session snmp speex spl ssl tdb truetype truetype-fonts type1-fonts uclibc uclibc++ udev usb userland_GNU userlocales video_cards_dummy video_cards_fbdev video_cards_v4l winbind wordexp xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-10-03 03:57:16 UTC
thanks, I fixed the patch and made it unconditional to avoid such problems in the future. Can you please check if it is really still needed?
Comment 2 Natanael Copa 2006-10-11 08:43:41 UTC
The patch is not needed anymore. (its empty btw...)

Thanks!

--- asterisk-chan_capi-cm-0.7.0.ebuild.orig     2006-10-11 15:40:44 +0000
+++ asterisk-chan_capi-cm-0.7.0.ebuild  2006-10-11 15:40:15 +0000
@@ -27,7 +27,6 @@

        cd "${S}"
        epatch "${FILESDIR}/chan_capi-0.6.3-gentoo.diff"
-       epatch "${FILESDIR}/chan_capi-0.7.0-uclibc.diff"
 }

 src_compile() {
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-10-11 10:32:16 UTC
we will deprecate -cm soon, please use chan-capi again now - it also has the latest version