Boris Samorodov
2005-Dec-24 10:02 UTC
6-BETA3 -> 6-STABLE: sys/modules/de: opt_ddb.h: No such file or directory
Hi! I'm upgrading: $ uname -srm FreeBSD 6.0-BETA3 i386 to 6-STABLE. Cvsupped twice, the result is the same. Buildworld stops at: ----- ===> sys/modules/de (depend) @ -> /usr/src/sys machine -> /usr/src/sys/i386/include touch opt_bdg.h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/obj/usr/src/tmp/usr/include /usr/src/sys/modules/de/../../pci/if_de.c /usr/src/sys/modules/de/../../pci/if_de.c:43:21: opt_ddb.h: No such file or directory mkdep: compile failed *** Error code 1 ----- $ grep -v ^# /etc/make.conf CPUTYPE?=pentium3 INSTALL=install -C COPY=-C MAKE_SHELL?=sh NO_BLUETOOTH= true NO_INET6= true NO_FORTRAN= true # do not build g77 and related libraries NO_MODULES= true # do not build modules with the kernel NO_SENDMAIL= true MODULES_WITH_WORLD=true # do not build modules when building kernel DOC_LANG= en_US.ISO_8859-1 ru_RU.KOI8-R KERNCONF?=TFADH X_WINDOW_SYSTEM=xorg PERL_VER=5.8.7 PERL_VERSION=5.8.7 USE_BDB=43 ----- Any ideas? Thanks. WBR -- bsam
Xin LI
2005-Dec-24 10:20 UTC
6-BETA3 -> 6-STABLE: sys/modules/de: opt_ddb.h: No such file or directory
Hi, On 12/25/05, Boris Samorodov <bsam@ipt.ru> wrote:> to 6-STABLE. Cvsupped twice, the result is the same. Buildworld stops > at: > ----- > ===> sys/modules/de (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > touch opt_bdg.h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/obj/usr/src/tmp/usr/include /usr/src/sys/modules/de/../../pci/if_de.c > /usr/src/sys/modules/de/../../pci/if_de.c:43:21: opt_ddb.h: No such file or directory > mkdep: compile failedLooks that removing MODULES_WITH_WORLD=true would work around the issue, would you please try it? (Yes I think this is a bug that makes configurating the kernel a prerequirsture of MODULES_WITH_WORLD world target, though. Will look into the issue tomorrow.) Cheers, -- Xin LI <delphij@delphij.net> http://www.delphij.net
Roman V. Palagin
2005-Dec-26 12:49 UTC
6-BETA3 -> 6-STABLE: sys/modules/de: opt_ddb.h: No such file or directory
On Dec 25, at 2:20am +0800, Xin LI wrote:> On 12/25/05, Boris Samorodov <bsam@ipt.ru> wrote: > > to 6-STABLE. Cvsupped twice, the result is the same. Buildworld stops > > at: > > ----- > > ===> sys/modules/de (depend) > > @ -> /usr/src/sys > > machine -> /usr/src/sys/i386/include > > touch opt_bdg.h > > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > > rm -f .depend > > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/obj/usr/src/tmp/usr/include /usr/src/sys/modules/de/../../pci/if_de.c > > /usr/src/sys/modules/de/../../pci/if_de.c:43:21: opt_ddb.h: No such file or directory > > mkdep: compile failed > > Looks that removing MODULES_WITH_WORLD=true would work around the > issue, would you please try it? > > (Yes I think this is a bug that makes configurating the kernel a > prerequirsture of MODULES_WITH_WORLD world target, though. Will look > into the issue tomorrow.)Yes, this is longstanding bug. You need to MFC rev. 1.5 of sys/modules/de/Makefile to unbreak standalone build of if_de.ko> > Cheers, > -- > Xin LI <delphij@delphij.net> http://www.delphij.net >- Roman --- Any opinions in this posting are my own and not those of my present or previous employers.
Xin LI
2005-Dec-26 18:43 UTC
6-BETA3 -> 6-STABLE: sys/modules/de: opt_ddb.h: No such file or directory
Hi, Roman, On 12/27/05, Roman V. Palagin <romanp@unshadow.net> wrote:> Yes, this is longstanding bug. You need to MFC rev. 1.5 of > sys/modules/de/Makefile to unbreak standalone build of if_de.koCommitted, thanks! Cheers, -- Xin LI <delphij@delphij.net> http://www.delphij.net