Bug 1974107

Summary: xwax package needs dependency on alsa-lib-devel
Product: [Fedora] Fedora Reporter: Ryan C. Gordon <icculus>
Component: xwaxAssignee: John Brier <johnbrier>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: i, johnbrier, rosset.filipe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xwax-1.8-1.fc36 xwax-1.8-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-04 02:56:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan C. Gordon 2021-06-20 15:06:12 UTC
Description of problem:

xwax requires alsa-lib-devel to build correctly, but the RPM does not list it as a requirement. It happens to work because it depends on SDL-devel, which currently has a dependency on ALSA, but SDL is about to be replaced by sdl12-compat, which does _not_ list this dependency. Once this replacement happens, xwax will fail to build.


Version-Release number of selected component (if applicable):

1.7

How reproducible:

With sdl12-compat in place, 100% reproduceable.


Steps to Reproduce:
1. Use sdl12-compat in rawhide instead of SDL ( see https://bugzilla.redhat.com/show_bug.cgi?id=1970507 )
2. Try to build xwax from source.
3. Notice this output in the xwax build.log:

alsa.c:24:10: fatal error: alsa/asoundlib.h: No such file or directory
   24 | #include <alsa/asoundlib.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: alsa.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from dicer.c:38:
midi.h:23:10: fatal error: alsa/asoundlib.h: No such file or directory
   23 | #include <alsa/asoundlib.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: dicer.o] Error 1


Actual results:

xwax package fails because ALSA headers aren't available.


Expected results:

xwax should still build correctly once SDL is replaced with sdl12-compat.


Additional info:

Comment 1 Ben Cotton 2021-08-10 13:08:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 2 John Brier 2021-08-20 19:10:32 UTC
@rosset.filipe

I don't have a Fedora system available at all currently. Can you take this?

Really, someone else should take ownership of the xwax package. It's not a priority for me currently.

Comment 3 Fedora Update System 2021-10-04 02:54:49 UTC
FEDORA-2021-abbf667bdd has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-abbf667bdd

Comment 4 Fedora Update System 2021-10-04 02:56:16 UTC
FEDORA-2021-abbf667bdd has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2021-10-04 03:17:46 UTC
FEDORA-2021-e25b4df69a has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e25b4df69a

Comment 6 Fedora Update System 2021-10-05 15:16:06 UTC
FEDORA-2021-e25b4df69a has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e25b4df69a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e25b4df69a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-10-29 22:56:13 UTC
FEDORA-2021-e25b4df69a has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.