Repository navigation
Closed
Labels
bugReproducible Homebrew/homebrew-core bugReproducible Homebrew/homebrew-core bugoutdatedPR was locked due to agePR was locked due to agestaleNo recent activityNo recent activityupstream issueAn upstream issue report is neededAn upstream issue report is needed
Description
brew gist-logs <formula> link OR brew config AND brew doctor output
% brew config
HOMEBREW_VERSION: 3.4.11-108-g73ee7f6
ORIGIN: https://github.com/Homebrew/brew
HEAD: 73ee7f677286f50291736518f017a202f5579de1
Last commit: 9 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 419a75bbc13b67f3766b408ff54620ad5e72d278
Core tap last commit: 49 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 13.1.6 build 1316
Git: 2.36.1 => /opt/homebrew/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.4-arm64
CLT: 13.4.0.0.1.1651278267
Xcode: 13.4
Rosetta 2: false% brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
szip
Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
tbb@2020
Verification
- I ran
brew updateand am still able to reproduce my issue. - I have resolved all warnings from
brew doctorand that did not fix my problem.
What were you trying to do (and why)?
Updated qemu to 7.0.0 and tried to use podman (from homebrew)
What happened (include all command output)?
Commands
podman machine init --cpus=4 --disk-size=64 --memory=6144
podman machine start
It fails. If I enable debug output of podman i can get qemu command and if I run it in console it fails with error message "can't get socket option SO_TYPE"
What did you expect to happen?
Everything works and machine starts just fine. Like it was with 6.2.0_1. I reverted to manually downloaded bottle 6.2.0_1 and it works now.
Step-by-step reproduction instructions (by running brew commands)
brew install qemu podman
podman machine init --cpus=4 --disk-size=64 --memory=6144
podman machine startMachine is not started.
Metadata
Metadata
Assignees
Labels
bugReproducible Homebrew/homebrew-core bugReproducible Homebrew/homebrew-core bugoutdatedPR was locked due to agePR was locked due to agestaleNo recent activityNo recent activityupstream issueAn upstream issue report is neededAn upstream issue report is needed
Activity
SMillerDev commentedon May 25, 2022
What made you think this is a packaging issue?
arixmkii commentedon May 25, 2022
I'm not stating that it is packaging issue. It might be upstream (probably it is in fact). For now I'm only reflecting, that this version bump could be breaking for end users of Homebrew. And that there is no easy way of downgrading version (liek
@6or@6.2tagged formula of qemu).As I can't allow to have this machine in broken state I will need to build qemu from sources to check upstream and report it there. This will take some time.
If you consider this is not an issue for Homebrew - it is ok to close this one and I will focus to reporting this upstream.
arixmkii commentedon May 25, 2022
Will post a workaround, which worked for me, so, others facing it could have some help.
brew install -fNotes: you might first need to uninstall updated version (ignoring packages, which depends on it)
Example for arm64 monterey:
disc commentedon Jun 6, 2022
Once installed arm64_monterey version of qemu 6.2 I can't launch
qemu-system-aarch64at all.But it works when I install x86? version of qemu 6.2 (monterey:"d086496727bc70e98e33c48d7815d39a113ebeccb45a6958dacad8cb7e388e8f") by the command with another sha256:
curl -L -H "Authorization: Bearer QQ==" -o qemu-6.2.0_1.monterey.bottle.tar.gz https://ghcr.io/v2/homebrew/core/qemu/blobs/sha256:d086496727bc70e98e33c48d7815d39a113ebeccb45a6958dacad8cb7e388e8fBut this version doesn't solve the main issue with
podman machine startHas anyone faced with the same issue?
arixmkii commentedon Jun 6, 2022
@disc Could it be that your brew installation was migrated via backup restore from Intel Mac? Because this behavior looks weird.
disc commentedon Jun 6, 2022
@arixmkii I think so, I'm going to update Brew by this instruction:
https://github.com/orgs/Homebrew/discussions/417#discussioncomment-2556937
disc commentedon Jun 6, 2022
Yes, it works once I reinstalled Homebrew on M1 mac
arixmkii commentedon Jun 10, 2022
Might be a podman config issue after all podman-container-tools/podman#14303 (comment)
Manually changing podman machine settings after creation allowed me to run latest podman and latest qemu from brew
podman-container-tools/podman#14303 (comment)
Should brew consider adding a patch to podman formula then or just wait for podman fixes?
Should I rename this or create a new issue?
SMillerDev commentedon Jun 10, 2022
If podman makes a patch we can include it in the formula.
arixmkii commentedon Jun 10, 2022
@SMillerDev I don't really know the acceptable form for patches. They created a PR podman-container-tools/podman#14563 Probably this commit could be of some use.
ashley-cui commentedon Jun 10, 2022
@arixmkii @SMillerDev I can handle getting the patch in once the PR merges!
github-actions commentedon Jul 1, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.