Applying the patches in the Patches step of Building Software Image

Ernest Kugel erik.kugel at gmail.com
Fri Apr 22 19:34:43 EDT 2011


Hi guys, non of the patches in the Patches step of Building Software 
Image seems to be properly applied. I must be doing something wrong, or 
is this normal?

The patches are stored in ~/openwrt-xburst.patches/

and I'm running # ../openwrt-xburst.patches/README-patch-openwrt.sh

from within the ~/openwrt-xburst directory.

Here's the log:

erik at desktop3-VirtualBox:~/openwrt-xburst.patches$ 
../openwrt-xburst.patches/README-patch-openwrt.sh
sed: couldn't edit .config: not a regular file
patching file target/linux/xburst/qi_lb60/config-2.6.32
Hunk #1 FAILED at 6.
Hunk #2 FAILED at 15.
2 out of 2 hunks FAILED -- saving rejects to file 
target/linux/xburst/qi_lb60/config-2.6.32.rej
../openwrt-xburst.patches/README-patch-openwrt.sh: line 13: cd: 
feeds/packages/: No such file or directory
patching file net/nfs-kernel-server/patches/001-nfs_utils_uclibc.patch
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 16.
2 out of 2 hunks FAILED -- saving rejects to file 
net/nfs-kernel-server/patches/001-nfs_utils_uclibc.patch.rej
patching file utils/gnuplot/Makefile
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file utils/gnuplot/Makefile.rej
../openwrt-xburst.patches/README-patch-openwrt.sh: line 19: cd: 
feeds/qipackages/: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
patching file plplot/Makefile
Hunk #1 FAILED at 271.
1 out of 1 hunk FAILED -- saving rejects to file plplot/Makefile.rej
erik at desktop3-VirtualBox:~/openwrt-xburst.patches$ cd ../openwrt-xburst
erik at desktop3-VirtualBox:~/openwrt-xburst$ 
../openwrt-xburst.patches/README-patch-openwrt.sh
sed: couldn't edit .config: not a regular file
patching file target/linux/xburst/qi_lb60/config-2.6.32
Hunk #1 FAILED at 6.
Hunk #2 FAILED at 15.
2 out of 2 hunks FAILED -- saving rejects to file 
target/linux/xburst/qi_lb60/config-2.6.32.rej
../openwrt-xburst.patches/README-patch-openwrt.sh: line 13: cd: 
feeds/packages/: No such file or directory
patching file net/nfs-kernel-server/patches/001-nfs_utils_uclibc.patch
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 16.
2 out of 2 hunks FAILED -- saving rejects to file 
net/nfs-kernel-server/patches/001-nfs_utils_uclibc.patch.rej
patching file utils/gnuplot/Makefile
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file utils/gnuplot/Makefile.rej
../openwrt-xburst.patches/README-patch-openwrt.sh: line 19: cd: 
feeds/qipackages/: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
patching file plplot/Makefile
Hunk #1 FAILED at 271.
1 out of 1 hunk FAILED -- saving rejects to file plplot/Makefile.rej


On 04/22/2011 11:25 AM, discussion-request at lists.en.qi-hardware.com wrote:
> Send discussion mailing list submissions to
> 	discussion at lists.en.qi-hardware.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.en.qi-hardware.com/mailman/listinfo/discussion
> or, via email, send a message with subject or body 'help' to
> 	discussion-request at lists.en.qi-hardware.com
>
> You can reach the person managing the list at
> 	discussion-owner at lists.en.qi-hardware.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of discussion digest..."
>
>
> Today's Topics:
>
>     1. Re: Art program(port ascii-paint to Ben NanoNote) (Xiangfu Liu)
>     2. Re: Problem with audio playback in mplayer (Xiangfu Liu)
>     3. Re: 4tH v3.61.1 for the Ben Nanonote (OpenWrt) released
>        (Hans Bezemer)
>     4. Re: 4tH v3.61.1 for the Ben Nanonote (OpenWrt) released
>        (Hans Bezemer)
>     5. Re: 4tH v3.61.1 for the Ben Nanonote (OpenWrt) released
>        (Xiangfu Liu)
>     6. Re: 4tH v3.61.1 for the Ben Nanonote (OpenWrt) released
>        (Xiangfu Liu)
>     7. Re: Problem with audio playback in mplayer (David Kuehling)
>     8. Re: Art program(port ascii-paint to Ben NanoNote) (jice)
>     9. [Development Snapshots] Milkymist one software updates
>        2011-04-22 (Xiangfu Liu)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 22 Apr 2011 13:40:46 +0800
> From: Xiangfu Liu<xiangfu at sharism.cc>
> Subject: Re: Art program(port ascii-paint to Ben NanoNote)
> To: Shafqat Bhuiyan<priomsrb at gmail.com>
> Cc: "English Qi Hardware mailing list - support, developers,	use cases
> 	and fun"<discussion at lists.en.qi-hardware.com>,	Jane Andreas
> 	<JaneAndreas at gmx.com>, jice<jice.nospam at gmail.com>
> Message-ID:<4DB114DE.4000101 at sharism.cc>
> Content-Type: text/plain; charset=UTF-8
>
> Hi Jice, Shafqat Bhuiyan
>
> thanks for support Ben Nanonote. now I can success compile the 'ascii-paint'
> the source codes for openwrt is here: http://qi-hw.com/p/openwrt-packages/ba3ac45
>
> I am using the "libtcod-r522", using svn checkout the revision r522, since the
> 1.5.0 source code tarball don't have the 'makefiles'.
>
> but I have some problem on running it:
>    root at BenNanoNote:/usr/lib/ascii-paint# ls
>    ascii-paint      ascii-paint.cfg  terminal.png
>    root at BenNanoNote:/usr/lib/ascii-paint# ./ascii-paint
>    libtcod 1.5.0
>    SDL : cannot create window<--- The ERROR message.
>
> installed three file of libtcod:
>    root at BenNanoNote:/usr/lib/ascii-paint# ls /usr/lib/libtcod*
>    /usr/lib/libtcod.so     /usr/lib/libtcodgui.so  /usr/lib/libtcodxx.so
>
> I can sure the SDL libs in nanonote works fine. there are some of apps using SDL.
>
> thanks for the cmake, no needs patch the makefile now :)
>
> On 04/22/2011 11:33 AM, Shafqat Bhuiyan wrote:
>> Hi,
>>
>> I tried compiling ascii-paint using libtcod 1.5 and there were some
>> problems. So I fixed them up and uploaded a new version of ascii-paint on
>> the website:
>> http://code.google.com/p/ascii-paint/downloads/detail?name=ascii-paint-0.3.1.tar.gz
>>
>> This version also uses cmake so it should be easier to compile.
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 22 Apr 2011 14:26:16 +0800
> From: Xiangfu Liu<xiangfu at sharism.cc>
> Subject: Re: Problem with audio playback in mplayer
> To: "English Qi Hardware mailing list - support, developers,	use cases
> 	and fun"<discussion at lists.en.qi-hardware.com>
> Message-ID:<4DB11F88.8000501 at sharism.cc>
> Content-Type: text/plain; charset=UTF-8
>
> Hi David
>
> since the sound module have static link to kernel after "2011-02-23",
> I just add small file may fix this problem:
>     http://qi-hw.com/p/openwrt-packages/ad4e848
>
>
> On 04/21/2011 06:56 PM, David Kuehling wrote:
>> The solution is to manually run 'alsamixer', select the<Master>  slider,
>> and press 'm'.  Uhh.  What about putting audio into a usable
>> configuration at boot time?
>>
>> Seems that Gmu works around the issue itself unmuting audio as required?
>




More information about the discussion mailing list


interactive