tech-pkg archive

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

bootstrap pkgsrc on FreeMiNT 1.18.0 (EasyMiNT 1.83)



Hi,

I am trying to bootstrap pkgsrc on my EasyMiNT 1.83 environment.
The environment is running on emulators/aranym.

You can install EasyMiNT 1.83 (FreeMiNT 1.18.0 distribution) with
following tarball. Unpack, run "aranym -c easymint.conf",
run c:\em.183\easym68k.prg, and select XaAES setup.
You can access pkgsrc tree via hostfs (see easymint.conf).

http://ftp.netbsd.org/pub/NetBSD/misc/ryoon/EasyMiNT-1.83-aranym.tar.gz

With following patch, bmake is built. and unit-tests failed with
following errors. In detail see
http://www.netbsd.org/~ryoon/20130825-freemint-bootstrap-pkgsrc.log

How to pass unit tests?

P.S.
gcc is 2.95.3.
binutils is 2.21.
bash (/bin/sh) is 2.05a,0(1)-release.
uname -a is "FreeMiNT easymint 1.18r 2.6 atariclone mc68040".


Index: files/machine.sh
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bmake/files/machine.sh,v
retrieving revision 1.8
diff -u -r1.8 machine.sh
--- files/machine.sh    26 Jul 2013 09:38:15 -0000      1.8
+++ files/machine.sh    25 Aug 2013 06:36:11 -0000
@@ -90,6 +90,9 @@
 GNU/kFreeBSD)
        MACHINE_ARCH=$MACHINE
        ;;
+FreeMiNT)
+       MACHINE_ARCH=m68k
+       ;;
 esac
 
 MACHINE=${MACHINE:-$OS$OSMAJOR}
Index: files/os.sh
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bmake/files/os.sh,v
retrieving revision 1.8
diff -u -r1.8 os.sh
--- files/os.sh 30 Jul 2013 12:27:20 -0000      1.8
+++ files/os.sh 25 Aug 2013 06:36:11 -0000
@@ -198,6 +198,9 @@
 GNU/kFreeBSD)
        MACHINE_ARCH=$MACHINE
        ;;
+FreeMiNT)
+       MACHINE_ARCH=m68k
+       ;;
 esac
 
 HOSTNAME=${HOSTNAME:-`( hostname ) 2>/dev/null`}
Index: files/util.c
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bmake/files/util.c,v
retrieving revision 1.10
diff -u -r1.10 util.c
--- files/util.c        18 Jun 2011 22:39:46 -0000      1.10
+++ files/util.c        25 Aug 2013 06:36:11 -0000
@@ -6,6 +6,10 @@
  *     $Id: util.c,v 1.10 2011/06/18 22:39:46 bsiegert Exp $
  */
 
+/* workaround for EasyMiNT 1.70 and 1.83 */
+#if defined(__MINT__)
+#include <signal.h>
+#endif
 #include "make.h"
 
 #ifndef MAKE_NATIVE
@@ -18,7 +22,10 @@
 
 #include <errno.h>
 #include <time.h>
+/* workaround for EasyMiNT 1.70 and 1.83 */
+#if !defined(__MINT__)
 #include <signal.h>
+#endif
 
 #if !defined(HAVE_STRERROR)
 extern int errno, sys_nerr;




/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.


Home | Main Index | Thread Index | Old Index