Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170502 - app-laptop/radeontool:-1.5-r3 doesn't compile with linux-headers-2.6.20-r1
Summary: app-laptop/radeontool:-1.5-r3 doesn't compile with linux-headers-2.6.20-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-03-11 22:03 UTC by schischa
Modified: 2007-03-15 11:42 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_info,2.42 KB, text/plain)
2007-03-11 22:11 UTC, schischa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schischa 2007-03-11 22:03:23 UTC
Radeontool fails to fails to install.

Reproducible: Always

Steps to Reproduce:
1.emerge -va radeontool
2.
3.

Actual Results:  
>>> Emerging (1 of 1) app-laptop/radeontool-1.5-r3 to /
 * radeontool-1.5.tar.gz MD5 ;-) ...                                                       [ ok ]
 * radeontool-1.5.tar.gz RMD160 ;-) ...                                                    [ ok ]
 * radeontool-1.5.tar.gz SHA1 ;-) ...                                                      [ ok ]
 * radeontool-1.5.tar.gz SHA256 ;-) ...                                                    [ ok ]
 * radeontool-1.5.tar.gz size ;-) ...                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                     [ ok ]
 * checking radeontool-1.5.tar.gz ;-) ...                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking radeontool-1.5.tar.gz to /var/tmp/portage/app-laptop/radeontool-1.5-r3/work
 * Applying radeontool-1.5-mmap.patch ...                                                  [ ok ]
 * Applying radeontool-1.5-vga-ati.patch ...                                               [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-laptop/radeontool-1.5-r3/work/radeontool-1.5 ...
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -fomit-frame-pointer radeontool.c -o radeontool
radeontool.c:24:22: error: asm/page.h: No such file or directory
radeontool.c: In function ?map_devince_memory?:
radeontool.c:97: error: ?PAGE_SIZE? undeclared (first use in this function)
radeontool.c:97: error: (Each undeclared identifier is reported only once
radeontool.c:97: error: for each function it appears in.)
make: *** [radeontool] Error 1

!!! ERROR: app-laptop/radeontool-1.5-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3040:   Called src_compile
  radeontool-1.5-r3.ebuild, line 35:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-laptop/radeontool-1.5-r3/temp/build.log'.

Expected Results:  
well it should just emerge...

A workaround is quite simpel, just do:

# ln -sf /usr/src/linux/include/asm/page.h /usr/include/asm/page.h

and it should compile correctly.
Comment 1 schischa 2007-03-11 22:11:04 UTC
Created attachment 113017 [details]
emerge --info

just my emerge --info output
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-03-15 11:42:12 UTC
Fixed, thanks for the report