NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/41266: build.sh invoked mkisofs has wrong path for iso image
>Number: 41266
>Category: toolchain
>Synopsis: build.sh invoked mkisofs has wrong path for iso image
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 22 10:15:00 +0000 2009
>Originator: Hauke Fath
>Release: NetBSD 5.0_RC4
>Organization:
>Environment:
System: NetBSD Hochstuhl 5.0_RC4 NetBSD 5.0_RC4 (GENERIC) #0: Thu Apr 16
14:17:47 CEST 2009
hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
A cross-build of netbsd-5 for mac68k fails with
iso_image ===> distrib/miniroot
--- iso_image-mac68k ---
iso_image ===> distrib/mac68k
iso-image ===> etc
--- check_DESTDIR ---
--- check_RELEASEDIR ---
--- iso-image-setup ---
rm -f /var/obj/netbsd-builds/5/mac68k/etc/cdrom.pathlist
echo "mac68k/=/u/netbsd-builds/5/mac68k/releasedir/mac68k/" >>
/var/obj/netbsd-builds/5/mac68k/etc/cdrom.pathlist
mkdir -p /var/obj/netbsd-builds/5/mac68k/etc/cdrom.dir
mkdir -p /u/netbsd-builds/5/mac68k/releasedir/mac68k/installation/cdrom
--- iso-image-mi ---
mkisofs 2.01.01a58 (i386-unknown-netbsd5.0.) Copyright (C) 1993-1997 Eric
Youngdale (C) 1997-2008 Jörg Schilling
/usr/pkg/bin/mkisofs -J -l -hide-joliet-trans-tbl -r -T -V NETBSD_50_RC4
-publisher "The NetBSD Project" -m
"/u/netbsd-builds/5/mac68k/releasedir/mac68k/installation/cdrom" -quiet -hfs
--macbin -map
/u/netbsd-builds/5/mac68k/releasedir/mac68k/installation/misc/extensions.map
-graft-points -path-list /var/obj/netbsd-builds/5/mac68k/etc/cdrom.pathlist -o
/u/netbsd-builds/5/mac68k/releasedir/iso/mac68kcd.iso
/var/obj/netbsd-builds/5/mac68k/etc/cdrom.dir
/usr/pkg/bin/mkisofs: No such file or directory. Unable to open disc image file
'/u/netbsd-builds/5/mac68k/releasedir/iso/mac68kcd.iso'.
*** [iso-image-mi] Error code 2
1 error
-- While src/etc/Makefile creates
"/u/netbsd-builds/5/mac68k/releasedir/mac68k/installation/cdrom",
"/u/netbsd-builds/5/mac68k/releasedir/iso" is never created
until mkisofs wants it.
Note this is a PR against netbsd-5, and any fix should be
pulled up.
>How-To-Repeat:
(Cross-)build netbsd-5 for mac68k, and have build.sh generate
an iso image.
>Fix:
The patch to target iso-image-setup
RCS file: /cvsroot/src/etc/Makefile,v
retrieving revision 1.359.2.3
diff -u -u -r1.359.2.3 Makefile
--- Makefile 27 Mar 2009 14:50:35 -0000 1.359.2.3
+++ Makefile 22 Apr 2009 09:30:53 -0000
@@ -451,6 +451,7 @@
.endfor
echo "${MACHINE}/=${RELEASEDIR}/${RELEASEMACHINEDIR}/" >>
${CDROM.pathlist}
mkdir -p ${CDROM.dir}
+ mkdir -p ${RELEASEDIR}/iso
mkdir -p ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom
# iso-image-mi --
helps (there should probably be a new variable for the image
path that could then be used to form ${CDROM.image}), but the
build then fails with
[...]
--- iso-image-mi ---
mkisofs 2.01.01a58 (i386-unknown-netbsd5.0.) Copyright (C) 1993-1997 Eric
Youngdale (C) 1997-2008 Jörg Schilling
/usr/pkg/bin/mkisofs -J -l -hide-joliet-trans-tbl -r -T -V NETBSD_50_RC4
-publisher "The NetBSD Project" -m
"/u/netbsd-builds/5/mac68k/releasedir/mac68k/installation/cdrom" -quiet -hfs
--macbin -map
/u/netbsd-builds/5/mac68k/releasedir/mac68k/installation/misc/extensions.map
-graft-points -path-list /var/obj/netbsd-builds/5/mac68k/etc/cdrom.pathlist -o
/u/netbsd-builds/5/mac68k/releasedir/iso/mac68kcd.iso
/var/obj/netbsd-builds/5/mac68k/etc/cdrom.dir
/usr/pkg/bin/mkisofs: File
'/u/netbsd-builds/5/mac68k/releasedir/mac68k/installation/misc/BooterManual.stxt.bin'
did grow.
/usr/pkg/bin/mkisofs: Error is considered fatal, aborting.
*** [iso-image-mi] Error code 253
1 error
which my mkisofs fu does not cut.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index