pkgsrc-Users archive

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

Bootstrapping fails on Linux



Hello,

I'm new to pkgsrc and thought I'd monkey around a bit on Linux. Alas, bootstrapping fails when trying to build awg (2nd round):

/usr/include/bits/pthreadtypes.h:122: warning: unnamed struct/union that defines no instances
cc -L/home/andreas/pkgsrc/bootstrap/work.linux/wrk/devel/bmake/work/libnbcompat -Wl,-R/nonraid/pkgsrc/lib -o bmake main.o meta.o arch.o buf.o compat.o cond.o dir.o for.o getopt hash.o job.o make.o make_malloc.o parse.o sigcompat.o str.o strlist.o suff.o targ.o trace.o var.o util.o lstAppend.o lstDupl.o lstInit.o lstOpen.o lstAtEnd.o lstEnQueue.o lstInsert.o lstAtFront.o lstIsAtEnd.o lstClose.o lstFind.o lstIsEmpty.o lstRemove.o lstConcat.o lstFindFrom.o lstLast.o lstReplace.o lstFirst.o lstDatum.o lstForEach.o lstMember.o lstSucc.o lstDeQueue.o lstForEachFrom.o lstDestroy.o lstNext.o lstPrev.o stresep.o -lnbcompat
=> Unwrapping files-to-be-installed.
===> Installing for bmake-20150505
WARNING: Your umask is ``0002''.
WARNING: If this is not desired, set it to an appropriate value (022) and install
WARNING: this package again by ``/home/andreas/pkgsrc/bootstrap/work.linux/bin/bmake deinstall reinstall''.
=> Creating installation directories
/bin/install -c -s -o andreas -g andreas -m 755 /home/andreas/pkgsrc/bootstrap/work.linux/wrk/devel/bmake/work/bmake/bmake /nonraid/pkgsrc/bin
/bin/install -c -o andreas -g andreas -m 644 /home/andreas/pkgsrc/bootstrap/work.linux/wrk/devel/bmake/work/bmake/bmake.1 /nonraid/pkgsrc/man/man1
=> Automatic manual page handling
=> Registering installation for bmake-20150505
bmake-20150505 requires installed package bootstrap-mk-files-20150908
===> running: (cd /home/andreas/pkgsrc/lang/nawk && /home/andreas/pkgsrc/bootstrap/work.linux/bin/bmake  MAKE_JOBS=1 USE_DESTDIR=no -DPKG_PRESERVE MAKECONF=/home/andreas/pkgsrc/bootstrap/work.linux/mk.conf install)
===> Installing dependencies for nawk-20121220nb1
===> Overriding tools for nawk-20121220nb1
===> Extracting for nawk-20121220nb1
===> Patching for nawk-20121220nb1
===> Creating toolchain wrappers for nawk-20121220nb1
===> Configuring for nawk-20121220nb1
===> Building for nawk-20121220nb1
cc -O2 -march=i586 -DYYMAXDEPTH=300  -c ytab.c
/n/fs/fac/bwk/awk/awkgram.y:28: awk.h: No such file or directory
*** [ytab.o] Error code 1

bmake: stopped in /home/andreas/pkgsrc/bootstrap/work.linux/wrk/lang/nawk/work/nawk-20121220
1 error

bmake: stopped in /home/andreas/pkgsrc/bootstrap/work.linux/wrk/lang/nawk/work/nawk-20121220
*** Error code 2

I prepended the pkgsrc/bin root to my PATH, but given that bmake is addressed explicitely this will hardly matter. Any ideas about this,or is it just too odd to try this on linux?

TIA, regards
Andreas


Home | Main Index | Thread Index | Old Index