Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210781 - /usr/include/asm/io.h moved to /usr/include/sys/io.h and not accounted for
Summary: /usr/include/asm/io.h moved to /usr/include/sys/io.h and not accounted for
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-19 22:57 UTC by Jason Dodson
Modified: 2008-02-19 23:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Dodson 2008-02-19 22:57:42 UTC
This came to my attention when trying to build several of my own projects, but also showed up when emerging certain packages from portage (a good example is aaquake2)... io.h is no longer in /usr/include/asm/, but as I have come to find out, it now resides in /usr/include/sys/io.h. This obviously leads to being unable to compile software that expects this file to be there... especially older code. There are definitely packages in portage where this hasn't been taken into account. The above listed package is, again, a good example.

Reproducible: Always

Steps to Reproduce:
1. Build a gentoo system
2. try and emerge aaquake2 (or any application coded to #include <asm/io.h>
3. watch as the compilation can't be completed

Actual Results:  
I was left with an uncompiled package.

Expected Results:  
Compilation should have succeeded.

I corrected the issue (so far it seems), by creating a symling from /usr/include/sys/io.h to /usr/include/asm/io.h
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-19 23:02:14 UTC
Yeah, you need to fix your software; symlinking is completely wrong solution. NOTABUG.