Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93905 - libaio-0.3.15 fails to build
Summary: libaio-0.3.15 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-25 02:19 UTC by Thomas Fjellstrom
Modified: 2005-07-14 04:28 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 Thomas Fjellstrom 2005-05-25 02:19:26 UTC
The package fails to compile with an error.

Reproducible: Always
Steps to Reproduce:
1. emerge --sync
2. ACCEPT_KEYWORDS=~x86 emerge libaio
3. proffit!

Actual Results:  
natasha ~ # ACCEPT_KEYWORDS=~x86 emerge libaio
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/libaio-0.3.15 to /
>>> md5 files   ;-) libaio-0.3.15.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) libaio-0.3.92.ebuild
>>> md5 files   ;-) files/digest-libaio-0.3.15
>>> md5 files   ;-) files/digest-libaio-0.3.92
>>> md5 files   ;-) files/libaio-0.3.15-2.5-2-Makefile.patch
>>> md5 src_uri ;-) libaio-0.3.15-2.5-2.tar.bz2
>>> Unpacking source...
>>> Unpacking libaio-0.3.15-2.5-2.tar.bz2 to /var/tmp/portage/libaio-0.3.15/work
>>> Source unpacked.
 * Applying libaio-0.3.15-2.5-2-Makefile.patch ...                        [ ok ]
make[1]: Entering directory
`/var/tmp/portage/libaio-0.3.15/work/libaio-0.3.15-2.5-2/src'
cc -nostdlib -nostartfiles -Wall -I. -g -O2 -fPIC -c -o io_queue_init.ol
io_queue_init.c
distcc[18345] ERROR: compile /root/.ccache/io_queue_i.tmp.natasha.18341.i on
localhost failed
io_queue_init.c: In function `io_queue_init':
syscall.h:49: error: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [io_queue_init.ol] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libaio-0.3.15/work/libaio-0.3.15-2.5-2/src'
make: *** [all] Error 2

Expected Results:  
Actually worked.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-25 17:26:17 UTC
This package has no maintainer. I suggest that you try again without
ccache/distcc... Please report back if this helps. 
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-05-26 21:25:45 UTC
no emerge --info output either.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-27 04:59:30 UTC
please reopen once you follow the above two comments.
Comment 4 Thomas Fjellstrom 2005-05-27 21:27:05 UTC
As requested:
# emerge --info

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 29 2005, 07:50:45)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.math.bme.hu
http://gentoo.gg3.net/ http://gentoo.ITDNet.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib acl adns alsa apache2 apm arts audiofile avi
bash-completion berkdb bitmap-fonts cdparanoia cdr crypt cscope cups curl dga
divx4linux dlloader doc dvd dvdr dvdread emboss encode fam flac foomaticdb
fortran ftp gd gdbm gif glut gphoto2 gpm gstreamer gtk gtk2 icq imagemagick
imagemagik imap imlib immqt-bc innodb insecure-drivers ipv6 jack java jpeg junit
kde ldap libclamav libg++ libwww lirc lm_sensors mad maildir matroska mikmod
mmap mmx mmxext mng motif mozilla mp3 mpeg msn mysql mythtv ncurses network nls
nptl nptlonly oav offensive ogg oggvorbis opengl oscar oss pam pcre pdflib perl
php png posix postgres povray ppds python qt quicktime rdesktop readline rrdtool
rtc ruby samba sdk sdl session shared sharedmem slang snmp soap sockets speex
spell sqlite sse ssl svg svga sysvipc tcpd tetex theora tiff truetype
truetype-fonts type1-fonts usb v4l v4l2 videos vorbis wifi x86 xchatdccserver
xine xinerama xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

And I retried after removing distcc and ccache from my make.conf. Results below:

natasha lxr # ACCEPT_KEYWORDS=~x86 emerge libaio
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/libaio-0.3.15 to /
>>> md5 files   ;-) libaio-0.3.15.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) libaio-0.3.92.ebuild
>>> md5 files   ;-) files/digest-libaio-0.3.15
>>> md5 files   ;-) files/digest-libaio-0.3.92
>>> md5 files   ;-) files/libaio-0.3.15-2.5-2-Makefile.patch
>>> md5 src_uri ;-) libaio-0.3.15-2.5-2.tar.bz2
>>> Unpacking source...
>>> Unpacking libaio-0.3.15-2.5-2.tar.bz2 to /var/tmp/portage/libaio-0.3.15/work
>>> Source unpacked.
 * Applying libaio-0.3.15-2.5-2-Makefile.patch ...                        [ ok ]
make[1]: Entering directory
`/var/tmp/portage/libaio-0.3.15/work/libaio-0.3.15-2.5-2/src'
cc -nostdlib -nostartfiles -Wall -I. -g -O2 -fPIC -c -o io_queue_init.ol
io_queue_init.c
io_queue_init.c: In function `io_queue_init':
syscall.h:49: error: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [io_queue_init.ol] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libaio-0.3.15/work/libaio-0.3.15-2.5-2/src'
make: *** [all] Error 2

Can't fix? No maintainer? Just a question, but what is it doing in portage then?
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2005-05-31 19:56:32 UTC
The emerge works for me - no issues. But I'm using gcc 3.4. Otherwise, my setup
is very similar to yours.

Also, curiously, the CFLAGS are hardcoded in the Makefile and the patch doesn't
fix that.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-06-01 15:08:45 UTC
I
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-06-01 15:08:45 UTC
I´d suggest that you try with linux-headers-2.6.11 

---

Just for the recors, does not work here, same error. Did not try with
linux-headers-2.6.11 b/c I don´t need this one at all.

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Sempron(tm)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 31 2005, 07:16:09)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-06-08 23:28:15 UTC
OK, so I can confirm that it compiles with linux-headers-2.6.11-r1. 
Comment 9 Maurice van der Pot (RETIRED) gentoo-dev 2005-06-29 10:49:49 UTC
Mass reassign of bugs on orphaned packages to appropriate assignee.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-07-14 04:28:26 UTC
linux-headers 2.6.11 stable for x86, closing. Reopen if it still does not work
for you.