Package: aufs-source
Version: 0+20070924-2
Severity: wishlist
Tags: patch

*** Please type your report below this line ***

Building aufs-source against kernel 2.6.23 triggers:
        # the environment variables are not inherited since 2.6.23
        ifneq ($(shell test ${SUBLEVEL} -ge 23 && echo include),)
        include /tmp/aufsvars.mk
        endif

The hardcoded /tmp/aufsvars.mk doesn't exist of course and results in the 
following build error:
        make[2]: Entering directory `/tmp/pkg/modules/aufs'
        /usr/bin/make -C /tmp/pkg/linux M=/tmp/pkg/modules/aufs clean
        make[3]: Entering directory `/tmp/pkg/linux-2.6.23-rc9-git2-slh64-smp-1'
        /tmp/pkg/modules/aufs/Makefile.upstream:6: /tmp/aufsvars.mk: No such 
file or directory
        make[4]: *** No rule to make target `/tmp/aufsvars.mk'.  Stop.
        make[3]: *** [_clean_/tmp/pkg/modules/aufs] Error 2
        make[3]: Leaving directory `/tmp/pkg/linux-2.6.23-rc9-git2-slh64-smp-1'
        make[2]: *** [kdist_clean] Error 2
        make[2]: Leaving directory `/tmp/pkg/modules/aufs'
        Module /tmp/pkg/modules/aufs failed to clean up
        Hit return to Continue?

Given the file comments and the current diversion of the upstream Makefile 
inside the Debian packaging (which includes config options and upstream 
Makefile), it seems to be possible to remove that inclusion alltogether (the 
attached patch has been tested with good results).

Regards
        Stefan Lippers-Hollmann

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-rc9-git2-slh64-smp-2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aufs-source depends on:
ii  bzip2                         1.0.3-7    high-quality block-sorting file co
ii  debhelper                     5.0.57     helper programs for debian/rules
ii  make                          3.81-3     The GNU version of the "make" util
ii  module-assistant              0.10.11    tool to make module package creati

aufs-source recommends no packages.

-- no debconf information

Attachment: 05_fix-2.6.23-weirdness.dpatch
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to