tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstrap pkgsrc on FreeMiNT 1.18.0 (EasyMiNT 1.83)



Hi,

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Tue, 27 Aug 2013 
00:06:55 +0900 (JST)

> From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Sun, 25 Aug 2013 
> 16:06:36 +0900 (JST)
> 
>> /usr/bin/diff -u /tmp/bs/bmake/unit-tests/test.exp test.out
>> --- /tmp/bs/bmake/unit-tests/test.exp                   Sun Aug 25 15:13:22 
>> 2013
>> +++ test.out                                    Sun Aug 25 15:17:08 2013
>> @@ -27,6 +27,7 @@
>>  make: "error" line 3: just FYI
>>  make: "error" line 4: warning: this could be serious
>>  make: "error" line 5: this is fatal
>> +*** Error code 1 (ignored)
>>  UT_DOLLAR=This is $UT_FU
>>  UT_FOO=foobar is fubar
>>  UT_FU=fubar
>> @@ -46,11 +47,12 @@
>>  At first, I am
>>  happy
>>  and now: sad
>> -.ERROR: Looks like 'sad' is upset.
>>  *** Error code 1
>>  
>>  Stop.
>>  make: stopped in unit-tests
>> +.ERROR: Looks like 'sad' is upset.
>> +*** Error code 1 (ignored)
>>  simple.1
>>  simple.1
>>  simple.2
>> @@ -342,5 +344,3 @@
>>  five v=is x k=is x
>>  six v=is y k=is y
>>  show-v v=override k=override
>> -*** Error code 1 (ignored)
>> -*** Error code 1 (ignored)
>> *** Error code 1
>> 
>> Stop.
>> bmake: stopped in /tmp/bs/bmake/bootstrap.FreeMiNT/unit-tests
>> *** Error code 1
>> 
>> Stop.
>> bmake: stopped in /tmp/bs/bmake/bootstrap.FreeMiNT
>> ===> exited with status 1
>> aborted.
> 
> At least, second difference part is caused by tr -d '\015'.
> EasyMiNT's tr is from GNU textutils 2.0.11.

tr is not guilty. | cat or other pipe related operations cause
the problem.

I have found perl's documentation on FreeMiNT.
http://search.cpan.org/~dapm/perl-5.10.1/README.mint

It seems FreeMiNT's pipe has many problems.
I have given up to pass bmake unit-tests on FreeMiNT.
I have following patch.

libnbcompat has a problem. I will investigate it later.

Index: Makefile.in
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bmake/files/Makefile.in,v
retrieving revision 1.20
diff -u -r1.20 Makefile.in
--- Makefile.in 18 Jun 2011 22:39:46 -0000      1.20
+++ Makefile.in 27 Aug 2013 13:08:35 -0000
@@ -142,4 +142,8 @@
 
 # A simple unit-test driver to help catch regressions
 accept test:
+.if ${OS} != "FreeMiNT"
        cd ${.CURDIR}/unit-tests && ${.MAKE} -r -m / 
TEST_MAKE=${TEST_MAKE:U${.OBJDIR}/${PROG:T}} ${.TARGET}
+.else
+       true
+.endif

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index