[Pkg-oss4-maintainers] Bug#653374: closed by Sebastien NOEL <sebastien at twolife.org> (Bug#653374: fixed in oss4 4.2-build2005-2)

Michel Briand michelbriand at free.fr
Sun Feb 12 18:09:35 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


owner at bugs.debian.org (Debian Bug Tracking System) - Sun, 29 Jan 2012
12:51:41 +0000

>This is an automatic notification regarding your Bug report
>which was filed against the oss4-dkms package:
>
>#653374: oss4-dkms build fails
>
>It has been closed by Sebastien NOEL <sebastien at twolife.org>.
>
>Their explanation is attached below along with your original report.
>If this explanation is unsatisfactory and you have not received a
>better one in a separate message then please contact Sebastien NOEL <sebastien at twolife.org> by
>replying to this email.
>
>

Hello,

there is still a little typo error that makes the build fails :

CLEAN="cd core && rm -f *.o *.ko *.mod.c *.mod.o .*.cmd modules.order Module.symvers limits.h && rm -rf .tmp_versions && cd .. \
       cd drivers && rm -f *.o *.ko *.mod.c *.mod.o .*.cmd modules.order osscore_symbols.inc && rm -rf .tmp_versions && cd .. "

You forgot to add ';' at the end of each line.

This makes dkms do one 'cd ..' too much, and when it tries to find
built modules it fails here :

# Make sure all the modules built successfully
    for ((count=0; count < ${#built_module_name[@]}; count++)); do
	pwd
	[[ -e ${built_module_location[$count]}${built_module_name[$count]}$module_suffix ]] && continue
	report_build_problem 7 \
	...

pwd prints:

/var/lib/dkms/oss4/4.2-build2005/build

Thus the correct CLEAN variable is :

CLEAN="cd core && rm -f *.o *.ko *.mod.c *.mod.o .*.cmd modules.order Module.symvers limits.h && rm -rf .tmp_versions && cd .. ; \
       cd drivers && rm -f *.o *.ko *.mod.c *.mod.o .*.cmd modules.order osscore_symbols.inc && rm -rf .tmp_versions && cd .. ; "


Best regards,
Michel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk84AF8ACgkQzx734gF2YUtB4ACeP8pkS8UV0LkI8Ly+yDMxsMy+
9FoAmwb7BgWRhCJsKXL8Qxi6wdIqD+n1
=ZYV4
-----END PGP SIGNATURE-----


More information about the Pkg-oss4-maintainers mailing list