1. Download the three files (*.dsc, *orig.tar.xz, and *debian.tar.xz)
for the 1.6.9 distribution on the wheezy-backports page
https://packages.debian.org/source/wheezy-backports/openafs
2. Run git-import-dsc
3. Add the patch file provided by Zdenek Salvet to debian/patches and
update the series file (patch file:
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=886799;filename=meta_port_inode_change_ok.patch;msg=15)
4. Build the package using "pbuild wheezy".
5. Copy the created debian package
openafs-modules-dkms_1.6.9-2+deb8u4~bpo70+1_all.deb to a wheezy server
on the 3.2.0-5 kernel and install via "dpkg -i".
6. The install fails; these lines in
/var/lib/dkms/openafs/1.6.9/build/make.log indicate the error:
/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.2.0-5-amd64-SP/osi_file.c:
In function 'osi_UFSTruncate':
/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.2.0-5-amd64-SP/osi_file.c:195:5:
error: implicit declaration of function 'inode_change_ok'
[-Werror=implicit-function-declaration]
Thanks, Adam Lewenberg
On 1/25/2018 6:03 PM, Benjamin Kaduk wrote:
On Thu, Jan 25, 2018 at 09:21:48AM -0800, deb...@lewenberg.com wrote:
The patch you provide works fine with jessie and the 1.6.9 source
packages. However, I cannot get it to work with wheezy.
I compile the openafs source package against wheezy and the compilation
completes without error and creates a bunch of .deb files. But when I
try to install the patched openafs-modules-dkms on a 3.2.0-5 wheezy
kernel I get the same error as before:
/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.2.0-5-amd64-SP/osi_file.c:
In function 'osi_UFSTruncate':
/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.2.0-5-amd64-SP/osi_file.c:195:5:
error: implicit declaration of function 'inode_change_ok'
[-Werror=implicit-function-declaration]
Has anyone successfully compiled and installed 1.6.9 on a 3.2.0-5 wheezy
machine?
I have one running, yes. I put my progress so far into the
soon-to-be-non-canonical packaging repo at
https://anonscm.debian.org/cgit/pkg-k5-afs/openafs.git/log/?id=refs/heads/wheezy
and asked on debian-lts about the procedure for getting it into
wheezy, since this is not technically a security update
(https://lists.debian.org/debian-lts/2018/01/msg00079.html).
How are you building your packages that are failing to build a DKMS
module?
-Ben