Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S spice-gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 66
    • Issues 66
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • spice
  • spice-gtk
  • Issues
  • #144
Closed
Open
Issue created Jun 24, 2021 by Eric Knibbe@EricFromCanada

compilation failure on macOS caused by src/usb-device-cd.c

As referred to in a previous issue, attempting to build on macOS fails with "fatal error: 'linux/fs.h' file not found" because the includes in src/usb-device-cd.c only account for either Windows or Linux. This came up while updating the Homebrew formula for spice-gtk. For now, passing -Dusbredir=disabled routes around the problem.

Another issue that came up was how meson will not use the correct Python environment unless subprojects/spice-common/meson.build has its line py_module.find_installation() changed to py_module.find_installation('python3'). The formula creates a fresh virtual environment with the two Python packages installed and adds its binaries to the PATH, but without the above change it attempts to use the stock one in /usr/local/opt.

Assignee
Assign to
Time tracking