NetBSD Problem Report #59398

From martin@aprisoft.de  Mon May  5 16:31:24 2025
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5D3521A9239
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  5 May 2025 16:31:24 +0000 (UTC)
Message-Id: <20250505163113.1FF435CC7A2@emmas.aprisoft.de>
Date: Mon,  5 May 2025 18:31:13 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: port-ia64
X-Send-Pr-Version: 3.95

>Number:         59398
>Category:       port-ia64
>Synopsis:       ia64 iso image has bogus /netbsd
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-ia64-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 05 16:35:00 +0000 2025
>Closed-Date:    Sat Oct 04 16:23:04 +0000 2025
>Last-Modified:  Sat Oct 04 16:23:04 +0000 2025
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.14
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD big-apple.aprisoft.de 10.99.14 NetBSD 10.99.14 (POWERMAC_G5.MP) #131: Wed Apr 16 09:44:18 CEST 2025 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/macppc/compile/POWERMAC_G5.MP macppc
Architecture: powerpc
Machine: macppc
>Description:

The build for ia64 "iso-image" tries to copy a build host /netbsd to the
cdrom image staging area:

*** In directory: /home/source/ab/HEAD/src/distrib/ia64/cdroms/installcd
[..]
        => /home/builds/ab/HEAD/ia64/20250505123150Z-tools/bin/ia64--netbsd-inst
all -c -m 0644 /netbsd cdrom/netbsd


This obviously is no good idea, and also breaks the iso-image target on
all build hosts that do not have /netbsd around :-)

>How-To-Repeat:
s/a

>Fix:
yes please

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-ia64/59398: port-ia64
Date: Mon, 5 May 2025 18:40:32 +0200

 On Mon, May 05, 2025 at 04:35:00PM +0000, martin@NetBSD.org wrote:
 > The build for ia64 "iso-image" tries to copy a build host /netbsd to the
 > cdrom image staging area:

 This is probably due to CDINSTKERNEL not being set in
 ia64/cdroms/installcd/Makefile.

 A simple fix would be something like sparc64 uses:

 CDKERNELS=      ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz      netbsd

 but I don't know if ia64 bootloader (do we have one?) could load gzip'd kernels.

 Martin

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59398 CVS commit: src/distrib/ia64/cdroms/installcd
Date: Wed, 7 May 2025 11:47:26 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed May  7 11:47:26 UTC 2025

 Modified Files:
 	src/distrib/ia64/cdroms/installcd: Makefile

 Log Message:
 PR port-ia64/59398: put the GENERIC kernel from this build into the
 cdrom image as /netbsd (instead of /netbsd from the build host)


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/distrib/ia64/cdroms/installcd/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->pending-pullups
State-Changed-By: martin@NetBSD.org
State-Changed-When: Wed, 07 May 2025 11:56:15 +0000
State-Changed-Why:
[pullup-10 #1111]
[pullup-9 #1949]


From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59398 CVS commit: [netbsd-10] src/distrib/ia64/cdroms/installcd
Date: Sat, 10 May 2025 17:50:42 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Sat May 10 17:50:42 UTC 2025

 Modified Files:
 	src/distrib/ia64/cdroms/installcd [netbsd-10]: Makefile

 Log Message:
 Pull up following revision(s) (requested by martin in ticket #1111):
 	distrib/ia64/cdroms/installcd/Makefile: revision 1.5
 PR port-ia64/59398: put the GENERIC kernel from this build into the
 cdrom image as /netbsd (instead of /netbsd from the build host)


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.4.8.1 src/distrib/ia64/cdroms/installcd/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59398 CVS commit: [netbsd-9] src/distrib/ia64/cdroms/installcd
Date: Sat, 10 May 2025 17:56:27 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Sat May 10 17:56:27 UTC 2025

 Modified Files:
 	src/distrib/ia64/cdroms/installcd [netbsd-9]: Makefile

 Log Message:
 Pull up following revision(s) (requested by martin in ticket #1949):
 	distrib/ia64/cdroms/installcd/Makefile: revision 1.5
 PR port-ia64/59398: put the GENERIC kernel from this build into the
 cdrom image as /netbsd (instead of /netbsd from the build host)


 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.3.2.1 src/distrib/ia64/cdroms/installcd/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59398 CVS commit: src/distrib/ia64/cdroms/installcd
Date: Wed, 25 Jun 2025 15:33:34 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Jun 25 15:33:34 UTC 2025

 Modified Files:
 	src/distrib/ia64/cdroms/installcd: Makefile

 Log Message:
 PR port-ia64/59398: fix path to GENERIC kernel so that it works not
 only on some machines (not sure why it worked on the old build cluster).
 Use print-objdir in a source directory that is known to exist.


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 src/distrib/ia64/cdroms/installcd/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Julian Coleman" <jdc@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59398 CVS commit: [netbsd-10] src/distrib/ia64/cdroms/installcd
Date: Fri, 27 Jun 2025 04:59:43 +0000

 Module Name:	src
 Committed By:	jdc
 Date:		Fri Jun 27 04:59:43 UTC 2025

 Modified Files:
 	src/distrib/ia64/cdroms/installcd [netbsd-10]: Makefile

 Log Message:
 Pull up following revision(s) (requested by martin in ticket #1129):
 	distrib/ia64/cdroms/installcd/Makefile: revision 1.6
 PR port-ia64/59398: fix path to GENERIC kernel so that it works not
 only on some machines (not sure why it worked on the old build cluster).
 Use print-objdir in a source directory that is known to exist.


 To generate a diff of this commit:
 cvs rdiff -u -r1.4.8.1 -r1.4.8.2 src/distrib/ia64/cdroms/installcd/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Julian Coleman" <jdc@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59398 CVS commit: [netbsd-9] src/distrib/ia64/cdroms/installcd
Date: Fri, 27 Jun 2025 12:03:23 +0000

 Module Name:	src
 Committed By:	jdc
 Date:		Fri Jun 27 12:03:23 UTC 2025

 Modified Files:
 	src/distrib/ia64/cdroms/installcd [netbsd-9]: Makefile

 Log Message:
 Pull up following revision(s) (requested by martin in ticket #1960):
 	distrib/ia64/cdroms/installcd/Makefile: revision 1.6
 PR port-ia64/59398: fix path to GENERIC kernel so that it works not
 only on some machines (not sure why it worked on the old build cluster).
 Use print-objdir in a source directory that is known to exist.


 To generate a diff of this commit:
 cvs rdiff -u -r1.3.2.1 -r1.3.2.2 src/distrib/ia64/cdroms/installcd/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sat, 04 Oct 2025 16:23:04 +0000
State-Changed-Why:
pullups done


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.