Current-Users archive

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

Re: building distribution on amd64 fails



christos%astron.com@localhost wrote:

> >dependall ===> compat/external/lib/../bsd/bind/lib/libbind9
> >    compile  libbind9/check.o
> >    compile  libbind9/getaddresses.o
> >    compile  libbind9/version.o
> >    compile  libbind9/version.so
> >      build  libbind9/libbind9.a
> >      build  libbind9/libbind9_p.a
> >      build  libbind9/libbind9_pic.a
> >nbmake: don't know how to make
> >/u/NetBSD/arch/amd64/obj/compat/lib/libpthread/libpthread.so. Stop
> >
> >nbmake: stopped in /u/NetBSD/src/compat/external/bsd/bind/lib/libbind9
> >
> >*** Failed target:  dependall
> >*** Failed command: cd
> >/u/NetBSD/src/compat/external/bsd/bind/lib/libbind9;
> >/u/NetBSD/arch/amd64/TOOLS/bin/nbmake realall
> >*** Error code 2
> >
> >Stop.
> >nbmake: stopped in /u/NetBSD/src/compat/external/bsd/bind/lib/libbind9
> >
> >
> >Another problem w/ compat/external/bsd/bind/lib: There are no objdirs
> >build while running "build.sh -u -N 1 -x -U -m amd64 -O
> >/u/NetBSD/arch/amd64/obj\
> > -D /u/NetBSD/ar ch/amd64/dest -T /u/NetBSD/arch/amd64/TOOLS distribution"
> >
> >Building these manually (by running
> >"/u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 obj"
> >in src/compat/external/bsd/bind/lib ) helps at least keeping the objs out of
> >the src-dir, but I wouldn't call this a "solution" ;-)
> 
> I am still trying to figure out where this needs to be called from.

It looks some inconsistency around external/lib builds.

src/lib/Makefile has the following lines:
---
SUBDIR+= ../external/bsd/atf/lib/libatf-c ../external/bsd/atf/lib/libatf-c++
 :
SUBDIR+=        ../external/bsd/openldap/lib
---

but external/lib/Makefile also has those libs:
---
SUBDIR+= ../bsd/atf/lib
 :
SUBDIR+= ../bsd/openldap/lib
---

and compat/external/lib/Makefile has only two libs:
---
.if (${MKATF} != "no")
SUBDIR+= ../bsd/atf/lib
.endif

SUBDIR+= ../bsd/bind/lib
---

${.OBJDIR} under external/bsd/atf/lib dirs are created in src/lib/Makefile,
but not in external/bsd/bind/lib dirs.

Maybe we should remove external ones from src/lib/Makefile
and add "external/lib" to SUBDIR in src/compat/Makefile?

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index