problem once again oopos script/cygwin -newlib patch routine

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
cory1492
Posts: 216
Joined: Fri Dec 10, 2004 1:49 pm

problem once again oopos script/cygwin -newlib patch routine

Post by cory1492 »

minor problem (hopefully):
newlib unpacked, patching problem -using current cvs ps2toolchain

Code: Select all

(Stripping trailing CRs from patch.)
patching file opcodes/mips-opc.c
missing header for unified diff at line 7 of patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 7
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: README.PS2
|===================================================================
|RCS file: README.PS2
|diff -N README.PS2
|--- /dev/null  1 Jan 1970 00:00:00 -0000
|+++ README.PS2 1 Dec 2004 05:21:34 -0000       1.1
--------------------------
File to patch:
Skip this patch? [y] n
Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 96 of patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 96
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: config.sub
|===================================================================
|RCS file: /home/ps2cvs/gcc-3.2.2/config.sub,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -b -u -r1.1.1.1 -r1.2
|--- config.sub 1 Dec 2004 04:30:24 -0000       1.1.1.1
|+++ config.sub 1 Dec 2004 05:21:34 -0000       1.2
----------------------------------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
5 out of 5 hunks ignored
missing header for unified diff at line 158 of patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 158
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: configure
|===================================================================
|RCS file: /home/ps2cvs/gcc-3.2.2/configure,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -b -u -r1.1.1.1 -r1.2
|--- configure  1 Dec 2004 04:30:23 -0000       1.1.1.1
|+++ configure  1 Dec 2004 05:21:34 -0000       1.2
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
missing header for unified diff at line 193 of patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 193
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: configure.in
|===================================================================
|RCS file: /home/ps2cvs/gcc-3.2.2/configure.in,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -b -u -r1.1.1.1 -r1.2
|--- configure.in       1 Dec 2004 04:30:23 -0000       1.1.1.1
|+++ configure.in       1 Dec 2004 05:21:34 -0000       1.2
--------------------------
File to patch:Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
(Stripping trailing CRs from patch.)
patching file Makefile.in
Hunk #1 FAILED at 987.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
(Stripping trailing CRs from patch.)
can't find file to patch at input line 227
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: gcc/c-common.c
|===================================================================
|RCS file: /home/ps2cvs/gcc-3.2.2/gcc/c-common.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -b -u -r1.1.1.1 -r1.2
|--- gcc/c-common.c     1 Dec 2004 04:31:33 -0000       1.1.1.1
|+++ gcc/c-common.c     1 Dec 2004 05:21:34 -0000       1.2
--------------------------
File to patch:
and it goes on:

Code: Select all

RCS file: /home/ps2cvs/gcc-3.2.2/gcc/caller-save.c,v
RCS file: /home/ps2cvs/gcc-3.2.2/gcc/config.gcc,v
RCS file: /home/ps2cvs/gcc-3.2.2/gcc/mklibgcc.in,v
RCS file: /home/ps2cvs/gcc-3.2.2/gcc/toplev.c,v
RCS file: /home/ps2cvs/gcc-3.2.2/gcc/config/mips/mips-protos.h,v
RCS file: /home/ps2cvs/gcc-3.2.2/gcc/config/mips/mips.c,v
RCS file: /home/ps2cvs/gcc-3.2.2/gcc/config/mips/mips.h,v
RCS file: /home/ps2cvs/gcc-3.2.2/gcc/config/mips/mips.md,v
RCS file: /home/ps2cvs/gcc-3.2.2/gcc/fixinc/gnu-regex.c,v
RCS file: /home/ps2cvs/gcc-3.2.2/libstdc++-v3/configure.target,v
RCS file: /home/ps2cvs/gcc-3.2.2/libstdc++-v3/libsupc++/pure.cc,v
not a biggie (to me anyway), just thought Id let y'all know
cory1492
Posts: 216
Joined: Fri Dec 10, 2004 1:49 pm

Post by cory1492 »

is the cvs versions of the newlib/gcc prepatched to install as is?

thanks to IRC, I know the answer to that to be yes now. :)

edit: didnt want to muck about too much on the cygwin version. Thanks Lukasz for making that possible ;)
cory1492
Posts: 216
Joined: Fri Dec 10, 2004 1:49 pm

Post by cory1492 »

Thanks for looking at that pixel, tried it again and now its stopping sooner though:

Code: Select all

newlib-1.10.0/missing
newlib-1.10.0/ltmain.sh
newlib-1.10.0/mpw-configure
newlib-1.10.0/README-maintainer-mode
newlib-1.10.0/mpw-config.in
newlib-1.10.0/ltcf-gcj.sh
newlib-1.10.0/README
newlib-1.10.0/install-sh
(Stripping trailing CRs from patch.)
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -burN orig.binutils-2.14/bfd/archures.c binutils-2.14/bfd/archures.c
|--- orig.binutils-2.14/bfd/archures.c  2003-04-24 09:36:06.000000000 -0300
|+++ binutils-2.14/bfd/archures.c       2004-11-27 14:22:06.000000000 -0400
--------------------------
File to patch:
its putting files like pp003500 into /tmp/ps2dev/ (below the extracted packages...)

edit: if I put the file in manually with the path /tmp/ps2dev/binutils-2.14/bfd/ xxxxx it is working fine... paths are still messed up though
cory1492
Posts: 216
Joined: Fri Dec 10, 2004 1:49 pm

Post by cory1492 »

looks like Im a moron, and my cvs client was not updating the cvs downloads proper, THANKS PIXEL !!

edit: cygwin finally came through for me and even LIBITO is working now
Post Reply