Really, in pkg_preinst, you check whether at least one USE flag is enabled? Now the test happens _after the build completed_ which is _quite_ stupid. Please do the test in pkg_setup and set a default USE flag through EAPI=1 so that most users won't hit it by default. [Yes I do sound harsh, but heck this is the first time I see something this absurd… and arch teams marked this one stable?!]
Created attachment 199732 [details] Build log
(In reply to comment #0) > [Yes I do sound harsh, but heck this is the first time I see something this > absurd… and arch teams marked this one stable?!] Really? I'm... honoured(?)... to have made such a novel (and/or stupid) mistake ;) Thanks for catching this, I've changed the check to pkg_setup. But as for the USE-default, I'm not sure I can know what the appropriate default is. I hope that users would have one or the other of these global USE flags set globally, depending on their sound system preferences.
Given esd is being deprecated, the choice seems quite obvious to me…
(In reply to comment #3) > Given esd is being deprecated, the choice seems quite obvious to me… But forcing on a global USE flag at the package level seems wrong to me, especially when 'alsa' is already set in profiles/targets/desktop/make.defaults
Given that I'm speaking on behalf of QA: it's not wrong, just do it!
(In reply to comment #5) > Given that I'm speaking on behalf of QA: it's not wrong, just do it! Ah, didn't realize you were speaking ex cathedra ;) Done!