[Pkg-mol-devel] Bug#410461: Bug#410461: (no subject)
Bin Zhang
yangtze31 at gmail.com
Sat Aug 9 19:31:16 UTC 2008
Hi,
On Sat, Aug 9, 2008 at 8:54 PM, Gaudenz Steinlin <gaudenz at debian.org> wrote:
> Hi Bin
>
> Sorry for that. It was not possible to fix all the bugs with the new
> upload. The top priority now is to get an RC bug free version of mol
> into lenny. With the current freeze policy I suspect it will not be
> possible to fix this bug before lenny.
>
No problem.
> As far as I understand your bug the modules.* files end up in the
> mol-modules-* package which you build with kernel-package for your self
> compiled kernel which is also built with kernel-package. Correct?
>
Yes.
> I'm not sure why these files end up in the kernel module package built
> by kernel-package and if this is even a bug in mol-source or rather a
> bug in kernel-package. Thus I'm a bit reluctant to add your fix because
> it unconditionally deletes these files.
>
You are right. It's juste a workaround.
> Could you please provide the commands you used to build your kernel deb
> and the mol-modules deb.
>
$ make-kpkg clean
$ fakeroot make-kpkg --append-to-version -toi-dri --revision 2.6.26-2
kernel_image
$ MODULE_LOC=~/src/kernel/modules fakeroot make-kpkg
--append-to-version -toi-dri modules_image
( toi = tuxonice, http://www.tuxonice.net/
dri = a patch for tuxonice with dri,
http://patchwork.ozlabs.org/linuxppc/patch?id=10112 )
Regards,
Bin
> Gaudenz
>
> On Sat, Aug 09, 2008 at 08:11:57PM +0200, Bin Zhang wrote:
>> Hi,
>>
>> This bug is still present with 0.9.72.1~dfsg-2 and linux-source-2.6.26
>> (I have compiled it without initrd.img).
>>
>> # dpkg -i
>> ../mol-modules-2.6.26-toi-dri_0.9.72.1~dfsg-2+2.6.26-2_powerpc.deb
>> Selecting previously deselected package mol-modules-2.6.26-toi-dri.
>> (Reading database ... 148558 files and directories currently installed.)
>> Unpacking mol-modules-2.6.26-toi-dri (from
>> .../mol-modules-2.6.26-toi-dri_0.9.72.1~dfsg-2+2.6.26-2_powerpc.deb) ...
>> dpkg: error processing
>> ../mol-modules-2.6.26-toi-dri_0.9.72.1~dfsg-2+2.6.26-2_powerpc.deb
>> (--install):
>> trying to overwrite `/lib/modules/2.6.26-toi-dri/modules.pcimap', which
>> is also in package linux-image-2.6.26-toi-dri
>> Errors were encountered while processing:
>> ../mol-modules-2.6.26-toi-dri_0.9.72.1~dfsg-2+2.6.26-2_powerpc.deb
>>
>>
>> The workaround in my previous message is still valid:
>>
>> --- Makefile.orig 2008-08-09 19:25:56.000000000 +0200
>> +++ Makefile 2008-08-09 19:27:14.000000000 +0200
>> @@ -39,6 +39,7 @@
>> install: build $(SUBDIRS:=-install)
>> $(SUBDIRS:=-install):
>> $(MAKE) INSTALL_MOD_PATH=$(DESTDIR) -C $(KSRC) M=`pwd`/$(subst
>> -install,,$@) modules_install
>> + rm $(DESTDIR)/lib/modules/$(KVERS)/modules.*
>>
>> # descend into subdirectories and clean up
>> .PHONY: $(SUBDIRS:=-clean)
>>
>>
>>
>> Best regards,
>> Bin
>>
>>
>>
>> _______________________________________________
>> Pkg-mol-devel mailing list
>> Pkg-mol-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-mol-devel
>
> --
> Ever tried. Ever failed. No matter.
> Try again. Fail again. Fail better.
> ~ Samuel Beckett ~
>
>
>
>
More information about the Pkg-mol-devel
mailing list