Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150925 - app-misc/graphlcd-base-0.1.3-r1 fail to compile on ppc64 (sys/io.h missing)
Summary: app-misc/graphlcd-base-0.1.3-r1 fail to compile on ppc64 (sys/io.h missing)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-11 13:10 UTC by Markus Rothe (RETIRED)
Modified: 2007-01-22 18:01 UTC (History)
2 users (show)

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 Markus Rothe (RETIRED) gentoo-dev 2006-10-11 13:10:44 UTC
app-misc/graphlcd-base-0.1.3-r1 fail to compile on ppc64:

[...]
g++ -O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec -g -fPIC -c -D_GNU_SOURCE  port.c
port.c:19:20: sys/io.h: No such file or directory
port.c: In member function `int GLCD::cParallelPort::Open(int)':
port.c:65: error: `ioperm' was not declared in this scope
port.c:74: error: `iopl' was not declared in this scope
port.c: In member function `int GLCD::cParallelPort::Close()':
port.c:135: error: `ioperm' was not declared in this scope
port.c:142: error: `iopl' was not declared in this scope
make[1]: *** [port.o] Error 1
[...]

this package is needed for >=lcdprocs-0.5.0 (only if USE="graphlcd" is enabled). the solution is to use.mask graphlcd.
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2006-10-11 13:18:37 UTC
added graphlcd to use.mask and removed ~ppc64 keyword from graphlcd-base...
Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2006-10-11 14:10:00 UTC
Also needs the use.masking in hardened/ppc64.
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2006-10-11 14:21:43 UTC
thanks. fixed again...
Comment 4 Robert Buchholz (RETIRED) gentoo-dev 2007-01-17 01:11:31 UTC
With the transition to LCD_DEVICES, please also use.mask:
'lcd_devices_graphlcd' along with the already use.masked plain 'graphlcd'
on the ppc and ppc64 profiles (this affects a lcdproc version not yet in the tree).

For a transition period I would like to keep both flags masked.
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2007-01-17 01:26:30 UTC
That affects, to be exact:
  ./default-linux/ppc/use.mask
  ./default-linux/ppc64/use.mask
  ./hardened/ppc/use.mask
  ./hardened/ppc64/use.mask
  ./selinux/ppc/use.mask
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2007-01-22 18:01:53 UTC
added to use.mask