Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57814 - Unable to compile busybox 1.0_pre20040720
Summary: Unable to compile busybox 1.0_pre20040720
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-21 00:05 UTC by Jukka Palko
Modified: 2004-07-21 16:56 UTC (History)
0 users

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 Jukka Palko 2004-07-21 00:05:58 UTC
Trying to emerge busybox it just fails on the compiling of hdparm.

Reproducible: Always
Steps to Reproduce:
1. emerge -Duv busybox
Actual Results:  
ar: creating init/init.a
gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
-D_GNU_SOURCE -DNDEBUG     -c -o miscutils/adjtimex.o miscutils/adjtimex.c
gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
-D_GNU_SOURCE -DNDEBUG     -c -o miscutils/crond.o miscutils/crond.c
gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
-D_GNU_SOURCE -DNDEBUG     -c -o miscutils/crontab.o miscutils/crontab.c
gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
-D_GNU_SOURCE -DNDEBUG     -c -o miscutils/dc.o miscutils/dc.c
gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
-D_GNU_SOURCE -DNDEBUG     -c -o miscutils/devfsd.o miscutils/devfsd.c
gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
-D_GNU_SOURCE -DNDEBUG     -c -o miscutils/hdparm.o miscutils/hdparm.c
miscutils/hdparm.c:1229: error: `readahead' redeclared as different kind of symbol
/usr/include/bits/fcntl.h:186: error: previous declaration of `readahead'
miscutils/hdparm.c:1229: warning: `readahead' was declared `extern' and later
`static'
make: *** [miscutils/hdparm.o] Error 1

!!! ERROR: sys-apps/busybox-1.0_pre20040720 failed.
!!! Function src_compile, Line 143, Exitcode 2
!!! (no error message)


Expected Results:  
Compiled and installed.

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -Os
-fomit-frame-pointer -frerun-loop-opt -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.binarycompass.org
ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo
ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/portage/packages"
PORTAGE_TMPDIR="/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib alsa apm avi berkdb blender-game bonobo cdr crypt cups
dga doc dv dvd dvdr encode flac foomaticdb freetype gdbm gif gnome gnutls gpm
gstreamer gtk gtk2 guile imap imlib ipv6 jabber java joystick jpeg kde kerberos
libg++ libwww mad maildir mbox mikmod mmx motif mozcalendar mozilla mpeg mpeg4
ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python qt
quicktime readline sasl sdl slang slp spell sse ssl stroke svga tcltk tcpd tetex
tiff truetype type1 unicode usb vim-with-x wmf x86 xchattext xine xml2 xmms xv
xvid yv12 zlib"
Comment 1 solar (RETIRED) gentoo-dev 2004-07-21 06:25:11 UTC
Try todays snapshot release (20040721) that I have just put in portage.
It should fix the problem with readahead being defined in fnctl.h on glibc hosts.
Comment 2 Jukka Palko 2004-07-21 07:34:44 UTC
Worked much better than the earlier one.

Thanks
Comment 3 solar (RETIRED) gentoo-dev 2004-07-21 16:56:43 UTC
great closing bug then.