Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49794 - gnome-utils & 2.6 headers
Summary: gnome-utils & 2.6 headers
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 57270 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-02 19:36 UTC by Curtis Magyar
Modified: 2004-07-23 06:24 UTC (History)
1 user (show)

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


Attachments
Updated gnome-utils ebuild (gnome-utils-2.6.2.ebuild,1.22 KB, text/plain)
2004-05-02 19:37 UTC, Curtis Magyar
Details
Patch for gnome-utils-2.6.2 compile probs (maybe kernel 2.6 specific?) (gnome-utils-2.6.2-gfloppymajor.patch,933 bytes, patch)
2004-05-02 19:38 UTC, Curtis Magyar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Magyar 2004-05-02 19:36:14 UTC
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.
Comment 1 Curtis Magyar 2004-05-02 19:37:17 UTC
Created attachment 30565 [details]
Updated gnome-utils ebuild
Comment 2 Curtis Magyar 2004-05-02 19:38:06 UTC
Created attachment 30566 [details, diff]
Patch for gnome-utils-2.6.2 compile probs (maybe kernel 2.6 specific?)
Comment 3 foser (RETIRED) gentoo-dev 2004-05-04 08:26:52 UTC
it works patchless on my 2.6.3 kernel, what exact kernel are you using ?
Comment 4 Curtis Magyar 2004-05-04 20:15:49 UTC
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))
Comment 5 Chris Smith 2004-07-13 10:36:17 UTC
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.
Comment 6 Spider (RETIRED) gentoo-dev 2004-07-18 05:45:56 UTC
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.
Comment 7 Spider (RETIRED) gentoo-dev 2004-07-23 06:18:05 UTC
*** Bug 57270 has been marked as a duplicate of this bug. ***
Comment 8 Spider (RETIRED) gentoo-dev 2004-07-23 06:24:44 UTC
in the tree, please test on 2.4 kernel headers.