pkgsrc-Users archive

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

Fwd: Error bootstrapping pkgsrc Q3-2017 on MIPS Linux






Hello,

as a little side project I decided to test the pkgsrc status on a tiny device
running OpenWRT (chaos_calmer/15.05.1/ar71xx)  mipsel

root@squirrel:/mnt/pkgsrc/pkgtools/bootstrap-mk-files# cat /proc/cpuinfo
system type             : Atheros AR9330 rev 1
machine                 : Squirrel V1.0
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root@squirrel:/mnt/pkgsrc/pkgtools/bootstrap-mk-files# uname -a
Linux squirrel 3.18.45 #49 Thu Jul 13 17:58:25 PDT 2017 mips GNU/Linux


I have pkgsrc extracted on an external USB flash drive storage and
symlinks from /usr/pkg --> /mnt/pkg
/usr/pkgsrc --> /mnt/pkgsrc
/var/db/pkg  -->  /mnt/db/pkg

Running bootstrap I came across the following problem

root@squirrel:/mnt/pkgsrc/bootstrap# ./bootstrap
<----cu--->
 running: (cd /mnt/pkgsrc/pkgtools/bootstrap-mk-files && /mnt/pkgsrc/bootstrap/work/bin/bmake  MAKE_JOBS=1 PKG_COMPRESSION=none -DPKG_PRESERVE MAKECONF=/mnt/pkgsrc/bootstrap/work/mk.conf install)
Must set MACHINE_ARCH to one of mipseb or mipsel
*** Error code 1
root@squirrel:/mnt/pkgsrc/bootstrap#

So I added the MACHINE_ARCH=mipsel to the command

root@squirrel:/mnt/pkgsrc/bootstrap# /mnt/pkgsrc/bootstrap/work/bin/bmake  MAKE_JOBS
=1 PKG_COMPRESSION=none MACHINE_ARCH=mipsel -DPKG_PRESERVE MAKECONF=/mnt/pkgsrc/bootstrap/work/mk.conf
 install

===> Installing for cwrappers-20170611
=> Creating installation directories
/usr/bin/install   -c -s   -o root -g root -m 755 as-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/as-wrapper
/usr/bin/install   -c -s   -o root -g root -m 755 cc-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/cc-wrapper
/usr/bin/install   -c -s   -o root -g root -m 755 c++-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/c++-wrapper
/usr/bin/install   -c -s   -o root -g root -m 755 cpp-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/cpp-wrapper
/usr/bin/install   -c -s   -o root -g root -m 755 f77-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/f77-wrapper
/usr/bin/install   -c -s   -o root -g root -m 755 imake-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/imake-wrapper
/usr/bin/install   -c -s   -o root -g root -m 755 ld-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/ld-wrapper
/usr/bin/install   -c -s   -o root -g root -m 755 libtool-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/libtool-wrapper
/usr/bin/install   -c -s   -o root -g root -m 755 shlibtool-wrapper /mnt/pkgsrc/bootstrap/work/wrk/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/shlibtool-wrapper
awk: /mnt/pkgsrc/pkgtools/cwrappers/../../mk/plist/plist-info.awk:107: Unexpected end of string
*** Error code 1

Stop.
bmake[4]: stopped in /mnt/pkgsrc/pkgtools/cwrappers
*** Error code 1


Can you please suggest ?

Thank you




Home | Main Index | Thread Index | Old Index