As summarized above I am not able to compile aboot successfully with
gcc-3.4.4-r1.
Where's the problem?
Rico
Reproducible: Always
Steps to Reproduce:
1. emerge aboot
Actual Results:
emerge aboot failed with an error
Expected Results:
aboot should have been successfully compiled
beta ~ # emerge aboot
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-boot/aboot-1.0_pre20040408 to /
>>> md5 files ;-) aboot-0.9-r1.ebuild
>>> md5 files ;-) aboot-1.0_pre20040408.ebuild
>>> md5 files ;-) files/aboot.conf
>>> md5 files ;-) files/digest-aboot-0.9-r1
>>> md5 files ;-) files/digest-aboot-1.0_pre20040408
>>> md5 src_uri ;-) aboot-1.0_pre20040408.tar.bz2
>>> Unpacking source...
>>> Unpacking aboot-1.0_pre20040408.tar.bz2 to
/var/tmp/portage/aboot-1.0_pre20040408/work
>>> Source unpacked.
gcc
-I/var/tmp/portage/aboot-1.0_pre20040408/work/aboot-1.0_pre20040408/include
-D__ASSEMBLY__ -traditional -c -o head.o head.S
gcc
-I/var/tmp/portage/aboot-1.0_pre20040408/work/aboot-1.0_pre20040408/include
-D__KERNEL__ -Os -Wall -fno-builtin -mno-fp-regs -ffixed-8 -c -o aboot.o
aboot.c
head.S:173: warning: no newline at end of file
gcc
-I/var/tmp/portage/aboot-1.0_pre20040408/work/aboot-1.0_pre20040408/include
-D__KERNEL__ -Os -Wall -fno-builtin -mno-fp-regs -ffixed-8 -c -o cons.o cons.c
gcc
-I/var/tmp/portage/aboot-1.0_pre20040408/work/aboot-1.0_pre20040408/include
-D__KERNEL__ -Os -Wall -fno-builtin -mno-fp-regs -ffixed-8 -c -o utils.o
utils.c
cons.c:23: error: conflicting types for 'dispatch'
cons.c:23: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
/var/tmp/portage/aboot-1.0_pre20040408/work/aboot-1.0_pre20040408/include/cons.h:6:
error: previous declaration of 'dispatch' was here
cons.c:23: error: conflicting types for 'dispatch'
cons.c:23: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
/var/tmp/portage/aboot-1.0_pre20040408/work/aboot-1.0_pre20040408/include/cons.h:6:
error: previous declaration of 'dispatch' was here
make: *** [cons.o] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: sys-boot/aboot-1.0_pre20040408 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
beta ~ # gcc --version
gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
beta ~ # emerge --info
Portage 2.0.51.22-r3 (default-linux/alpha/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14.2 alpha)
=================================================================
System uname: 2.6.14.2 alpha EV67
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=21264a -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -O2 -mcpu=21264a -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha X arts berkdb bitmap-fonts bzip2 crypt cups eds encode expat
font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6
jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd
truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Thanks for the patch, fixed in cvs.
Rico, please don't attach ebuilds as application/octet-stream as it makes it a
pain to view it because the browser insists on downloading it.