Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343733 - dev-libs/libx86emu-1.1 mem.c error: sys/io.h: No such file or directory
Summary: dev-libs/libx86emu-1.1 mem.c error: sys/io.h: No such file or directory
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-01 17:59 UTC by matt
Modified: 2010-11-01 18:08 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,5.14 KB, text/plain)
2010-11-01 18:06 UTC, matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2010-11-01 17:59:01 UTC
powerpc-unknown-linux-gnu-gcc -c -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -Wall mem.c
mem.c:2:20: error: sys/io.h: No such file or directory
mem.c: In function 'vm_i_byte':
mem.c:545: warning: implicit declaration of function 'inb'
mem.c: In function 'vm_i_word':


ssbook ~ # emerge --info
Portage 2.1.8.3 (default/linux/powerpc/ppc32/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.33.3 ppc)
=================================================================
System uname: Linux-2.6.33.3-ppc-7447A,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Sat, 30 Oct 2010 03:45:03 +0000
distcc 3.1 powerpc-unknown-linux-gnu [disabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/tmp"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/tmp"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.168.16/portage"
USE="acl alsa altivec berkdb bzip2 cddb cli cracklib crypt cxx dri flac fortran gdbm gif gpm iconv ipv6 jpeg modules mp3 mudflap ncurses nptl nptlonly ogg opengl openmp pam pcre png ppc pppd readline session speex ssl svg sysfs tiff unicode vorbis xcb xml xorg xv zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-11-01 18:06:07 UTC
sys/io.h is part of sys-libs/glibc, a bit worrying that you are missing it.

but Halcy0n tested libx86emu on 32bit ppc, and it failed to build, and we dropped keywords from libx86emu and hwinfo.

so I guess this is wontfix in either case.
Comment 2 matt 2010-11-01 18:06:40 UTC
Created attachment 252813 [details]
build.log
Comment 3 matt 2010-11-01 18:07:26 UTC
ssbook ~ # qlist glibc | grep io.h        
/usr/include/cpio.h
/usr/include/libio.h
/usr/include/termio.h
/usr/include/aio.h
/usr/include/bits/stdio.h
/usr/include/bits/uio.h
/usr/include/stdio.h
/usr/include/sys/mtio.h
/usr/include/sys/uio.h
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-11-01 18:08:48 UTC
don't worry, I just heard it's normal that PowerPC doesn't have sys/io.h
so no more hwinfo for powerpc unless you have a porting patch :-)