I decided to try my hand at upgrading gnome-utils to 2.6.2. Had to patch gfloppy to not use the MAJOR() kernel macro, and to use major() from sys/sysmacros.h instead. Also removed a #include<linux/fs.h> which was causing problems. I'll attach the ebuild & patch. Could someone let me know if everything looks okay? This is my first ebuild/epatch. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 30565 [details] Updated gnome-utils ebuild
Created attachment 30566 [details, diff] Patch for gnome-utils-2.6.2 compile probs (maybe kernel 2.6 specific?)
it works patchless on my 2.6.3 kernel, what exact kernel are you using ?
uname -r: 2.6.5-gentoo cat /usr/include/linux/version.h: #define UTS_RELEASE "2.6.5-gentoo" #define LINUX_VERSION_CODE 132613 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
Patched worked fine but the ebuild needs "inherit eutils" or the patch doesn't get applied: >>> Unpacking gnome-utils-2.6.2.tar.bz2 to /var/tmp/portage/gnome-utils-2.6.2/work /usr/sbin/ebuild.sh: line 44: epatch: command not found I think a more serious problem is that unless you're watching you wont see this error. For some reason the epatch line above does not get logged.
Okay, it -builds- on 2.4.x headers, but I have no possibility to check that it -works- there. Can someone with a floppy please help out testing this? Requirement: 2.4 kernel headers floppy device.
*** Bug 57270 has been marked as a duplicate of this bug. ***
in the tree, please test on 2.4 kernel headers.