pkgsrc-Users archive

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

Aw: Re: libuv does not compile



coypu%SDF.ORG@localhost wrote:

> Can you share how it fails?

  CC       src/unix/libuv_la-netbsd.lo
In file included from /usr/include/uvm/uvm_extern.h:483:0,
                 from src/unix/netbsd.c:41:
/usr/include/uvm/uvm_physseg.h:69:1: error: unknown type name 'paddr_t'
 paddr_t uvm_physseg_get_start(uvm_physseg_t);
 ^
/usr/include/uvm/uvm_physseg.h:70:1: error: unknown type name 'paddr_t'
 paddr_t uvm_physseg_get_end(uvm_physseg_t);
 ^
/usr/include/uvm/uvm_physseg.h:72:1: error: unknown type name 'paddr_t'
 paddr_t uvm_physseg_get_avail_start(uvm_physseg_t);
 ^
/usr/include/uvm/uvm_physseg.h:73:1: error: unknown type name 'paddr_t'
 paddr_t uvm_physseg_get_avail_end(uvm_physseg_t);
 ^
/usr/include/uvm/uvm_physseg.h:75:52: error: unknown type name 'paddr_t'
 struct vm_page * uvm_physseg_get_pg(uvm_physseg_t, paddr_t);
                                                    ^
/usr/include/uvm/uvm_physseg.h:96:1: error: unknown type name 'paddr_t'
 paddr_t uvm_physseg_get_highest_frame(void);
 ^
/usr/include/uvm/uvm_physseg.h:100:14: error: expected ')' before 'int'
     paddr_t, int);
              ^
/usr/include/uvm/uvm_physseg.h:102:46: error: unknown type name 'paddr_t'
 bool uvm_page_physunload(uvm_physseg_t, int, paddr_t *);
                                              ^
/usr/include/uvm/uvm_physseg.h:103:52: error: unknown type name 'paddr_t'
 bool uvm_page_physunload_force(uvm_physseg_t, int, paddr_t *);
                                                    ^
/usr/include/uvm/uvm_physseg.h:105:49: error: expected ')' before '*' token
 uvm_physseg_t uvm_physseg_find(paddr_t, psize_t *);
                                                 ^
/usr/include/uvm/uvm_physseg.h:107:32: error: expected ')' before 'size_t'
 bool uvm_physseg_plug(paddr_t, size_t, uvm_physseg_t *);
                                ^
/usr/include/uvm/uvm_physseg.h:108:34: error: expected ')' before 'size_t'
 bool uvm_physseg_unplug(paddr_t, size_t);
                                  ^
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/libuv/work/libuv-1.10.1
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/devel/libuv
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/libuv

My changes to mk.conf are:

# cvs diff mk.conf                                                                                                                                                                             
Index: mk.conf
===================================================================
RCS file: /cvsroot/pkgsrc/mk/defaults/mk.conf,v
retrieving revision 1.268
diff -r1.268 mk.conf
1881a1882,1889
> ALLOW_VULNERABLE_PACKAGES=
> PKG_DEFAULT_OPTIONS+= -pulseaudio +oss
> ACCEPTABLE_LICENSES+= vim-license
> ACCEPTABLE_LICENSES+= gnu-agpl-v3
> ACCEPTABLE_LICENSES+= xv-license
> ACCEPTABLE_LICENSES+= lame-license
> ACCEPTABLE_LICENSES+= mplayer-codec-license
> PKG_OPTIONS.firefox= -pulseaudio oss

Both NetBSD and pkgsrc are CURRENT from yesterday, amd64.

Carsten


Home | Main Index | Thread Index | Old Index