Bug 1181879

Summary: GCC 11: openal-soft package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Ludwig Nussel <lnussel>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
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:20:04 UTC
Fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/openal-soft/standard/x86_64

with:
[   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
reported twice

*** This bug has been marked as a duplicate of bug 1181878 ***
Comment 2 Martin Liška 2021-02-10 13:29:22 UTC
Whoops :)