Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21923 - [aufs2] 2.6.36.patch missing from kernel patch tarball

Attached to Project: Arch Linux
Opened by Phil Sambles (psambles) - Monday, 29 November 2010, 17:09 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 10 December 2010, 22:18 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Attempting to compile aufs2 (2.6.36_20101021) against kernel26 (2.6.36.1-3) fails with compiler errors (details below).
It looks like aufs2-2.6.36.patch should have been applied to the kernel source tree (it's in the GIT repository) but hasn't made it into the kernel patch tarball (patch-2.6.36.1-3-ARCH.bz2).

Workaround:
Manually pulling aufs2-2.6.36.patch from GIT and applying it to the kernel source tree allowed me to compile aufs2.

Additional info:
aufs2 - 2.6.36_20101021
kernel26 - 2.6.36.1-3

Steps to reproduce:
- Copy aufs2 from /var/abs/extra to build directory
- makepkg

Error messages:

CC [M] .../aufs2/src/aufs2-2.6.36_20101021/fs/aufs/branch.o
.../aufs2/src/aufs2-2.6.36_20101021/fs/aufs/branch.c: In function ‘au_br_mod_files_ro’:
.../aufs2/src/aufs2-2.6.36_20101021/fs/aufs/branch.c:861:9: error: implicit declaration of function ‘files_lglock_global_lock’
.../aufs2/src/aufs2-2.6.36_20101021/fs/aufs/branch.c:862:2: error: implicit declaration of function ‘do_file_list_for_each_entry’
.../aufs2/src/aufs2-2.6.36_20101021/fs/aufs/branch.c:862:40: error: expected ‘;’ before ‘{’ token
.../aufs2/src/aufs2-2.6.36_20101021/fs/aufs/branch.c:907:2: error: implicit declaration of function ‘files_lglock_global_unlock’
.../aufs2/src/aufs2-2.6.36_20101021/fs/aufs/branch.c:923:1: warning: label ‘out_free’ defined but not used
.../aufs2/src/aufs2-2.6.36_20101021/fs/aufs/branch.c:847:16: warning: unused variable ‘bstart’

This task depends upon

Closed by  Tobias Powalowski (tpowa)
Friday, 10 December 2010, 22:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.6.36.2-1

Loading...