Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427848 - net-fs/openafs-kernel-1.6.1 with >=gentoo-sources-3.5.0 - .../work/openafs-1.6.1/src/libafs/MODLOAD-3.5.0-gentoo-MP/osi_vfsops.c:287:5: Fehler: Implizite Deklaration der Funktion »end_writeback«
Summary: net-fs/openafs-kernel-1.6.1 with >=gentoo-sources-3.5.0 - .../work/openafs-1....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrej Filipcic
URL:
Whiteboard:
Keywords:
Depends on: 435990
Blocks:
  Show dependency tree
 
Reported: 2012-07-24 07:17 UTC by Oliver Freyermuth
Modified: 2012-09-25 00:19 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete build log (openafsbuild,100.82 KB, text/plain)
2012-07-24 07:32 UTC, Oliver Freyermuth
Details
Output of emerge --info '=net-fs/openafs-kernel-1.6.1' (openafsinfo,12.44 KB, text/plain)
2012-07-24 07:33 UTC, Oliver Freyermuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Freyermuth 2012-07-24 07:17:54 UTC
Compilation fails after upgrading to gentoo-sources 3.5.0 due to implicit definition of "end_writeback". 

Reproducible: Always

Steps to Reproduce:
1. Upgrade to gentoo-sources 3.5.0, configure and build
2. Recompile openafs-kernel-1.6.1
Actual Results:  
Compilation fails

Expected Results:  
Compilation works

This problem has already been fixed upstream, the corresponding deltas are
    - [2b33384] Linux 3.4: replace end_writeback with clear_inode
    - [5227148] Linux 3.5: encode_fh API change

For further information, please refer to: 
https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/1015925
Comment 1 Oliver Freyermuth 2012-07-24 07:32:32 UTC
Created attachment 319064 [details]
Complete build log
Comment 2 Oliver Freyermuth 2012-07-24 07:33:07 UTC
Created attachment 319066 [details]
Output of emerge --info '=net-fs/openafs-kernel-1.6.1'
Comment 3 Oliver Freyermuth 2012-07-24 08:06:58 UTC
After testing in a local overlay, I can confirm that 
[2b33384] Linux 3.4: replace end_writeback with clear_inode
is sufficient to make openafs compile and work with gentoo-sources-3.5.0 (did only test openafs-client). 

The patch can be taken from upstream git using the following direct link: 
http://git.openafs.org/?p=openafs.git;a=patch;h=cc63cbbc138f60d6b5964fa859dcd778717b24c2
Comment 4 Juergen Rose 2012-07-25 16:04:21 UTC
I have the same issue. Can we get a patched version of openafs-kernel into the main tree?
Comment 5 JTRiley 2012-08-04 04:05:41 UTC
(In reply to comment #3)
> After testing in a local overlay, I can confirm that 
> [2b33384] Linux 3.4: replace end_writeback with clear_inode
> is sufficient to make openafs compile and work with gentoo-sources-3.5.0
> (did only test openafs-client). 
> 
> The patch can be taken from upstream git using the following direct link: 
> http://git.openafs.org/?p=openafs.git;a=patch;
> h=cc63cbbc138f60d6b5964fa859dcd778717b24c2

Same issue, patch gets it to build for me.
Comment 6 SpanKY gentoo-dev 2012-09-25 00:19:33 UTC
should be fixed per bug 435990