Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 210781

Summary: /usr/include/asm/io.h moved to /usr/include/sys/io.h and not accounted for
Product: Gentoo Linux Reporter: Jason Dodson <mindchild>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.