Bug 1181878

Summary: GCC 11: openal-soft package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Ludwig Nussel <lnussel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: martin.liska
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1181859    

Description Martin Liška 2021-02-06 11:19:13 UTC
The package fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/openal-soft/standard/x86_64

due to:
[   87s] cd /home/abuild/rpmbuild/BUILD/openal-soft-1.21.0/build/utils/alsoft-config && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/home/abuild/rpmbuild/BUILD/openal-soft-1.21.0/build/utils/alsoft-config -I/home/abuild/rpmbuild/BUILD/openal-soft-1.21.0/build -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG -O3 -DNDEBUG -fPIC -std=gnu++14 -o CMakeFiles/alsoft-config.dir/verstr.cpp.o -c /home/abuild/rpmbuild/BUILD/openal-soft-1.21.0/utils/alsoft-config/verstr.cpp
[   87s] /home/abuild/rpmbuild/BUILD/openal-soft-1.21.0/common/almalloc.cpp: In function 'void* al_malloc(size_t, size_t)':
[   87s] /home/abuild/rpmbuild/BUILD/openal-soft-1.21.0/common/almalloc.cpp:23:17: error: 'aligned_alloc' is not a member of 'std'; did you mean 'aligned_union'?
[   87s]    23 |     return std::aligned_alloc(alignment, size);
[   87s]       |                 ^~~~~~~~~~~~~
[   87s]       |                 aligned_union
[   87s] [ 15%] Building CXX object utils/alsoft-config/CMakeFiles/alsoft-config.dir/moc_mainwindow.cpp.o
Comment 1 Christophe Marin 2021-02-10 13:28:08 UTC
*** Bug 1181879 has been marked as a duplicate of this bug. ***
Comment 2 Ludwig Nussel 2021-02-16 12:42:55 UTC
Could you try linking games/openal-soft into the staging? It contains 1.21.1 which I believe has a fix:
https://repo.or.cz/openal-soft.git/commitdiff/f576a353638236775ecb4f4e8ba93cb1716fbe2d
Comment 3 Martin Liška 2021-02-16 12:57:40 UTC
Please test it with --alternative-project openSUSE:Factory:Staging:Gcc7 and if it's fine, then make a submit request to openSUSE:Factory.
Note that the openSUSE:Factory:Staging:Gcc7 will stay there for months.
Comment 4 Ludwig Nussel 2021-02-22 15:33:23 UTC
sr#874263