Skip to content

Commit

Permalink
guestfs-tools: version 1.53.2
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Caggiano <[email protected]>
  • Loading branch information
Fahien committed Aug 9, 2024
1 parent 751f05e commit 9eda4c2
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Formula/guestfs-tools.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause

class GuestfsTools < Formula
desc "Set of tools for accessing and modifying virtual machine (VM) disk images"
homepage "https://libguestfs.org/"
url "https://github.com/libguestfs/guestfs-tools.git", revision: "daf2b71e0ef18a04928f82688278673ad57d4c4b"
version "1.53.2"
license "GPL-2.0-or-later"

depends_on "automake" => :build
depends_on "autoconf" => :build

Check failure on line 12 in Formula/guestfs-tools.rb

View workflow job for this annotation

GitHub Actions / install-formulae (macos-12)

dependency "autoconf" (line 12) should be put before dependency "automake" (line 20)
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "coreutils" => :build

Check failure on line 15 in Formula/guestfs-tools.rb

View workflow job for this annotation

GitHub Actions / install-formulae (macos-12)

dependency "coreutils" (line 15) should be put before dependency "pkg-config" (line 20)
depends_on "gnu-getopt" => :build

Check failure on line 16 in Formula/guestfs-tools.rb

View workflow job for this annotation

GitHub Actions / install-formulae (macos-12)

dependency "gnu-getopt" (line 16) should be put before dependency "pkg-config" (line 20)
depends_on "bison" => :build

Check failure on line 17 in Formula/guestfs-tools.rb

View workflow job for this annotation

GitHub Actions / install-formulae (macos-12)

dependency "bison" (line 17) should be put before dependency "pkg-config" (line 20)
depends_on "gpg2"
depends_on "libosinfo"
depends_on "quic/quic/libguestfs"

def install

Check failure on line 22 in Formula/guestfs-tools.rb

View workflow job for this annotation

GitHub Actions / install-formulae (macos-12)

`brew install --verbose --formula --build-bottle quic/quic/guestfs-tools` failed on macOS Monterey (12)!

firmware.cmx linux.cmx linux_bootloaders.cmx linux_kernels.cmx windows_drivers.cmx libmldrivers_a-dummy.o -o mldrivers /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ./libmldrivers.a(libmldrivers_a-dummy.o) has no symbols warning: /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: ./libmldrivers.a the table of contents is empty (no object file members in the library define global symbols) make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. Making install in common/mlcustomize warning: Run 'make' at the top level to build ../../generator/generator warning: Run 'make' at the top level to build customize_cmdline.mli customize_cmdline.ml customize-options.pod customize-synopsis.pod ../../ocaml-dep.sh SELinux_relabel.mli customize_cmdline.mli firstboot.mli guest_packages.mli inject_virtio_win.mli SELinux_relabel.ml customize_cmdline.ml firstboot.ml guest_packages.ml inject_virtio_win.ml warning: Run 'make' at the top level to build ../../generator/generator warning: Run 'make' at the top level to build customize_cmdline.mli customize_cmdline.ml customize-options.pod customize-synopsis.pod CC libmlcustomize_a-dummy.o OCAMLCMI firstboot.cmi OCAMLCMI guest_packages.cmi OCAMLCMI inject_virtio_win.cmi OCAMLCMI SELinux_relabel.cmi OCAMLOPT firstboot.cmx OCAMLOPT guest_packages.cmx OCAMLOPT SELinux_relabel.cmx OCAMLOPT inject_virtio_win.cmx AR libmlcustomize.a /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libmlcustomize.a(libmlcustomize_a-dummy.o) has no symbols /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libmlcustomize.a(libmlcustomize_a-dummy.o) has no symbols warning: /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: libmlcustomize.a the table of contents is empty (no object file members in the library define global symbols) ocamlfind mklib -package str,unix,guestfs -I ../../common/utils/.libs -I ../../ocaml -I ../../common/mlstdutils -I ../../common/mlgettext -I ../../common/mlpcre -I ../../common/mltools -I ../../common/mlxml -I . \ firstboot.cmx guest_packages.cmx inject_virtio_win.cmx SELinux_relabel.cmx libmlcustomize_a-dummy.o -o mlcustomize /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ./libmlcustomize.a(libmlcustomize_a-dummy.o) has no symbols warning: /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: ./libmlcustomize.a the table of contents is empty (no object file members in the library define global symbols) warning: Run 'make' at the top level to build ../../generator/generator warning: Run 'make' at the top level to build customize_cmdline.mli customize_cmdline.ml customize-options.pod customize-synopsis.pod make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. Making install in test-data Making install in binaries make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in blank-disks qemu-img create -f raw blank-disk-1s.raw 512 qemu-img create -f qcow2 -o preallocation=metadata blank-disk-1s.qcow2 512 qemu-img create -f raw blank-disk-1K.raw 1K qemu-img create -f qcow2 -o preallocation=metadata blank-disk-1K.qcow2 1K Formatting 'blank-disk-1s.raw', fmt=raw size=512 qemu-img create -f raw blank-disk-1M.raw 1M Formatting 'blank-disk-1s.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=512 lazy_refcounts=off refcount_bits=16 Formatting 'blank-disk-1K.raw', fmt=raw size=1024 qemu-img create -f qcow2 -o preallocation=metadata blank-disk-1M.qcow2 1M Formatting 'blank-disk-1K.qcow2', fmt=qcow2 c
system "autoreconf", "-i"
system "./configure", *std_configure_args
system "make", "install"
end

def caveats
<<~EOS
To use virt-builder you need to add the following to your profile:
export VIRT_BUILDER_DIRS="#{HOMEBREW_PREFIX}/etc"
EOS
end
end

0 comments on commit 9eda4c2

Please sign in to comment.