Can't compile pkg on mips

Maciej Milewski milu at dat.pl
Wed Sep 24 21:28:25 UTC 2014


Hi,
I have problem with compiling pkg-1.3.8 on my RSPro mips board:
===>  Building for pkg-1.3.8
/usr/bin/make  all-recursive
Making all in external
/usr/bin/make  all-am
Making all in libpkg
Making all in repo
Making all in binary
Making all in .
Making all in src
  CC       pkg-info.o
cc1: warnings being treated as errors
info.c: In function 'exec_info':
info.c:266: warning: implicit declaration of function 'cap_rights_init'
info.c:267: warning: passing argument 2 of 'cap_rights_limit' makes
integer from pointer without a cast
*** [pkg-info.o] Error code 1

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/src
1 error

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/src
*** [all-recursive] Error code 1

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8
1 error

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8
*** [all] Error code 2

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8
1 error

make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg

However my system isn't quite fresh (it's 10-CURRENT r253582) if that
might make the difference. Currently ports are throwing:
===>  pkgconf-0.9.7 pkg(8) must be version 1.3.8 or greater, but you
have 1.2.7_3. You must upgrade pkg(8) first.
and I'm stuck. Any hints are welcome.

-- 
Pozdrawiam,
Maciej Milewski




More information about the freebsd-pkg mailing list