Installing Soundux Through AUR On Steam Deck Is Broken

by ADMIN 55 views

Introduction

Soundux is a popular audio player that allows users to manage and play their music collections with ease. However, installing Soundux through the Arch User Repository (AUR) on the Steam Deck has been reported to be broken. In this article, we will delve into the issue, provide steps to reproduce it, and discuss possible solutions.

✍️ Bug Description

The bug is related to the installation of Soundux through the AUR on the Steam Deck. When attempting to install Soundux using the makepkg command, the process fails, and the user is left with a broken installation.

Image

🔁 Steps to Reproduce

To reproduce the bug, follow these steps:

  1. Clone the Soundux Git Repository: Clone the Soundux Git repository using the following command:

git clone https://aur.archlinux.org/soundux-git.git

2. **Install Dependencies**: Install the required dependencies using the following command:
   ```bash
makepkg -s

🖥️ Console Output

When attempting to install Soundux using the makepkg command, the console output will display the following error messages:

: Processing package changes...
(1/1) reinstalling libx11                                                                    [######################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
(deck@steamdeck soundux-git)$ makepkg -s
==> Making package: soundux-git 1:r1432.fca05c9-3 (Tue 22 Apr 2025 11:02:58 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating Soundux git repo...
==> Validating source files with sha256sums...
    Soundux ... Skipped
==> Extracting sources...
  -> Creating working copy of Soundux git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning at CMakeLists.txt:64 (find_package):
  By not providing "FindPulseAudio.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "PulseAudio", but CMake did not find one.

  Could not find a package configuration file provided by "PulseAudio" with
  any of the following names:

    PulseAudioConfig.cmake
    pulseaudio-config.cmake

  Add the installation prefix of "PulseAudio" to CMAKE_PREFIX_PATH or set
  "PulseAudio_DIR" to a directory containing one of the above files.  If
  "PulseAudio" a separate development package or SDK, be sure it has
  been installed.

❔ Expected Behaviour

The expected behavior is that the makepkg command should successfully install Soundux without any errors.

👀 Screenshots

No screenshots are available for this issue.

🖥️ Operating System

The operating system used to reproduce this issue is Linux, specifically the Steam Deck/Steam OS.

✅ I Confirm That...

  • I have collected all the required information and read all the comments in this document.
  • I searched for an existing bug report for this issue.
  • The problem does occur with the reproduction steps I provided.
  • What I described is indeed a problem.

Possible Solutions

Based on the console output, it appears that the issue is related to the CMake deprecation warning and the missing PulseAudio configuration file. To resolve this issue, you can try the following solutions:

  1. Update CMake: Update CMake to the latest version to resolve the deprecation warning.
  2. Install PulseAudio: Install PulseAudio and its development package to provide the required configuration file.
  3. Modify CMakeLists.txt: Modify the CMakeLists.txt file to include the PulseAudio configuration file or update the CMake version to resolve the deprecation warning.

Conclusion

Q: What is the issue with installing Soundux through AUR on Steam Deck?

A: The issue is related to the CMake deprecation warning and the missing PulseAudio configuration file. When attempting to install Soundux using the makepkg command, the process fails, and the user is left with a broken installation.

Q: What are the steps to reproduce the issue?

A: To reproduce the issue, follow these steps:

  1. Clone the Soundux Git repository using the following command:

git clone https://aur.archlinux.org/soundux-git.git

2. Install the required dependencies using the following command:
   ```bash
makepkg -s

Q: What is the console output when attempting to install Soundux?

A: The console output will display the following error messages:

: Processing package changes...
(1/1) reinstalling libx11                                                                    [######################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
(deck@steamdeck soundux-git)$ makepkg -s
==> Making package: soundux-git 1:r1432.fca05c9-3 (Tue 22 Apr 2025 11:02:58 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating Soundux git repo...
==> Validating source files with sha256sums...
    Soundux ... Skipped
==> Extracting sources...
  -> Creating working copy of Soundux git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning at CMakeLists.txt:64 (find_package):
  By not providing "FindPulseAudio.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "PulseAudio", but CMake did not find one.

  Could not find a package configuration file provided by "PulseAudio" with
  any of the following names:

    PulseAudioConfig.cmake
    pulseaudio-config.cmake

  Add the installation prefix of "PulseAudio" to CMAKE_PREFIX_PATH or set
  "PulseAudio_DIR" to a directory containing one of the above files.  If
  "PulseAudio" a separate development package or SDK, be sure it has
  been installed.

Q: What is the expected behavior when installing Soundux?

A: The expected behavior is that the makepkg command should successfully install Soundux without any errors.

Q: What are the possible solutions to resolve the issue?

A: Based on the console output, it appears that the issue is related to the CMake deprecation warning and the missing PulseAudio configuration file. To resolve this issue, you can try the following solutions:

  1. Update CMake: Update CMake to the latest version to resolve the deprecation warning.
  2. Install PulseAudio: Install PulseAudio and its development package to provide the required configuration file.
  3. Modify CMakeLists.txt: Modify the CMakeLists.txt file to include the PulseAudio configuration file or update the CMake version to resolve the deprecation warning.

Q: What is the operating system used to reproduce this issue?

A: The operating system used to reproduce this issue is Linux, specifically the Steam Deck/Steam OS.

Q: Have you searched for an existing bug report for this issue?

A: Yes, I have searched for an existing bug report for this issue and could not find any relevant information.

Q: What is the current status of this issue?

A: The current status of this issue is that it is still unresolved. However, by following the possible solutions outlined above, you may be able to resolve the issue and successfully install Soundux on your Steam Deck.