[alsa-devel] [PATCH] alsa-driver git repo: Build problems when copying symlink to itself
Takashi Iwai
tiwai at suse.de
Mon Mar 14 14:21:11 CET 2011
At Mon, 14 Mar 2011 13:16:43 +0000,
Colin Guthrie wrote:
>
> 'Twas brillig, and Takashi Iwai at 14/03/11 09:43 did gyre and gimble:
> > At Sat, 12 Mar 2011 10:30:48 +0000,
> > Colin Guthrie wrote:
> >>
> >> Hi,
> >>
> >> After doing a "simple":
> >> git clone alsa-driver
> >> git clone alsa-kernel
> >> cd alsa-driver
> >> ./gitcompile --with-debug=full --with-isapnp=yes --with-sequencer=yes
> >> --with-moddir=updates/alsa:
> >>
> >> The build bombed out pretty quickly with the following error.
> >
> > Can't reproduced with my trees. Could you try the GIT trees below
> > instead?
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/alsa-driver-build.git
> > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>
> OK, so I should have explained it a bit better - tho' in actual fact my
> fixes wont really help much....
>
>
> I was using the trees @
>
> git://git.alsa-project.org/alsa-driver.git
> and
> git://git.alsa-project.org/alsa-kernel.git
>
>
> I tried cloning the repos you suggested and ran the script and all was well.
>
> The problem I generally encountered was that as time passes (as it has
> since the last time I used my clones) and you do a git pull, the patches
> that are needed change.
>
> When these change, the file alsa-driver/includes/sound/.includes (which
> is generated by alsa-driver/includes/sound/Makefile) is *not* updated.
> Therefore, the patch information is bogus and incorrect.
But you did clean up before update, right?
"make clean" should remove .includes file.
> Really the build script needs to rm that file or the Makefile has to be
> able to update it accordingly.
>
> I also run into the same problem when trying to chase down a regression
> (a pre-bisect checks). I was not able to rebuild the older drivers
> easily without rm'ing the above .includes file. Obviously even with the
> two patches I attached previously, it only papers over the problem as
> the .include file is simply out of date. Correcting the .include file
> should avoid the need for my changes.
>
> Am I missing a trick here or is it part of the bi-secting process?
>
> Also please see my other mail about *how* to do a bisect here - while
> keeping alsa-driver and alsa-kernel in sync....
Use alsa-kmirror.
Takashi
More information about the Alsa-devel
mailing list