NetBSD-Bugs archive

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

kern/59334: KERNEL_DIR: the `image' target fails to create /netbsd dir



>Number:         59334
>Category:       kern
>Synopsis:       KERNEL_DIR: the `image' target fails to create /netbsd dir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 20 15:35:00 +0000 2025
>Originator:     Paul Goyette
>Release:        NetBSD 10.99.14
>Organization:
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+
>Environment:
	
	
System: NetBSD speedy.whooppee.com 10.99.14 NetBSD 10.99.14 (SPEEDY 2025-04-17 14:29:40 UTC) #0: Thu Apr 17 17:39:06 UTC 2025 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
When building a ``build.sh release'' makefs attempts to create a direcory
named "netbsd", but the fs spec wants a regular file there.
	
>How-To-Repeat:

===> build.sh command:    ./build.sh -T /build/netbsd-work/tools/x86_64/amd64 -D /build/netbsd-work/dest/amd64 -O /build/netbsd-work/obj/amd64 -R /build/netbsd-work/release -V RELEASEMACHINEDIR=amd64 -V MKDEBUG=yes -V MKDEBUGKERNEL=yes -V MKDEBUGLIB=yes -V KERNEL_DIR=yes -U -u -N2 -m amd64 -j1 release
...
Preparing spec files for makefs...
rm -f fs.spec
if [ -d cdrom/etc/mtree ]; then				 cat cdrom/etc/mtree/* |				 /build/netbsd-work/tools/x86_64/amd64/bin/nbsed -e 's/ size=[0-9]*//'		 -e '/^\.\/dev\/.*type=char/d'					 -e '/^\.\/etc\/gettytab/d' > fs.spec;	 fi
if [ -r cdrom/dev/MAKEDEV ] &&				 false == true; then		 /bin/sh cdrom/dev/MAKEDEV -s init |		 /build/netbsd-work/tools/x86_64/amd64/bin/nbsed -e '/^\. type=dir/d' 		 -e 's,^\.,./dev,' >> fs.spec;	 fi
cat /build/netbsd-work/src_ro/distrib/amd64/cdroms/bootcd/../spec.in >> fs.spec
if [ ! -s fs.spec ]; then  /bin/sh /build/netbsd-work/src_ro/etc/makespec -d cdrom . > fs.spec;  else  for i in amd64 source  boot.cfg; do if [ -n "$i" ] && [ -e cdrom/$i ]; then  /bin/sh /build/netbsd-work/src_ro/etc/makespec -d cdrom $i >> fs.spec;  fi;  done;  fi
/build/netbsd-work/tools/x86_64/amd64/bin/nbmakefs -N /build/netbsd-work/src_ro/etc -t cd9660 -F fs.spec -xx    -o rockridge,label=NETBSD_109914,publisher=The_NetBSD_Project,bootimage=i386\;bootxx.amd64,no-emul-boot,allow-multidot,bootimage=i386\;efiboot.img,platformid=efi,no-emul-boot  boot.iso cdrom
nbmakefs: existing entry for `netbsd', type `dir' does not match type `file'
nbmakefs: failed at line 10718 of the specification
*** Failed target: image
*** In directory: /build/netbsd-work/src_ro/distrib/amd64/cdroms/bootcd
*** Failed commands:
	@echo Preparing spec files for makefs...
	${RM} -f ${WORKSPEC}
	=> rm -f fs.spec
	if [ -d cdrom/etc/mtree ]; then				 cat cdrom/etc/mtree/* |				 ${TOOL_SED} -e 's/ size=[0-9]*//'		 ${DELDEV}					 -e '/^\.\/etc\/gettytab/d' > ${WORKSPEC};	 fi
	=> if [ -d cdrom/etc/mtree ]; then				 cat cdrom/etc/mtree/* |				 /build/netbsd-work/tools/x86_64/amd64/bin/nbsed -e 's/ size=[0-9]*//'		 -e '/^\.\/dev\/.*type=char/d'					 -e '/^\.\/etc\/gettytab/d' > fs.spec;	 fi
	if [ -r cdrom/dev/MAKEDEV ] &&				 ${CDDEV_POPULATE} == true; then		 ${HOST_SH} cdrom/dev/MAKEDEV -s init |		 ${TOOL_SED} -e '/^\. type=dir/d' 		 -e 's,^\.,./dev,' >> ${WORKSPEC};	 fi
	=> if [ -r cdrom/dev/MAKEDEV ] &&				 false == true; then		 /bin/sh cdrom/dev/MAKEDEV -s init |		 /build/netbsd-work/tools/x86_64/amd64/bin/nbsed -e '/^\. type=dir/d' 		 -e 's,^\.,./dev,' >> fs.spec;	 fi
	cat ${SPEC_EXTRA} >> ${WORKSPEC}
	=> cat /build/netbsd-work/src_ro/distrib/amd64/cdroms/bootcd/../spec.in >> fs.spec
	if [ ! -s ${WORKSPEC} ]; then  ${MAKESPEC} -d cdrom . > ${WORKSPEC};  else  for i in ${RELEASEMACHINEDIR} source ${CDEXTRA} ${CDBUILDEXTRA}; do if [ -n "$$i" ] && [ -e cdrom/$$i ]; then  ${MAKESPEC} -d cdrom $$i >> ${WORKSPEC};  fi;  done;  fi
	=> if [ ! -s fs.spec ]; then  /bin/sh /build/netbsd-work/src_ro/etc/makespec -d cdrom . > fs.spec;  else  for i in amd64 source  boot.cfg; do if [ -n "$i" ] && [ -e cdrom/$i ]; then  /bin/sh /build/netbsd-work/src_ro/etc/makespec -d cdrom $i >> fs.spec;  fi;  done;  fi
	${TOOL_MAKEFS} -N ${NETBSDSRCDIR}/etc -t cd9660 -F ${WORKSPEC} -xx  ${MAKEFS_TIMESTAMP} ${CDMAKEFSEXTRAOPTS} -o ${_CDMAKEFSOPTIONS:Q}  ${CDIMAGE} cdrom
	=> /build/netbsd-work/tools/x86_64/amd64/bin/nbmakefs -N /build/netbsd-work/src_ro/etc -t cd9660 -F fs.spec -xx    -o rockridge,label=NETBSD_109914,publisher=The_NetBSD_Project,bootimage=i386\;bootxx.amd64,no-emul-boot,allow-multidot,bootimage=i386\;efiboot.img,platformid=efi,no-emul-boot  boot.iso cdrom
*** [image] Error code 1
nbmake[5]: stopped making "release" in /build/netbsd-work/src_ro/distrib/amd64/cdroms/bootcd
>Fix:
>Unformatted:
 	
 	
 


Home | Main Index | Thread Index | Old Index