[Pkg-alsa-devel] Bug#618806: Bug#618806: drop depends on udev

Karl Hammar karl at aspodata.se
Tue Mar 22 12:27:29 UTC 2011


Elimar:
> * Karl Hammar [110320 22:08 +0100]:
> > Elimar:
...
> > This is not a bug report about v.1.0.16. It is a bug report about later
> > version.
> Your bug is filed against Version: 1.0.16-2

Sorry if I caused you any confusion, but I have tried to describe the 
problem as good as I could.

...
> > To tell you the truth, I happened to upgrade alsa-utils to the
> > squeeze version and my system broke due to udev, 
> So why the bug against alsa-utils and not udev?

I filed a bug report against alsa-utils since I don't want udev on this
system and the new package is forcing it on me.

...
> >   $ apt-get source alsa-utils
> >   $ cd alsa-utils-1.0.23
> >   $ find . -type f | xargs grep udev  
...
> > From the above we see that there is nothing in the upstream source
> > nor any debian patch (./debian/patches) that has any relationship to
> > udev. Which means that the binaries in alsa-utils don't need udev and
> > will run just fine without it.
> 
> From above you can see that we are using a udev rule which runs
> /lib/udev/alsa-utils.

Yes, but copying a file to a directory doesn't itself imply a
dependency on another package.

Please respect this administrators wish, replace the "Depends" with a
"Recommends" and remove udev from the Required-Start in the init file.
I see that as a practical solution, it will allow people like me to do
it my way, and most people will have udev pulled in either through the 
the standard kernel or by the recommends.

> And please check
> http://www.alsa-project.org/main/index.php/Changes_v1.0.23_v1.0.24 were udev is
> used to make the initialation of the big amount of existing sound devices much
> more easier.

Ok, I'm reading it now. Downloading 1.0.24.2 and scanning through
it, I see that

 $ find . -type f | xargs grep udev | cut -f 1 -d: | sort -u |
 > grep -v Makefile.in
 ./alsactl/Makefile.am
 ./configure
 ./configure.in
 $

and that all Makefile.in's (except alsactl's) only reference to
udev is that they contains the line "udevrulesdir = @udevrulesdir@'":

 $ find . -name Makefile.in | xargs grep udev |
 > fgrep -v 'udevrulesdir = @udevrulesdir@' |
 > grep -v ^./alsactl/Makefile.in 
 $

I.e. no binary nor any script in upstream (except
./aslactl/Makefile.in) depend at udev at all. For alsactl it is
about where to put files, and that can be done without any part
of udev installed.

> We will definitively append on udev in the future but maybe resign
> /etc/init.d/alsa-utils in the advantage of the new udev hook up and the
> configure option "--with-udev-rules-dir".
> 
> I can't help you to set up udev in your system. This should be done by your
> self with the help of the Debian community.

I have not asked for help with udev, you don't need to bother with
that.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57







More information about the Pkg-alsa-devel mailing list