Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931087 - media-libs/libsdl2-2.30.3: threads use flag is mandatory
Summary: media-libs/libsdl2-2.30.3: threads use flag is mandatory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 932182 (view as bug list)
Depends on:
Blocks: 936073
  Show dependency tree
 
Reported: 2024-05-02 07:38 UTC by Joonas Niilola
Modified: 2024-09-28 20:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Niilola gentoo-dev 2024-05-02 07:38:32 UTC
When compiling libsdl2-2.30.3 with -threads (arch testing with randomized use flags) configure always ends with:

CMake Error at cmake/macros.cmake:36 (message):
  *** ERROR: Threads are needed by many SDL subsystems and may not be
  disabled
Call Stack (most recent call first):
  CMakeLists.txt:2995 (message_error)


-- Configuring incomplete, errors occurred!
 * ERROR: media-libs/libsdl2-2.30.3::gentoo failed (configure phase):
 *   cmake failed
Comment 1 James Le Cuirot gentoo-dev 2024-05-19 09:17:36 UTC
*** Bug 932182 has been marked as a duplicate of this bug. ***
Comment 2 James Le Cuirot gentoo-dev 2024-05-19 09:18:08 UTC
Trying to sort this out, but there's some revdeps that ideally need fixing first.
Comment 3 Larry the Git Cow gentoo-dev 2024-09-28 20:43:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f37b2eb542f61d5fd05be6865cf43105b60c1a5

commit 2f37b2eb542f61d5fd05be6865cf43105b60c1a5
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-09-28 20:28:21 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-09-28 20:43:07 +0000

    media-libs/libsdl2: Drop threads USE flag from 2.30.7-r1
    
    It's effectively mandatory now.
    
    Closes: https://bugs.gentoo.org/931087
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 media-libs/libsdl2/libsdl2-2.30.7-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)