OpenWrt Forum Archive

Topic: Where did they call the patch file?

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

make[3]: Entering directory `/home/vip/pogoplug/custom-feed/libtirpc'
. /home/vip/pogoplug/openwrt/include/shell.sh; bzcat /home/vip/pogoplug/openwrt/dl/libtirpc-0.2.5.tar.bz2 | /bin/tar -C /home/vip/pogoplug/openwrt/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.5/.. -xf -

Applying ./patches/120-gssapi-inc.patch~ using plaintext:

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:
--------------------------
|Index: openwrt/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.4/src/auth_gss.c
|===================================================================
|--- openwrt.orig/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.4/src/auth_gss.c    2013-12-09 12:59:51.000000000 -0800
|+++ openwrt/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.4/src/auth_gss.c    2014-12-11 17:18:47.720370729 -0800
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 18
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: openwrt/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.4/src/authgss_prot.c
|===================================================================
|--- openwrt.orig/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.4/src/authgss_prot.c    2013-12-09 12:59:51.000000000 -0800
|+++ openwrt/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.4/src/authgss_prot.c    2014-12-11 17:17:08.656367626 -0800
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 31
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch failed!  Please fix ./patches/120-gssapi-inc.patch~!
make[3]: *** [/home/vip/pogoplug/openwrt/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.5/.prepared_759e3f95ea5637874134b47591a7de48] Error 1
make[3]: Leaving directory `/home/vip/pogoplug/custom-feed/libtirpc'
make[2]: *** [package/feeds/custom/libtirpc/compile] Error 2
make[2]: Leaving directory `/home/vip/pogoplug/openwrt'
make[1]: *** [/home/vip/pogoplug/openwrt/staging_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/vip/pogoplug/openwrt'
make: *** [world] Error 2

I have changed my package from ibtirpc-0.2.4 to ibtirpc-0.2.5, what is wrong with my enviroment?
at one time I call
quilt new patch at the openwrt directory instead of directory /home/vip/pogoplug/openwrt/build_dir/target-arm_mpcore_uClibc-0.9.33.2_eabi/libtirpc-0.2.4 to do some patches.

I am sure I have not call patch in my libtirpc-0.2.x Makefile, I also can not fidn the file: 120-gssapi-inc.patch, I have deleted it.

(Last edited by maplewang on 12 Dec 2014, 05:15)

I finnaly got it, there are one hidden file named /patches/120-gssapi-inc.patch~
in the package patch folder, it is left by an editor like vi/nano?
I do not know why it will patch file with extention like .patch~ ?

Not sure but I'd say the build system pulls any files from the "patches" subdir regardless of the extension.

The discussion might have continued from here.