Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190353 - stabilize app-misc/rio-1.0.7-r1 (build failures etc.)
Summary: stabilize app-misc/rio-1.0.7-r1 (build failures etc.)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-08-27 01:30 UTC by sam logen
Modified: 2007-12-25 15:09 UTC (History)
1 user (show)

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


Attachments
rio-1.0.7-headers.patch (rio-1.0.7-headers.patch,318 bytes, patch)
2007-12-25 14:45 UTC, Jakub Moc (RETIRED)
Details | Diff
rio-1.0.7-r1.ebuild (rio-1.0.7-r1.ebuild,737 bytes, text/plain)
2007-12-25 14:46 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sam logen 2007-08-27 01:30:55 UTC
Hi,
In trying to "emerge rio", I get a list of errors that looks like there is a missing package dependency.

Reproducible: Always

Steps to Reproduce:
emerge rio
Actual Results:  
emerge rio        
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-misc/rio-1.0.7 to /
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 * rio007.tgz RMD160 ;-) ...                                              [ ok ]
 * rio007.tgz SHA1 ;-) ...                                                [ ok ]
 * rio007.tgz SHA256 ;-) ...                                              [ ok ]
 * rio007.tgz size ;-) ...                                                [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking rio007.tgz ;-) ...                                            [ ok ]
>>> Unpacking source...
>>> Unpacking rio007.tgz to /var/tmp/portage/app-misc/rio-1.0.7/work
 * Applying rio-1.0.7-makefile.patch ...                                  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-misc/rio-1.0.7/work/rio107 ...
g++ -O3 -march=k6-3 -pipe -fomit-frame-pointer -o rio app.cpp rio.cpp
rio.cpp:71:21: error: asm/io.h: No such file or directory
rio.cpp: In member function 'BOOL CRio::WaitInput(int)':
rio.cpp:352: error: 'inb' was not declared in this scope
rio.cpp: In member function 'BOOL CRio::WaitAck()':
rio.cpp:367: error: 'inb' was not declared in this scope
rio.cpp: In member function 'UINT CRio::GetDataByte()':
rio.cpp:379: error: 'outb' was not declared in this scope
rio.cpp:380: error: 'inb' was not declared in this scope
rio.cpp:381: error: 'inb' was not declared in this scope
rio.cpp: In member function 'BOOL CRio::IOIntro()':
rio.cpp:405: error: 'outb' was not declared in this scope
rio.cpp:410: error: 'inb' was not declared in this scope
rio.cpp:413: error: 'inb' was not declared in this scope
rio.cpp:422: error: 'inb' was not declared in this scope
rio.cpp:425: error: 'inb' was not declared in this scope
rio.cpp: In member function 'BOOL CRio::IOOutro()':
rio.cpp:433: error: 'outb' was not declared in this scope
rio.cpp:434: error: 'outb' was not declared in this scope
rio.cpp:435: error: 'outb' was not declared in this scope
rio.cpp: In member function 'BOOL CRio::Tx32KBlockRetry(void*, UINT, UINT, UINT)':
rio.cpp:478: error: 'outb' was not declared in this scope
rio.cpp:479: error: 'outb' was not declared in this scope
rio.cpp:480: error: 'outb' was not declared in this scope
rio.cpp:481: error: 'outb' was not declared in this scope
rio.cpp:482: error: 'outb' was not declared in this scope
rio.cpp:483: error: 'outb' was not declared in this scope
rio.cpp:484: error: 'outb' was not declared in this scope
rio.cpp:485: error: 'outb' was not declared in this scope
rio.cpp:486: error: 'outb' was not declared in this scope
rio.cpp:490: error: 'outb' was not declared in this scope
rio.cpp:491: error: 'outb' was not declared in this scope
rio.cpp:492: error: 'outb' was not declared in this scope
rio.cpp:494: error: 'outb' was not declared in this scope
rio.cpp:495: error: 'inb' was not declared in this scope
rio.cpp:498: error: 'inb' was not declared in this scope
rio.cpp:525: error: 'outb' was not declared in this scope
rio.cpp:526: error: 'outb' was not declared in this scope
rio.cpp:527: error: 'outb' was not declared in this scope
rio.cpp:528: error: 'outb' was not declared in this scope
rio.cpp:529: error: 'outb' was not declared in this scope
rio.cpp:530: error: 'outb' was not declared in this scope
rio.cpp:531: error: 'outb' was not declared in this scope
rio.cpp:532: error: 'outb' was not declared in this scope
rio.cpp:534: error: 'outb' was not declared in this scope
rio.cpp:553: error: 'outb' was not declared in this scope
rio.cpp:560: error: 'inb' was not declared in this scope
rio.cpp:640: error: 'outb' was not declared in this scope
rio.cpp:647: error: 'inb' was not declared in this scope
rio.cpp:652: error: 'outb' was not declared in this scope
rio.cpp:653: error: 'outb' was not declared in this scope
rio.cpp:657: error: 'outb' was not declared in this scope
rio.cpp:658: error: 'outb' was not declared in this scope
rio.cpp:659: error: 'outb' was not declared in this scope
rio.cpp:661: error: 'outb' was not declared in this scope
rio.cpp:662: error: 'inb' was not declared in this scope
rio.cpp:665: error: 'inb' was not declared in this scope
rio.cpp: In member function 'BOOL CRio::Rx32KBlockRetry(void*, UINT)':
rio.cpp:727: error: 'outb' was not declared in this scope
rio.cpp:728: error: 'outb' was not declared in this scope
rio.cpp:729: error: 'outb' was not declared in this scope
rio.cpp:730: error: 'outb' was not declared in this scope
rio.cpp:731: error: 'outb' was not declared in this scope
rio.cpp:732: error: 'outb' was not declared in this scope
rio.cpp:733: error: 'outb' was not declared in this scope
rio.cpp:734: error: 'outb' was not declared in this scope
rio.cpp:738: error: 'outb' was not declared in this scope
rio.cpp: In member function 'BOOL CRio::CheckPresent()':
rio.cpp:887: error: 'outb' was not declared in this scope
rio.cpp:888: error: 'outb' was not declared in this scope
rio.cpp:889: error: 'outb' was not declared in this scope
rio.cpp:890: error: 'outb' was not declared in this scope
rio.cpp:891: error: 'outb' was not declared in this scope
rio.cpp:892: error: 'outb' was not declared in this scope
rio.cpp:893: error: 'outb' was not declared in this scope
make: *** [rio] Error 1

!!! ERROR: app-misc/rio-1.0.7 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  rio-1.0.7.ebuild, line 27:   Called die

!!! compile 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-misc/rio-1.0.7/temp/build.log'.


Here is my /etc/make.conf

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O3 -march=k6-3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing.  You
# should probably be using a different stage, instead.
CHOST="i486-pc-linux-gnu"
MAKEOPTS="-j2"

GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ "

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"

USE="3dnow a52 aac acpi alsa -apm -arts -bluetooth bzip2 cddb -cdr dbus dga directfb -dri dts -dv -dvb dvd -dvdr dvdread -esd fbcon ffmpeg firefox flac gif -glut gnome -gphoto2 gpm gstreamer gtk hal imlib joystick jpeg jpeg2k -kde ldap libnotify -lirc lm_sensors mad mikmod mmap mmx mng mp3 mpeg mplayer ncurses offensive ogg openal -opengl -oss pcmcia png portaudio posix -pulseaudio -qt3 -qt4 quicktime readline samba sdl sharedmem startup-notification svga sysvipc theora truetype usb -v4l vcd vorbis wifi win32codecs X -xcomposite xine xpm xv xvid zlib 3dnowext 7zip -ipv6 rar real realmedia rtc sdlaudio sdl-sound sensord cpufreq css cpudetection md5sum dcraw divx mplayer-bin zip -xvmc -v4l2 speedo type1 -aiglx xorg grace hddtemp battery mplayer-bin"

INPUT_DEVICES="keyboard synaptics"

VIDEO_CARDS="fbdev trident vesa"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-27 03:44:17 UTC
Try with app-misc/rio-1.0.7-r1 please and report back. Also, post emerge --info, not your make.conf if it still doesn't work.
Comment 2 sam logen 2007-08-27 06:09:10 UTC
Thanks for getting back to this.  I just tried rio-1.0.7-r1, and got the exact same error results.
It looks like the compile can't access appropriate kernel source directories for certain headers.  I also tried emerging this on a more modern system, but with the same results.


Here is my emerge --info

emerge --info
Portage 2.1.2.12 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4-MCE i586)
=================================================================
System uname: 2.6.21-gentoo-r4-MCE i586 AMD-K6(tm)-III Processor
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 26 Aug 2007 14:20:01 +0000
app-shells/bash:     3.2_p15-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O3 -march=k6-3 -pipe -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=k6-3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa battery berkdb bitmap-fonts bzip2 cddb cli cpudetection cpufreq cracklib crypt css cups dbus dcraw dga directfb divx dts dvd dvdread fbcon ffmpeg firefox flac fortran gdbm gif gnome gpm grace gstreamer gtk hal hddtemp iconv imlib isdnlog joystick jpeg jpeg2k ldap libnotify lm_sensors mad md5sum midi mikmod mmap mmx mng mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly offensive ogg openal openmp pam pcmcia pcre perl png portaudio posix pppd python quicktime rar readline real realmedia reflection rtc samba sdl sdl-sound sdlaudio sensord session sharedmem speedo spl ssl startup-notification svga sysvipc tcpd theora truetype truetype-fonts type1 type1-fonts unicode usb vcd vorbis wifi win32codecs x86 xine xorg xpm xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev trident vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-17 20:54:38 UTC
This looks like fixed in Debian, please test this patch and report back:

http://www.nabble.com/Bug-429010:-diff-for-1.07-11.1-NMU-t4102357.html

* Include sys/io.h rather than asm/io.h (Closes: 429010).
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-12-25 14:45:26 UTC
Created attachment 139276 [details, diff]
rio-1.0.7-headers.patch

Patch to fix this bug...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-12-25 14:46:42 UTC
Created attachment 139278 [details]
rio-1.0.7-r1.ebuild

Fixed ebuild, contains the above patch, fixed quoting, nuking redundant virtual/libc dependency and fixing cross-compile.

Get this stable, current stable is unusable.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-12-25 14:52:53 UTC
InCVS, x86 please stabilize -r1, current stable is useless.
Comment 7 Dawid Węgliński (RETIRED) gentoo-dev 2007-12-25 15:09:57 UTC
marked stable on x86, closing