Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168952 - [PATCH] sys-block/nbd-2.9.2 fails to compile against linux-headers-2.6.20-r1
Summary: [PATCH] sys-block/nbd-2.9.2 fails to compile against linux-headers-2.6.20-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-03-02 00:13 UTC by Peter Alfredsen (RETIRED)
Modified: 2007-03-03 05:01 UTC (History)
0 users

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


Attachments
nbd-2.9.2-asm-page-h.patch (nbd-2.9.2-asm-page-h.patch,437 bytes, patch)
2007-03-02 00:15 UTC, Peter Alfredsen (RETIRED)
Details | Diff
nbd-2.9.2.ebuild (nbd-2.9.2.ebuild,1.08 KB, text/plain)
2007-03-02 00:16 UTC, Peter Alfredsen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2007-03-02 00:13:57 UTC
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Os -march=athlon-xp -pipe -ggdb3 -idirafter /var/tmp/portage/sys-block/nbd-2.9.2/work/nbd-2.9.2/inc-after -MT nbd-client.o -MD -MP -MF ".deps/nbd-client.Tpo" -c -o nbd-client.o nbd-client.c; \
        then mv -f ".deps/nbd-client.Tpo" ".deps/nbd-client.Po"; else rm -f ".deps/nbd-client.Tpo"; exit 1; fi
nbd-client.c:19:22: error: asm/page.h: No such file or directory
make[1]: *** [nbd-client.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-block/nbd-2.9.2/work/nbd-2.9.2'
make: *** [all] Error 2

Trivially fixed by not including page.h. nothing uses it.

Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2007-03-02 00:15:54 UTC
Created attachment 111755 [details, diff]
nbd-2.9.2-asm-page-h.patch

This fixes it. Emerge succesful.
BTW, this was reported in bug #168312 by marduk.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2007-03-02 00:16:37 UTC
Created attachment 111756 [details]
nbd-2.9.2.ebuild

ebuild for patch.
Comment 3 SpanKY gentoo-dev 2007-03-03 05:01:55 UTC
added to cvs and reported upstream, thanks