Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158577 - sys-cluster/gnbd-kernel-1.03 fails to compile because of obsolete devfs code, and install kernel mods in '/' instead of the '/lib/modules/${KV_FULL}'
Summary: sys-cluster/gnbd-kernel-1.03 fails to compile because of obsolete devfs code,...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 11:59 UTC by Jasmine
Modified: 2010-09-10 19:01 UTC (History)
0 users

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


Attachments
sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild patch (gnbd-kernel-1.03.00.ebuild.patch,985 bytes, patch)
2006-12-19 12:00 UTC, Jasmine
Details | Diff
cluster/gnbd-kernel/src/gnbd.c patch (gnbd-kernel-1.03.00-removedevfs.diff,1.43 KB, patch)
2006-12-19 12:01 UTC, Jasmine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jasmine 2006-12-19 11:59:05 UTC
also see http://bugs.gentoo.org/show_bug.cgi?id=158572

sys-cluster/gnbd-kernel-1.03 fails to compile because of devfs stuff which breaks the compile against recent kernels with udev (ebuild requires 2.6.16 or higher kernel anyways, tested with 2.6.17-gentoo-r8), so requires additional patch to the source
Comment 1 Jasmine 2006-12-19 12:00:17 UTC
Created attachment 104383 [details, diff]
sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild patch
Comment 2 Jasmine 2006-12-19 12:01:57 UTC
Created attachment 104384 [details, diff]
cluster/gnbd-kernel/src/gnbd.c patch
Comment 3 Christian Zoffoli (RETIRED) gentoo-dev 2007-03-03 00:23:49 UTC
partially merged in CVS, thanks

this part is not devfs related:

@@ -994,6 +990,7 @@
         if (err)
                 goto out_unregister_class;
         
+	do_gettimeofday(&tv); 
 	insmod_time = (uint64_t) tv.tv_sec * 1000000 + tv.tv_usec;
 
 	return 0;