pkgsrc-Bugs archive

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

pkg/31955: sysutils/9base doesn't build on NetBSD/macppc



>Number:         31955
>Category:       pkg
>Synopsis:       sysutils/9base doesn't build on NetBSD/macppc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 31 08:57:00 +0000 2005
>Originator:     Emil Hessman
>Release:        NetBSD 3.99.10
>Organization:
>Environment:
NetBSD Latte 3.99.10 NetBSD 3.99.10 (LATTE) #0: Mon Oct 17 10:09:28 CEST 2005  
ceh@Latte:/usr/src/sys/arch/macppc/compile/LATTE macppc
>Description:

sysutils/9base does not build on NetBSD/macppc due to;

cd /usr/local/pkgsrc/sysutils/9base; make

[...]

make: don't know how to make getcallerpc-macppc.o. Stop

make: stopped in /usr/local/tmp/sysutils/9base/work/9base-20051028/lib9
*** Error code 2

make: stopped in /usr/local/tmp/sysutils/9base/work/9base-20051028
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/sysutils/9base
===>
===> There was an error during the ``build´´ phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/local/tmp/sysutils/9base/work/.work.log
===>
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/sysutils/9base

>How-To-Repeat:

Build sysutils/9base on NetBSD/macppc.

cd .../pkgsrc/sysutils/9base; make

>Fix:

Add getcallerpc-macppc.c to solve the problem, see;

diff -burN 9base-20051028.orig/lib9/getcallerpc-macppc.c 
9base-20051028/lib9/getcallerpc-macppc.c
--- 9base-20051028.orig/lib9/getcallerpc-macppc.c       1970-01-01 
01:00:00.000000000 +0100
+++ 9base-20051028/lib9/getcallerpc-macppc.c    2005-10-31 08:43:16.000000000 
+0100
@@ -0,0 +1,7 @@
+#include <lib9.h>
+
+ulong
+getcallerpc(void *x)
+{
+       return (((ulong*)(x))[-4]);
+}




Home | Main Index | Thread Index | Old Index