[From nobody Thu Oct  8 17:39:07 2026
Received: (at submit) by bugs.debian.org; 2 Sep 2025 16:54:53 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-16.2 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,HAS_PACKAGE,MD5_SHA1_SUM,RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 81; hammy, 150; neutral, 108; spammy,
 0. spammytokens: hammytokens:0.000-+--H*M:hadrons,
 0.000-+--UD:patch, 
 0.000-+--H*MI:hadrons, 0.000-+--H*M:thunder, 0.000-+--guillem
Return-path: &lt;gjover@sipwise.com&gt;
Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:57776)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.96) (envelope-from &lt;gjover@sipwise.com&gt;) id 1utUHU-001RXU-32
 for submit@bugs.debian.org; Tue, 02 Sep 2025 16:54:53 +0000
Received: by mail-wm1-x32f.google.com with SMTP id
 5b1f17b1804b1-45b89147cfbso23150735e9.3
 for &lt;submit@bugs.debian.org&gt;; Tue, 02 Sep 2025 09:54:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=sipwise.com; s=google; t=1756832084; x=1757436884; darn=bugs.debian.org;
 h=content-disposition:mime-version:message-id:subject:to:from:date
 :from:to:cc:subject:date:message-id:reply-to;
 bh=bmqEUJODDvuZ5DRfRXYMJSNec/V8Swp0GfkIPZyKKe8=;
 b=ACPUa8EDEJwQU0vXM6YDVYFQTAbLEqbnaRfsG9YnafeZBU8k/17XRDq4xM6bDuu02V
 IKTN7uz7245fQZkR0ifxOpTvdiJ7sHLGvPT4SUlFvl2TGXWgLZlud8PmDWiLKQpfWq3g
 Prxkq1AP51O6QJYzAtuD71JL69MJ7oHi72GXXUfVzVq4tFp4YLbHDzVEqe0nGLSaU8CY
 nClIBsktAGl69vp1A1rRAm/PJ7lwGR5yjO1TsXXGA+L8RpLPcz+XF+92flY0Xfdo0rSi
 wKa2LpGjj0MEfpodBUIV6CM+thgDur/yo4brABN/lyPtL0egfN0AHrFsxoGpP6ZreFPE
 cknA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1756832084; x=1757436884;
 h=content-disposition:mime-version:message-id:subject:to:from:date
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=bmqEUJODDvuZ5DRfRXYMJSNec/V8Swp0GfkIPZyKKe8=;
 b=qgH8FD0INWXX1xAgMkew7WQpBwuIsj5DcEql0ejiuw6C2g1UE+rgd5CArzb0dNIMcQ
 2VRW+BAnkxt/O3bwxUshfrrLJf233irw260VDznZ6MFFQh6kj2vzfzTUbZkJzEsWThBd
 nugCZBSU+SDjbgxxtC10bmPH460vequ+BqaYfhY/t1g8exl23i0J/i5CQZLeod3rsIjM
 DcWxgrURWgFbRrQ3RvLto7SnFHS/Mt5A3zRJaaGRZWW4xA/svfFhCZjk3B+FqJNdpujW
 d8iEDhAU7siO4Z4g5tFv/9N94IkEFTgPwBMHAz6HVEjnRhpgjvS4MIQoThBEzDh5gPdQ
 pbcg==
X-Gm-Message-State: AOJu0YwEDxzF9+SAubgAUQBPVmvVI9NXff7c8D4yIuUinKEx/71jE+k/
 j+fEsug8P5i2nPqwK/wdxs5Cj2OdjYARUoSC/CP9DHelCKcEpoepHbNHR7jnG3E2aDa+Tr/MT1M
 uLRdiQyHXDwmyg5m3araLyBWHEt9zg8orUeh2MEMi8qEwnK3xTij9h7xkvJUcIQsjPYoK0lyNi+
 y8c+wNibe21qB4HgFmUzGshFdOgnToWypKMsngWrY=
X-Gm-Gg: ASbGnctP1Q6UGYIHLyO5MxiK2q/K/B14hojwnxIGRkpp5WPkLQZ+yW6ieMimY9S5eTA
 TwCWpfRFMCdIUPzhnpUKENEGMU0s5PIdgFp97GI+FYTcJQyUKTca761TKbJkSwiwYSLRhmoKdLI
 sntLZTWXrnjunWonkKMAWQZJZejQfv3FmCI9QJzPmugTxb2jhfmDOVB7pRxoRuCPa4QKbe8lNJM
 idKf+AabSdMUmouzHTeQ/Qc3uxklmuOdhKf2ffft7FSHTZp0gOX41RTYtxflgB0397Qw0CDco4f
 eD+VS6QaJB8/CgrUQDQTXGwlcwOUeTFKdsrbbKEFTOO3JnpHCYN+EWJ2DeND6Ye6kACsDrCWx1G
 tefxWfnR8WdhRh0vIhXE1DwvkvQ5vgx6CFZAo4DQeKG982m0u
X-Google-Smtp-Source: AGHT+IFfyU0q0XiVrBdO/k1ckqFZBiYHy28vR2GY0TnxCpu9MgHY19E61uFr0Gif7DLk05iXgTKxDQ==
X-Received: by 2002:a05:600c:4f51:b0:45b:b05a:aeeb with SMTP id
 5b1f17b1804b1-45bb05aafeemr14108045e9.28.1756832084014; 
 Tue, 02 Sep 2025 09:54:44 -0700 (PDT)
Received: from hadrons.org (85.219.4.224.dyn.user.ono.com. [85.219.4.224])
 by smtp.gmail.com with UTF8SMTPSA id
 5b1f17b1804b1-45b7e7d2393sm204165705e9.3.2025.09.02.09.54.43
 for &lt;submit@bugs.debian.org&gt;
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 02 Sep 2025 09:54:43 -0700 (PDT)
Date: Tue, 2 Sep 2025 18:54:41 +0200
From: Guillem Jover &lt;gjover@sipwise.com&gt;
To: submit@bugs.debian.org
Subject: vagrant: Add support for VirtualBox 7.1 and 7.2
Message-ID: &lt;aLchUXNuedNJKM9F@thunder.hadrons.org&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;5BW6oWU7mX4qFaKj&quot;
Content-Disposition: inline
Delivered-To: submit@bugs.debian.org


--5BW6oWU7mX4qFaKj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: vagrant
Version: 2.3.7+git20230731.5fc64cde+dfsg-4
Severity: important
Tags: patch

Hi!

The current version of VirtualBox in Debian sid is 7.2.0, which means
vagrant cannot be installed at the same time due to the vagrant package
Breaks.

The attached patch builds and works for me. And while at work we are
unfortunately still currently relying on vagrant and virtualbox, our
plan is to move away into incus, but that will take some time, so
having functional vagrant for now would be very helpful.

Thanks,
Guillem

--5BW6oWU7mX4qFaKj
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
	filename=&quot;0001-Add-support-for-VirtualBox-7.1-and-7.2.patch&quot;
Content-Transfer-Encoding: quoted-printable

=46rom 9bd6ace7424d9fc490d8d0a437e1297443f097d9 Mon Sep 17 00:00:00 2001
=46rom: Guillem Jover &lt;gjover@sipwise.com&gt;
Date: Tue, 2 Sep 2025 18:34:03 +0200
Subject: [PATCH] Add support for VirtualBox 7.1 and 7.2

The current version of VirtualBox in Debian sid is 7.2.0, which means
vagrant cannot be installed at the same time due to vagrant package
Breaks.
---
 ...d-support-for-VirtualBox-7.1-and-7.2.patch | 88 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 89 insertions(+)
 create mode 100644 debian/patches/0014-Add-support-for-VirtualBox-7.1-and-=
7.2.patch

diff --git a/debian/patches/0014-Add-support-for-VirtualBox-7.1-and-7.2.pat=
ch b/debian/patches/0014-Add-support-for-VirtualBox-7.1-and-7.2.patch
new file mode 100644
index 0000000..4209642
--- /dev/null
+++ b/debian/patches/0014-Add-support-for-VirtualBox-7.1-and-7.2.patch
@@ -0,0 +1,88 @@
+From: Guillem Jover &lt;gjover@sipwise.com&gt;
+Date: Tue, 2 Sep 2025 18:11:58 +0200
+Subject: Add support for VirtualBox 7.1 and 7.2
+
+The current version of VirtualBox in Debian sid is 7.2.0, which means
+vagrant cannot be installed at the same time due to vagrant package
+Breaks.
+---
+ plugins/providers/virtualbox/driver/meta.rb        |  2 ++
+ plugins/providers/virtualbox/driver/version_7_1.rb | 17 +++++++++++++++++
+ plugins/providers/virtualbox/driver/version_7_2.rb | 17 +++++++++++++++++
+ plugins/providers/virtualbox/plugin.rb             |  2 ++
+ 4 files changed, 38 insertions(+)
+ create mode 100644 plugins/providers/virtualbox/driver/version_7_1.rb
+ create mode 100644 plugins/providers/virtualbox/driver/version_7_2.rb
+
+diff --git a/plugins/providers/virtualbox/driver/meta.rb b/plugins/provide=
rs/virtualbox/driver/meta.rb
+index 04c130c..feafdd2 100644
+--- a/plugins/providers/virtualbox/driver/meta.rb
++++ b/plugins/providers/virtualbox/driver/meta.rb
+@@ -66,6 +66,8 @@ module VagrantPlugins
+             &quot;6.0&quot; =3D&gt; Version_6_0,
+             &quot;6.1&quot; =3D&gt; Version_6_1,
+             &quot;7.0&quot; =3D&gt; Version_7_0,
++            &quot;7.1&quot; =3D&gt; Version_7_1,
++            &quot;7.2&quot; =3D&gt; Version_7_2,
+           }
+=20
+           if @@version.start_with?(&quot;4.2.14&quot;)
+diff --git a/plugins/providers/virtualbox/driver/version_7_1.rb b/plugins/=
providers/virtualbox/driver/version_7_1.rb
+new file mode 100644
+index 0000000..7933a0f
+--- /dev/null
++++ b/plugins/providers/virtualbox/driver/version_7_1.rb
+@@ -0,0 +1,17 @@
++require &quot;rexml&quot;
++require File.expand_path(&quot;../version_7_0&quot;, __FILE__)
++
++module VagrantPlugins
++  module ProviderVirtualBox
++    module Driver
++      # Driver for VirtualBox 7.1.x
++      class Version_7_1 &lt; Version_7_0
++        def initialize(uuid)
++          super
++
++          @logger =3D Log4r::Logger.new(&quot;vagrant::provider::virtualbox_7_=
1&quot;)
++        end
++      end
++    end
++  end
++end
+diff --git a/plugins/providers/virtualbox/driver/version_7_2.rb b/plugins/=
providers/virtualbox/driver/version_7_2.rb
+new file mode 100644
+index 0000000..bf1fd24
+--- /dev/null
++++ b/plugins/providers/virtualbox/driver/version_7_2.rb
+@@ -0,0 +1,17 @@
++require &quot;rexml&quot;
++require File.expand_path(&quot;../version_7_0&quot;, __FILE__)
++
++module VagrantPlugins
++  module ProviderVirtualBox
++    module Driver
++      # Driver for VirtualBox 7.2.x
++      class Version_7_2 &lt; Version_7_0
++        def initialize(uuid)
++          super
++
++          @logger =3D Log4r::Logger.new(&quot;vagrant::provider::virtualbox_7_=
2&quot;)
++        end
++      end
++    end
++  end
++end
+diff --git a/plugins/providers/virtualbox/plugin.rb b/plugins/providers/vi=
rtualbox/plugin.rb
+index 3b447c5..09c231a 100644
+--- a/plugins/providers/virtualbox/plugin.rb
++++ b/plugins/providers/virtualbox/plugin.rb
+@@ -101,6 +101,8 @@ module VagrantPlugins
+       autoload :Version_6_0, File.expand_path(&quot;../driver/version_6_0&quot;, __=
FILE__)
+       autoload :Version_6_1, File.expand_path(&quot;../driver/version_6_1&quot;, __=
FILE__)
+       autoload :Version_7_0, File.expand_path(&quot;../driver/version_7_0&quot;, __=
FILE__)
++      autoload :Version_7_1, File.expand_path(&quot;../driver/version_7_1&quot;, __=
FILE__)
++      autoload :Version_7_2, File.expand_path(&quot;../driver/version_7_2&quot;, __=
FILE__)
+     end
+=20
+     module Model
diff --git a/debian/patches/series b/debian/patches/series
index 56cde4a..cbf9c62 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
 0011-Add-newline-at-end-of-private-key.patch
 0012-Loosen-dependency-on-ruby.patch
 0013-Fix-the-default-vagrant-URL-for-pulling-boxes.patch
+0014-Add-support-for-VirtualBox-7.1-and-7.2.patch
--=20
2.51.0


--5BW6oWU7mX4qFaKj--
]