NetBSD-Bugs archive

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

toolchain/50010: netbsd-7 distribution doesn't build with MKISCSI=no or MKZFS=no



>Number:         50010
>Category:       toolchain
>Synopsis:       netbsd-7 distribution doesn't build with MKISCSI=no or MKZFS=no
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 28 20:45:00 +0000 2015
>Originator:     Piotr Meyer
>Release:        netbsd-7 from Jul 28 2015
>Organization:
>Environment:
NetBSD dodo.smutek.pl 7.99.9 NetBSD 7.99.9 (GENERIC) #0: Sun Apr  5 19:45:47 CEST 2015  aniou%dodo.smutek.pl@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
With MKZFS=no and MKISCSI=no build fails with:

dodo# ./build.sh -O /usr/obj.7 -j3 -u -VTMPDIR=/tmp distribution 
...

======  6 missing files in DESTDIR  ========
Files in flist but missing from DESTDIR.
File wasn't installed ?
------------------------------------------
./stand/amd64-xen/7.0/modules/iscsi
./stand/amd64-xen/7.0/modules/iscsi/iscsi.kmod
./stand/amd64-xen/7.0/modules/solaris
./stand/amd64-xen/7.0/modules/solaris/solaris.kmod
./stand/amd64-xen/7.0/modules/zfs
./stand/amd64-xen/7.0/modules/zfs/zfs.kmod
========  end of 6 missing files  ==========
*** [checkflist] Error code 1

nbmake[1]: stopped in /usr/src.7/distrib/sets
1 error

nbmake[1]: stopped in /usr/src.7/distrib/sets
*** [distribution] Error code 2

nbmake: stopped in /usr/src.7
1 error

nbmake: stopped in /usr/src.7

ERROR: Failed to make distribution
*** BUILD ABORTED ***


>How-To-Repeat:

>Fix:
Add appropriate flags to lists. For amd64 (tested):

dodo# diff -u distrib/sets/lists/modules/md.amd64-orig distrib/sets/lists/modules/md.amd64  
--- distrib/sets/lists/modules/md.amd64-orig    2015-06-28 21:50:21.000000000 +0200
+++ distrib/sets/lists/modules/md.amd64 2015-06-28 21:52:08.000000000 +0200
@@ -342,8 +342,8 @@
 ./stand/amd64-xen/@OSRELEASE@/modules/if_smsc/if_smsc.kmod             base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/iic                              base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/iic/iic.kmod                     base-kernel-modules     kmod,compatmodules
-./stand/amd64-xen/@OSRELEASE@/modules/iscsi                            base-kernel-modules     kmod,compatmodules
-./stand/amd64-xen/@OSRELEASE@/modules/iscsi/iscsi.kmod                 base-kernel-modules     kmod,compatmodules
+./stand/amd64-xen/@OSRELEASE@/modules/iscsi                            base-kernel-modules     kmod,compatmodules,iscsi
+./stand/amd64-xen/@OSRELEASE@/modules/iscsi/iscsi.kmod                 base-kernel-modules     kmod,compatmodules,iscsi
 ./stand/amd64-xen/@OSRELEASE@/modules/itesio                           base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/itesio/itesio.kmod               base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/kernfs                           base-kernel-modules     kmod,compatmodules
@@ -458,8 +458,8 @@
 ./stand/amd64-xen/@OSRELEASE@/modules/sljit/sljit.kmod                 base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/smbfs                            base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/smbfs/smbfs.kmod                 base-kernel-modules     kmod,compatmodules
-./stand/amd64-xen/@OSRELEASE@/modules/solaris                          base-kernel-modules     kmod,compatmodules
-./stand/amd64-xen/@OSRELEASE@/modules/solaris/solaris.kmod             base-kernel-modules     kmod,compatmodules
+./stand/amd64-xen/@OSRELEASE@/modules/solaris                          base-kernel-modules     kmod,compatmodules,solaris
+./stand/amd64-xen/@OSRELEASE@/modules/solaris/solaris.kmod             base-kernel-modules     kmod,compatmodules,solaris
 ./stand/amd64-xen/@OSRELEASE@/modules/spdmem                           base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/spdmem/spdmem.kmod               base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/suser                            base-kernel-modules     kmod,compatmodules
@@ -518,8 +518,8 @@
 ./stand/amd64-xen/@OSRELEASE@/modules/xc3028/xc3028.kmod               base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/xc5k                             base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/xc5k/xc5k.kmod                   base-kernel-modules     kmod,compatmodules
-./stand/amd64-xen/@OSRELEASE@/modules/zfs                              base-kernel-modules     kmod,compatmodules
-./stand/amd64-xen/@OSRELEASE@/modules/zfs/zfs.kmod                     base-kernel-modules     kmod,compatmodules
+./stand/amd64-xen/@OSRELEASE@/modules/zfs                              base-kernel-modules     kmod,compatmodules,zfs
+./stand/amd64-xen/@OSRELEASE@/modules/zfs/zfs.kmod                     base-kernel-modules     kmod,compatmodules,zfs
 ./stand/amd64-xen/@OSRELEASE@/modules/zl10353                          base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/zl10353/zl10353.kmod             base-kernel-modules     kmod,compatmodules
 ./stand/amd64-xen/@OSRELEASE@/modules/zlib                             base-kernel-modules     kmod,compatmodules

...and for i386 (warning - I didn't tested following):

dodo# diff -u distrib/sets/lists/modules/md.i386-orig distrib/sets/lists/modules/md.i386                                         
--- distrib/sets/lists/modules/md.i386-orig     2015-06-28 22:23:12.000000000 +0200
+++ distrib/sets/lists/modules/md.i386  2015-06-28 22:32:33.000000000 +0200
@@ -366,8 +366,8 @@
 ./stand/i386-xen/@OSRELEASE@/modules/if_smsc/if_smsc.kmod              base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/iic                               base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/iic/iic.kmod                      base-kernel-modules     kmod,compatmodules
-./stand/i386-xen/@OSRELEASE@/modules/iscsi                             base-kernel-modules     kmod,compatmodules
-./stand/i386-xen/@OSRELEASE@/modules/iscsi/iscsi.kmod                  base-kernel-modules     kmod,compatmodules
+./stand/i386-xen/@OSRELEASE@/modules/iscsi                             base-kernel-modules     kmod,compatmodules,iscsi
+./stand/i386-xen/@OSRELEASE@/modules/iscsi/iscsi.kmod                  base-kernel-modules     kmod,compatmodules,iscsi
 ./stand/i386-xen/@OSRELEASE@/modules/itesio                            base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/itesio/itesio.kmod                        base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/kernfs                            base-kernel-modules     kmod,compatmodules
@@ -494,8 +494,8 @@
 ./stand/i386-xen/@OSRELEASE@/modules/sljit/sljit.kmod                  base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/smbfs                             base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/smbfs/smbfs.kmod                  base-kernel-modules     kmod,compatmodules
-./stand/i386-xen/@OSRELEASE@/modules/solaris                           base-kernel-modules     kmod,compatmodules
-./stand/i386-xen/@OSRELEASE@/modules/solaris/solaris.kmod              base-kernel-modules     kmod,compatmodules
+./stand/i386-xen/@OSRELEASE@/modules/solaris                           base-kernel-modules     kmod,compatmodules,solaris
+./stand/i386-xen/@OSRELEASE@/modules/solaris/solaris.kmod              base-kernel-modules     kmod,compatmodules,solaris
 ./stand/i386-xen/@OSRELEASE@/modules/spdmem                            base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/spdmem/spdmem.kmod                        base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/suser                             base-kernel-modules     kmod,compatmodules
@@ -560,8 +560,8 @@
 ./stand/i386-xen/@OSRELEASE@/modules/xc3028/xc3028.kmod                        base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/xc5k                              base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/xc5k/xc5k.kmod                    base-kernel-modules     kmod,compatmodules
-./stand/i386-xen/@OSRELEASE@/modules/zfs                               base-kernel-modules     kmod,compatmodules
-./stand/i386-xen/@OSRELEASE@/modules/zfs/zfs.kmod                      base-kernel-modules     kmod,compatmodules
+./stand/i386-xen/@OSRELEASE@/modules/zfs                               base-kernel-modules     kmod,compatmodules,zfs
+./stand/i386-xen/@OSRELEASE@/modules/zfs/zfs.kmod                      base-kernel-modules     kmod,compatmodules,zfs
 ./stand/i386-xen/@OSRELEASE@/modules/zl10353                           base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/zl10353/zl10353.kmod              base-kernel-modules     kmod,compatmodules
 ./stand/i386-xen/@OSRELEASE@/modules/zlib                              base-kernel-modules     kmod,compatmodules
@@ -755,8 +755,8 @@
 ./stand/i386pae-xen/@OSRELEASE@/modules/if_smsc/if_smsc.kmod           base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/iic                            base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/iic/iic.kmod                   base-kernel-modules     kmod,compatmodules
-./stand/i386pae-xen/@OSRELEASE@/modules/iscsi                          base-kernel-modules     kmod,compatmodules
-./stand/i386pae-xen/@OSRELEASE@/modules/iscsi/iscsi.kmod               base-kernel-modules     kmod,compatmodules
+./stand/i386pae-xen/@OSRELEASE@/modules/iscsi                          base-kernel-modules     kmod,compatmodules,iscsi
+./stand/i386pae-xen/@OSRELEASE@/modules/iscsi/iscsi.kmod               base-kernel-modules     kmod,compatmodules,iscsi
 ./stand/i386pae-xen/@OSRELEASE@/modules/itesio                         base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/itesio/itesio.kmod             base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/kernfs                         base-kernel-modules     kmod,compatmodules
@@ -883,8 +883,8 @@
 ./stand/i386pae-xen/@OSRELEASE@/modules/sljit/sljit.kmod               base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/smbfs                          base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/smbfs/smbfs.kmod               base-kernel-modules     kmod,compatmodules
-./stand/i386pae-xen/@OSRELEASE@/modules/solaris                                base-kernel-modules     kmod,compatmodules
-./stand/i386pae-xen/@OSRELEASE@/modules/solaris/solaris.kmod           base-kernel-modules     kmod,compatmodules
+./stand/i386pae-xen/@OSRELEASE@/modules/solaris                                base-kernel-modules     kmod,compatmodules,solaris
+./stand/i386pae-xen/@OSRELEASE@/modules/solaris/solaris.kmod           base-kernel-modules     kmod,compatmodules,solaris
 ./stand/i386pae-xen/@OSRELEASE@/modules/spdmem                         base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/spdmem/spdmem.kmod             base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/suser                          base-kernel-modules     kmod,compatmodules
@@ -949,8 +949,8 @@
 ./stand/i386pae-xen/@OSRELEASE@/modules/xc3028/xc3028.kmod             base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/xc5k                           base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/xc5k/xc5k.kmod                 base-kernel-modules     kmod,compatmodules
-./stand/i386pae-xen/@OSRELEASE@/modules/zfs                            base-kernel-modules     kmod,compatmodules
-./stand/i386pae-xen/@OSRELEASE@/modules/zfs/zfs.kmod                   base-kernel-modules     kmod,compatmodules
+./stand/i386pae-xen/@OSRELEASE@/modules/zfs                            base-kernel-modules     kmod,compatmodules,zfs
+./stand/i386pae-xen/@OSRELEASE@/modules/zfs/zfs.kmod                   base-kernel-modules     kmod,compatmodules,zfs
 ./stand/i386pae-xen/@OSRELEASE@/modules/zl10353                                base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/zl10353/zl10353.kmod           base-kernel-modules     kmod,compatmodules
 ./stand/i386pae-xen/@OSRELEASE@/modules/zlib                           base-kernel-modules     kmod,compatmodules





Home | Main Index | Thread Index | Old Index