Skip to content

Commit

Permalink
usbutils 018
Browse files Browse the repository at this point in the history
autobump: add usbutils

Signed-off-by: Rui Chen <[email protected]>

usbutils: remove build patch

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 authored and carlocab committed Oct 27, 2024
1 parent 3db7c7d commit 94c6677
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2913,6 +2913,7 @@ uriparser
urlscan
usb.ids
usbredir
usbutils
userspace-rcu
util-linux
util-macros
Expand Down
19 changes: 9 additions & 10 deletions Formula/u/usbutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ class Usbutils < Formula
desc "List detailed info about USB devices"
# Homepage for multiple Linux USB tools, 'usbutils' is one of them.
homepage "http://www.linux-usb.org/"
url "https://mirrors.edge.kernel.org/pub/linux/utils/usb/usbutils/usbutils-017.tar.gz"
sha256 "f704c4cb78a060db88b43aac6ebfd3d93c2c5cf1d6dd0e42936faaf00814ab00"
url "https://mirrors.edge.kernel.org/pub/linux/utils/usb/usbutils/usbutils-018.tar.gz"
sha256 "0048d2d8518fb0cc7c0516e16e52af023e52b55ddb3b2068a77041b5ef285768"
license all_of: [
"GPL-2.0-only",
"GPL-2.0-or-later",
Expand All @@ -26,9 +26,8 @@ class Usbutils < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "17f5961f3ebd783d33e4851654070498c44c65c2bf235754ce8dcd704063dcaa"
end

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build
depends_on "libusb"

Expand All @@ -39,14 +38,14 @@ class Usbutils < Formula
conflicts_with "lsusb", "lsusb-laniksj", because: "both provide an `lsusb` binary"

patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/12f3d34/usbutils/portable.patch"
sha256 "0f504a173191a1e1e2f56b41584fcc0468eab7b7dfefd225910b91b5ea65cfbe"
url "https://raw.githubusercontent.com/Homebrew/formula-patches/5938fe00b5c160a5fabef4592b6a0c992281492b/usbutils/portable.patch"
sha256 "ce9bd59364d2e851867a72180b8cca299e0bcd579970ff2d6620e32968897e7e"
end

def install

Check failure on line 45 in Formula/u/usbutils.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew install --verbose --formula --build-bottle usbutils` failed on Linux!

Found ninja-1.12.1 at /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/ninja ==> meson build -C build --verbose usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ... meson: error: unrecognized arguments: -C build --verbose ==> Formula Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/u/usbutils.rb ==> Configuration HOMEBREW_VERSION: 4.4.2-62-g59d56f8 ORIGIN: https://github.com/Homebrew/brew HEAD: 59d56f84acb47522d0587530fc91c6067ec25d27 Last commit: 17 hours ago Core tap HEAD: e695cdd271174926489f81e5e0ab7c6ce45e7141 Core tap last commit: 8 minutes ago Core tap JSON: 27 Oct 03:01 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_BOOTSNAP: set HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /github/home/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.3.5 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit zen3 Clang: N/A Git: 2.47.0 => /usr/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.5.0-1025-azure x86_64 GNU/Linux OS: Ubuntu 22.04.5 LTS Host glibc: 2.35 /usr/bin/gcc: 11.4.0 /usr/bin/ruby: N/A glibc: N/A gcc@11: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-11 HOMEBREW_CXX: g++-11 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew/opt/berkeley-db@5:/home/linuxbrew/.linuxbrew PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/bzip2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/pcre2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/mpdecimal/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/openssl@3/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/ncurses/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/readline/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/sqlite/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/xz/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/expat/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libedit/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libffi/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libxcrypt/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/krb5/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libtirpc/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libnsl/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/dbus/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/util-linux/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/glib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libcap/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/lz4/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zstd/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/systemd/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libusb/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/systemd/share/pkgconfig HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git ACLOCAL_PATH: /home/linuxbrew/.linuxbrew/share/aclocal PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/meson/bin:/home/linuxbrew/.linuxbrew/opt/ninja/bin:/home/linuxbrew/.linuxbrew/opt/pkg-config/bin:/home/linuxbrew/.linuxbrew/opt/bzip2/bin:/home/linuxbrew/.linuxbrew/opt/pcre2/bin:/home/linuxbrew/.linuxbrew/opt/openssl@3/bin:/home/linuxbrew/.linuxbrew/opt/ncurses/bin:/home/linuxbrew/.linuxbrew/opt/sqlite/bin:/home/linuxbrew/.linuxbrew/opt/xz/bin:/home/linuxbrew/.linuxbrew/opt/expat/bin:/home/linuxbrew/.linuxbrew/opt/unzip/bin:/home/linuxbrew/.linuxbrew/opt/berkeley-db@5/bin:/home/linuxbrew/.linuxbrew/opt/krb5/bin:/home/linuxbrew/.linuxbrew/opt/[email protected]/bin:/home/linuxbrew/.linuxbrew/opt/db

Check failure on line 45 in Formula/u/usbutils.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew install --verbose --formula --build-bottle usbutils` failed on macOS Sequoia (15) on Apple Silicon!

Found ninja-1.12.1 at /opt/homebrew/Library/Homebrew/shims/mac/super/ninja ==> meson build -C build --verbose usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ... meson: error: unrecognized arguments: -C build --verbose ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/u/usbutils.rb ==> Configuration HOMEBREW_VERSION: 4.4.2-62-g59d56f8 ORIGIN: https://github.com/Homebrew/brew HEAD: 59d56f84acb47522d0587530fc91c6067ec25d27 Last commit: 17 hours ago Core tap HEAD: e695cdd271174926489f81e5e0ab7c6ce45e7141 Core tap last commit: 8 minutes ago Core tap JSON: 27 Oct 03:01 UTC Core cask tap JSON: 27 Oct 03:01 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit dunno Clang: 16.0.0 build 1600 Git: 2.39.5 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 15.1-arm64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.1 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /opt/homebrew/opt/libusb/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/15 HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk ACLOCAL_PATH: /opt/homebrew/share/aclocal PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/meson/bin:/opt/homebrew/opt/ninja/bin:/opt/homebrew/opt/pkg-config/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/00.options.out /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/01.meson /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/01.meson.cc /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/02.meson /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/build READ THIS: https://docs.brew.sh/Troubleshooting ::error::usbutils 018 did not build

Check failure on line 45 in Formula/u/usbutils.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle usbutils` failed on macOS Sonoma (14) on Apple Silicon!

Found ninja-1.12.1 at /opt/homebrew/Library/Homebrew/shims/mac/super/ninja ==> meson build -C build --verbose usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ... meson: error: unrecognized arguments: -C build --verbose ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/u/usbutils.rb ==> Configuration HOMEBREW_VERSION: 4.4.2-62-g59d56f8 ORIGIN: https://github.com/Homebrew/brew HEAD: 59d56f84acb47522d0587530fc91c6067ec25d27 Last commit: 17 hours ago Core tap HEAD: e695cdd271174926489f81e5e0ab7c6ce45e7141 Core tap last commit: 7 minutes ago Core tap JSON: 27 Oct 03:01 UTC Core cask tap JSON: 27 Oct 03:01 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit dunno Clang: 16.0.0 build 1600 Git: 2.39.5 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 14.7-arm64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.1 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /opt/homebrew/opt/libusb/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/14 HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk ACLOCAL_PATH: /opt/homebrew/share/aclocal PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/meson/bin:/opt/homebrew/opt/ninja/bin:/opt/homebrew/opt/pkg-config/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/00.options.out /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/01.meson /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/01.meson.cc /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/02.meson /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/build READ THIS: https://docs.brew.sh/Troubleshooting ::error::usbutils 018 did not build

Check failure on line 45 in Formula/u/usbutils.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew install --verbose --formula --build-bottle usbutils` failed on macOS Ventura (13) on Apple Silicon!

Found ninja-1.12.1 at /opt/homebrew/Library/Homebrew/shims/mac/super/ninja ==> meson build -C build --verbose usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,reprotest,format,fmt,help} ... meson: error: unrecognized arguments: -C build --verbose ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/u/usbutils.rb ==> Configuration HOMEBREW_VERSION: 4.4.2-62-g59d56f8 ORIGIN: https://github.com/Homebrew/brew HEAD: 59d56f84acb47522d0587530fc91c6067ec25d27 Last commit: 17 hours ago Core tap HEAD: e695cdd271174926489f81e5e0ab7c6ce45e7141 Core tap last commit: 8 minutes ago Core tap JSON: 27 Oct 03:02 UTC Core cask tap JSON: 27 Oct 03:02 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit dunno Clang: 15.0.0 build 1500 Git: 2.39.3 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 13.7-arm64 CLT: 15.1.0.0.1.1700200546 Xcode: 15.2 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /opt/homebrew/opt/libusb/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/13 HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk ACLOCAL_PATH: /opt/homebrew/share/aclocal PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/meson/bin:/opt/homebrew/opt/ninja/bin:/opt/homebrew/opt/pkg-config/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/00.options.out /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/01.meson /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/01.meson.cc /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/02.meson /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/usbutils/build READ THIS: https://docs.brew.sh/Troubleshooting ::error::usbutils 018 did not build
system "autoreconf", "--force", "--install", "--verbose"
system "./configure", "--disable-silent-rules", *std_configure_args
system "make", "install"
system "meson", "setup", "build", *std_meson_args
system "meson", "build", "-C", "build", "--verbose"
system "meson", "install", "-C", "build"
end

def caveats
Expand Down

0 comments on commit 94c6677

Please sign in to comment.