Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468712 - media-sound/alsa-headers: replace by sound/ headers from sys-kernel/linux-headers
Summary: media-sound/alsa-headers: replace by sound/ headers from sys-kernel/linux-hea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://alsa-project.org/main/index.ph...
Whiteboard: Pending Removal: 2013-08-15
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2013-05-06 02:22 UTC by Rafał Mużyło
Modified: 2013-08-31 15:18 UTC (History)
2 users (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 Rafał Mużyło 2013-05-06 02:22:25 UTC
It comes down to this:
with the upstream management change, perhaps it would be a good idea to merge alsa-headers into linux-headers, cause if there were any changes since 1.0.25, they're only in kernel right now.
Comment 1 SpanKY gentoo-dev 2013-05-06 05:26:28 UTC
alsa-headers installs a lot more than the headers installed by the kernel

the kernel only installs these into /usr/include/sound/:
asequencer.h asound_fm.h asound.h compress_offload.h compress_params.h emu10k1.h hdsp.h hdspm.h sb16_csp.h sfnt_info.h
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-05-06 07:01:50 UTC
alsa-headers is alsa-driver and now http://www.alsa-project.org/main/index.php/Main_Page links alsa-driver to http://www.kernel.org/

so whatever headers get installed by linux-headers should be enough for ALSA 1.0.27
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-05-06 13:53:11 UTC
turned out =media-libs/alsa-lib-1.0.27* doesn't need media-sound/alsa-headers in 
DEPEND at all, removed it

these 3 packages have depend on alsa-headers too:

media-sound/dbmeasure
media-sound/line6usb
media-video/vlc

i bet all of them would build if linux-headers had the files in Comment #1
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-05-06 14:09:34 UTC
(In reply to comment #3)
> turned out =media-libs/alsa-lib-1.0.27* doesn't need
> media-sound/alsa-headers in 
> DEPEND at all, removed it
> 
> these 3 packages have depend on alsa-headers too:
> 
> media-sound/dbmeasure

this had the dependency unnecessarily too, removed it

> media-sound/line6usb

this fails to build, is maintainer-needed, should be removed from tree

> media-video/vlc

propably unnecessary alsa-headers dependency but I can't test because the emerge fails due to unrelated reasons:
/bin/sh: line 4: 30905 Segmentation fault      ./vlc-cache-gen ../modules
make[2]: *** [../modules/plugins.dat] Error 139
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-05-06 14:21:36 UTC
(In reply to comment #4)
> > media-sound/line6usb
> this fails to build, is maintainer-needed, should be removed from tree

masked now for removal

>> media-video/vlc

dependency dropped

orphaned alsa-headers package to maintainer-needed@ as it's completely unused in gentoo-x86
please install required headers within linux-headers
Comment 6 SpanKY gentoo-dev 2013-05-06 15:40:22 UTC
the kernel eclass will need changes:
-        rm -rf "${D}"/${ddir}/sound #alsa-headers

once alsa-headers is masked and/or removed, i'll remove that and add a blocker
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2013-07-15 13:47:07 UTC
(In reply to SpanKY from comment #6)
> the kernel eclass will need changes:
> -        rm -rf "${D}"/${ddir}/sound #alsa-headers
> 
> once alsa-headers is masked and/or removed, i'll remove that and add a
> blocker

  15 Jul 2013; Samuli Suominen <ssuominen@gentoo.org>
  alsa-lib-1.0.26-r1.ebuild:
  Backport media-sound/alsa-headers dependency dropping wrt #468712

Nothing in gentoo-x86 is depending on media-sound/alsa-headers anymore, and it's p.masked as well
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2013-07-15 14:12:39 UTC
(In reply to SpanKY from comment #6)
> the kernel eclass will need changes:
> -        rm -rf "${D}"/${ddir}/sound #alsa-headers

done that too since the another is p.masked with instructions. hey, where do you want the blockers, in the eclass (by defining subtype, which is? :) or the ebuilds?
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2013-07-15 14:16:57 UTC
(In reply to Samuli Suominen from comment #8)
> hey, where do you want the blockers, in the eclass (by defining subtype, which > is? :) or the ebuilds?

added one to media-sound/alsa-firmware, and it looks good now:

$ sudo emerge -av alsa-headers

These are the packages that would be merged:

Calculating dependencies... done!
[ebuild  N    #] media-sound/alsa-headers-1.0.25-r1  0 kB
[blocks b      ]  sys-kernel/linux-firmware ("sys-kernel/linux-firmware" is blocking media-sound/alsa-headers-1.0.25-r1)
[uninstall     ]   sys-kernel/linux-firmware-20130530  USE="-savedconfig" 

Total: 1 package (1 new, 1 uninstall), Size of downloads: 0 kB
Conflict: 1 block

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by alsa-headers (argument)
# /home/ssuominen/gentoo-x86/profiles/package.mask:
# Samuli Suominen <ssuominen@gentoo.org> (15 Jul 2013)
# The separate media-sound/alsa-headers package has been obsoleted
# by letting sys-kernel/linux-headers install the required sound/
# headers.
#
# The instructions to migrate follows:
# emerge -C alsa-headers
# emerge -1 linux-headers
#
# The separate package will be removed in 30 days
=media-sound/alsa-headers-1.0.25-r1

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2013-07-15 16:10:54 UTC
(In reply to Samuli Suominen from comment #9)
> (In reply to Samuli Suominen from comment #8)
> > hey, where do you want the blockers, in the eclass (by defining subtype, which > is? :) or the ebuilds?
> 
> added one to media-sound/alsa-firmware, and it looks good now:
> 
> $ sudo emerge -av alsa-headers
> 
> These are the packages that would be merged:
> 
> Calculating dependencies... done!
> [ebuild  N    #] media-sound/alsa-headers-1.0.25-r1  0 kB
> [blocks b      ]  sys-kernel/linux-firmware ("sys-kernel/linux-firmware" is
> blocking media-sound/alsa-headers-1.0.25-r1)
> [uninstall     ]   sys-kernel/linux-firmware-20130530  USE="-savedconfig" 

there was typo of 's/linux-firmware/linux-headers' in the blocker at alsa-headers ebuild :-p
ie. it looks OK now in tree
Comment 11 Pacho Ramos gentoo-dev 2013-08-31 15:18:09 UTC
dropped