Skip to content

cleaner: rewrite pkg-config file Cellar paths and keg-only #29901

cleaner: rewrite pkg-config file Cellar paths and keg-only

cleaner: rewrite pkg-config file Cellar paths and keg-only #29901

Triggered via pull request September 2, 2024 16:09
Status Failure
Total duration 7m 55s
Artifacts

tests.yml

on: pull_request
Matrix: test-default-formula
Matrix: tests
Matrix: update-test
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 1 warning
`brew install --verbose --formula --build-bottle homebrew/test-bot/testbottest` failed on macOS Sonoma (14) on Apple Silicon!: ../../../../../opt/homebrew/Library/Taps/homebrew/homebrew-test-bot/Formula/t/testbottest.rb#L15
==> Fetching homebrew/test-bot/testbottest ==> Downloading file:///opt/homebrew/Library/Taps/homebrew/homebrew-test-bot/Formula/t/tarballs/testbottest-0.1.tbz Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/a7e4f0ec74061ef61be02bacbd1fde284627472f51f963187e7aad4a87557bc4--testbottest-0.1.tbz ==> Verifying checksum for 'a7e4f0ec74061ef61be02bacbd1fde284627472f51f963187e7aad4a87557bc4--testbottest-0.1.tbz' ==> Installing testbottest from homebrew/test-bot /usr/bin/env tar --extract --no-same-owner --file /Users/runner/Library/Caches/Homebrew/downloads/a7e4f0ec74061ef61be02bacbd1fde284627472f51f963187e7aad4a87557bc4--testbottest-0.1.tbz --directory /private/tmp/homebrew-unpack20240902-7133-admddr /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240902-7133-admddr/testbottest/. /private/tmp/testbottest-20240902-7133-odnwlu/testbottest ==> make install PREFIX=/opt/homebrew/Cellar/testbottest/0.1 clang testbottest.c -o testbottest mkdir -p /opt/homebrew/Cellar/testbottest/0.1/bin cp testbottest /opt/homebrew/Cellar/testbottest/0.1/bin ==> Cleaning Warning: The cleaning step did not complete successfully Still, the installation was successful, so we will link it into your prefix. ::warning::The cleaning step did not complete successfully ==> Finishing up ln -s ../Cellar/testbottest/0.1/bin/testbottest testbottest ==> Not running 'post_install' as we're building a bottle You can run it manually using: brew postinstall homebrew/test-bot/testbottest ==> Summary /opt/homebrew/Cellar/testbottest/0.1: 3 files, 34.7KB, built in 2 seconds
test default formula (macOS 14 arm64)
install failed
test default formula (macOS 14 arm64)
Process completed with exit code 1.
test default formula (Ubuntu 20.04)
The job was canceled because "test_default_formula__m_2" failed.
test default formula (Ubuntu 20.04)
The operation was canceled.
test default formula (Ubuntu 22.04)
The job was canceled because "test_default_formula__m_2" failed.
test default formula (Ubuntu 22.04)
The operation was canceled.
test default formula (macOS 13 x86_64)
The job was canceled because "test_default_formula__m_2" failed.
test default formula (macOS 13 x86_64)
The operation was canceled.
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cmd/reinstall_spec.rb#L10
Homebrew::Cmd::Reinstall reinstalls a Formula Failure/Error: expect { brew "reinstall", "testball" } .to output(/Reinstalling testball/).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Warning: The cleaning step did not complete successfully\nWarning: Removed Sorbet lines from backtrace!\n" ...and: expected #<Proc:0x00000001246fe620 /opt/homebrew/Library/Homebrew/test/cmd/reinstall_spec.rb:16> to be a success
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb#L43
Homebrew::Cmd::InstallCmd can install HEAD Formulae Failure/Error: expect { brew "install", "testball1", "--HEAD", "--ignore-dependencies" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/HEAD-d5eb689}o).to_stdout .and output(/Cloning into/).to_stderr .and be_a_success expected #<Proc:0x00000001238eb1f0 /opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb:69> to be a success
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb#L19
Homebrew::Cmd::InstallCmd installs formulae with options Failure/Error: expect { brew "install", "testball1", "--with-foo" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/0\.1}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Warning: The cleaning step did not complete successfully\nWarning: Removed Sorbet lines from backtrace!\n" ...and: expected #<Proc:0x0000000121a53328 /opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb:22> to be a success
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb#L29
Homebrew::Cmd::InstallCmd can install keg-only Formulae Failure/Error: expect { brew "install", "testball1" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/1\.0}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Warning: The cleaning step did not complete successfully\nWarning: Removed Sorbet lines from backtrace!\n" ...and: expected #<Proc:0x0000000122a8b0d8 /opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb:36> to be a success
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb#L9
Homebrew::Cmd::InstallCmd installs formulae Failure/Error: expect { brew "install", "testball1" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/0\.1}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Warning: The cleaning step did not complete successfully\nWarning: Removed Sorbet lines from backtrace!\n" ...and: expected #<Proc:0x00000001232c94c0 /opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb:12> to be a success
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb#L76
Homebrew::Cmd::InstallCmd installs formulae with debug symbols Failure/Error: expect { brew "install", "testball1", "--debug-symbols", "--build-from-source" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/0\.1}o).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Warning: The cleaning step did not complete successfully\nWarning: Removed Sorbet lines from backtrace!\n" ...and: expected #<Proc:0x0000000123563c58 /opt/homebrew/Library/Homebrew/test/cmd/install_spec.rb:79> to be a success
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cleaner_spec.rb#L86
Cleaner#clean removes broken symlinks Failure/Error: cleaner.clean Errno::ENOENT: No such file or directory @ rb_check_realpath_internal - /private/tmp/homebrew-tests-20240902-6249-vn16es/cellar/cleaner_test/1.0/lib
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cleaner_spec.rb#L195
Cleaner#clean modifies '*.dist-info/INSTALLER' files Failure/Error: cleaner.clean Errno::ENOENT: No such file or directory @ rb_check_realpath_internal - /private/tmp/homebrew-tests-20240902-6249-vn16es/cellar/cleaner_test/1.0/share
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cleaner_spec.rb#L72
Cleaner#clean removes symlinks pointing to an empty directory Failure/Error: cleaner.clean Errno::ENOENT: No such file or directory @ rb_check_realpath_internal - /private/tmp/homebrew-tests-20240902-6249-vn16es/cellar/cleaner_test/1.0/lib
tests (macOS 14 arm64): opt/homebrew/Library/Homebrew/test/cleaner_spec.rb#L117
Cleaner#clean removes '.packlist' files Failure/Error: cleaner.clean Errno::ENOENT: No such file or directory @ rb_check_realpath_internal - /private/tmp/homebrew-tests-20240902-6249-vn16es/cellar/cleaner_test/1.0/share
tests (generic OS)
The job was canceled because "tests__macOS_14_arm64__--" failed.
tests (generic OS): home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/reinstall_spec.rb#L10
Homebrew::Cmd::Reinstall reinstalls a Formula Failure/Error: expect { brew "reinstall", "testball" } .to output(/Reinstalling testball/).to_stdout .and not_to_output.to_stderr .and be_a_success expected block to not output to stderr, but output "Warning: The cleaning step did not complete successfully\nWarning: Removed Sorbet lines from backtrace!\n" ...and: expected #<Proc:0x00007fb5eea1a2d8 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/reinstall_spec.rb:16> to be a success
tests (generic OS)
The operation was canceled.
tests (Ubuntu 20.04)
The job was canceled because "tests__macOS_14_arm64__--" failed.
tests (Ubuntu 20.04)
The operation was canceled.
tests (Ubuntu 22.04)
The job was canceled because "tests__macOS_14_arm64__--" failed.
tests (Ubuntu 22.04)
The operation was canceled.
tests (online)
The job was canceled because "tests__macOS_14_arm64__--" failed.
tests (online)
The operation was canceled.
tests (macOS 13 x86_64)
The job was canceled because "tests__macOS_14_arm64__--" failed.
tests (macOS 13 x86_64)
The operation was canceled.
test default formula (macOS 14 arm64)
The cleaning step did not complete successfully