Skip to content

QEMU networking broken - upstream patch available #73517

@arichardson

Description

@arichardson

brew gist-logs <formula> link OR brew config AND brew doctor output

N/A

  • The brew doctor above contains no "Warning" lines.

What were you trying to do (and why)?

Downloading files in a virtual machine with -netdev virtio

What happened (include all command output)?

Downloading files fails with an early end of connection. The problem has been fixed in libslirp but the released version is broken.

Could homebrew apply this patch to the QEMU package? https://gitlab.freedesktop.org/slirp/libslirp/-/commit/7271345efe182199acaeae602cb78a94a7c6dc9d

See https://gitlab.freedesktop.org/slirp/libslirp/-/issues/35 for more details.

This fixes issues such as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237441

What did you expect to happen?

Downloads work correctly.

Step-by-step reproduction instructions (by running brew commands)

brew install qemu && <run my vm>
Inside VM: `fetch http://pkg.freebsd.org/FreeBSD:13:aarch64/latest/All/pkg-1.16.2.txz`
Results in `fetch: pkg-1.16.2.txz appears to be truncated: 7822207/7822208 bytes`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReproducible Homebrew/homebrew-core bugoutdatedPR was locked due to age

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions