NetBSD Problem Report #56411

From www@netbsd.org  Mon Sep 20 12:36:58 2021
Return-Path: <www@netbsd.org>
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))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 424561A921F
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Sep 2021 12:36:58 +0000 (UTC)
Message-Id: <20210920123657.081541A923A@mollari.NetBSD.org>
Date: Mon, 20 Sep 2021 12:36:56 +0000 (UTC)
From: prlw1@cam.ac.uk
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@NetBSD.org
Subject: xentools build failure since eventfd support
X-Send-Pr-Version: www-1.0

>Number:         56411
>Category:       pkg
>Synopsis:       xentools build failure since eventfd support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 20 12:40:00 +0000 2021
>Closed-Date:    Sat Oct 02 10:11:42 +0000 2021
>Last-Modified:  Sat Oct 02 10:11:42 +0000 2021
>Originator:     Patrick Welche
>Release:        pkgsrc-current 2021-Sep-20
>Organization:
>Environment:
NetBSD-9.99.88/amd64
>Description:
Now that NetBSD-current supports eventfd, xentools builds ivshmem-{client,server}. This was checked with xentools413 and xentools415.

A work around for -current users is simply e.g.,


Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/xentools415/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST       18 Apr 2021 12:31:26 -0000      1.1
+++ PLIST       20 Sep 2021 12:33:28 -0000
@@ -301,6 +301,8 @@
 lib/xenfsimage/xfs/fsimage.so
 lib/xenfsimage/zfs/fsimage.so
 libexec/xen/bin/convert-legacy-stream
+libexec/xen/bin/ivshmem-client
+libexec/xen/bin/ivshmem-server
 libexec/xen/bin/libxl-save-helper
 libexec/xen/bin/lsevtchn
 libexec/xen/bin/pygrub


but obviously no good for non-current users.

xen-4.15.0/tools/qemu-xen/configure is a shell script, so also not
easy to simply prevent ivshmem-* from being built, programmatically.

Maybe a blanket

# We can only support ivshmem if we have eventfd
if [ "$eventfd" = "yes" ]; then
  ivshmem=yes
fi

change to ivshmem=no is good enough?


>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56411 CVS commit: pkgsrc/sysutils/xentools415
Date: Wed, 22 Sep 2021 18:40:43 +0000

 Module Name:	pkgsrc
 Committed By:	bouyer
 Date:		Wed Sep 22 18:40:43 UTC 2021

 Modified Files:
 	pkgsrc/sysutils/xentools415: distinfo
 	pkgsrc/sysutils/xentools415/patches: patch-tools_qemu-xen_configure

 Log Message:
 Stopgap for PR pkg/56411: pretend that eventfd support is not there.
 To be revisited after the freeze.


 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/xentools415/distinfo
 cvs rdiff -u -r1.1 -r1.2 \
     pkgsrc/sysutils/xentools415/patches/patch-tools_qemu-xen_configure

 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/56411 CVS commit: pkgsrc/sysutils/xentools413
Date: Wed, 22 Sep 2021 21:18:12 +0000

 Module Name:	pkgsrc
 Committed By:	bouyer
 Date:		Wed Sep 22 21:18:12 UTC 2021

 Modified Files:
 	pkgsrc/sysutils/xentools413: Makefile distinfo
 	pkgsrc/sysutils/xentools413/patches: patch-tools_qemu-xen_configure

 Log Message:
 Needs gsed to build on HEAD
 PR pkg/56411 also apply, so pretend that eventfd support is not there.
 To be revisited after the freeze.


 To generate a diff of this commit:
 cvs rdiff -u -r1.21 -r1.22 pkgsrc/sysutils/xentools413/Makefile
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/xentools413/distinfo
 cvs rdiff -u -r1.1 -r1.2 \
     pkgsrc/sysutils/xentools413/patches/patch-tools_qemu-xen_configure

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

State-Changed-From-To: open->closed
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Sat, 02 Oct 2021 10:11:42 +0000
State-Changed-Why:
Fixed just before 2021Q3


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.