Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36510 - lilo 22.5.8 and 22.5.8-r1 fails to compile.
Summary: lilo 22.5.8 and 22.5.8-r1 fails to compile.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-26 03:07 UTC by Mario Lanteri
Modified: 2003-12-26 19:41 UTC (History)
1 user (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 Mario Lanteri 2003-12-26 03:07:38 UTC
amd64 3200+ kernel 2.6.0 Harddrive SATA Samsung SP1614C

1. 

cdimage profiles # ACCEPT_KEYWORDS="~x86" emerge  /usr/portage/sys-boot/lilo/lilo-22.5.7.2.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-boot/lilo-22.5.7.2 to /
>>> md5 src_uri ;-) lilo-22.5.7.2.tar.gz
>>> Unpacking source...
>>> Unpacking lilo-22.5.7.2.tar.gz to /var/tmp/portage/lilo-22.5.7.2/work
 * Applying lilo-glibc233.patch...                [ ok ]>>> Source unpacked.
cc -O2 -Wall -g -DLILO=0x4897777b `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT /etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL; fi ) | sed 's/-D/-DLCF_/g'` -DSHS_MAIN -o version common.c
cc -c -O2 -Wall -g -DLILO=0x4897777b `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL; fi ) | sed 's/-D/-DLCF_/g'` raid.c
In file included from raid.c:24:
common.h:37: error: size of array `unused' is too large
geometry.h:67: warning: array `max_partno' assumed to have one element
In file included from common.c:20:
common.h:37: error: size of array `unused' is too large
make: *** [raid.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [version] Error 1

!!! ERROR: sys-boot/lilo-22.5.7.2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)


2.

cdimage profiles # ACCEPT_KEYWORDS="~x86" emerge  lilo
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-boot/lilo-22.5.8-r1 to /
>>> md5 src_uri ;-) lilo-22.5.8.tar.gz
>>> Unpacking source...
>>> Unpacking lilo-22.5.8.tar.gz to /var/tmp/portage/lilo-22.5.8-r1/work
 * Applying lilo-glibc233.patch...                                                                   $
gcc -O2 -Wall -g -DLILO=0x16c2d41b `( if [ -r $ROOT/etc/lilo.defines ]; then cat
$ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT
-DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL; fi
) | sed 's/-D/-DLCF_/g'` -DSHS_MAIN -o version common.c
gcc -c -O2 -Wall -g -DLILO=0x16c2d41b `( if [ -r $ROOT/etc/lilo.defines ]; then cat
$ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM
-DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL;
fi ) | sed 's/-D/-DLCF_/g'` raid.c
In file included from common.c:20:
common.h:37: error: size of array `unused' is too large
make: *** [version] Error 1
make: *** Waiting for unfinished jobs....
In file included from raid.c:24:
common.h:37: error: size of array `unused' is too large
make: *** [raid.o] Error 1

!!! ERROR: sys-boot/lilo-22.5.8-r1 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)


with earlyer versions get similar messages reported

sorry for my english

Reproducible: Always
Steps to Reproduce:




cdimage profiles # emerge info
Portage 2.0.49-r15 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-gentoo-up)
=================================================================
System uname: 2.6.0-gentoo-up x86_64 4
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config 
                /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo
http://gentoo.oregonstate.edu/
                http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnow avi -cups -java libg++ libwww mikmod -qt sse xml2 gdbm berkdb
slang readline tcpd pam gtk aalib accessibility aci acpi adns alsa apache2 apm
-arts cdr crypt cups curl dga directfb doc dvb dvd dvdr emacs emacs-w3 encode
esd  evo fbcon firebird flash foomaticdb gif -gnome gphoto2 gpm gtk2 imap imlib
ipv6 java jpeg -kde mbox mmx motif mozilla mpeg nas ncurses -nls nocardbus
oggvorbis opengl oss ppds pdflib perl python png qt quicktime samba scanner sdl
slp snmp spell ssl svga tiff truetype unicode usb videos wmf X xface xinerama
xmms xv zlib"
Comment 1 Brad House 2003-12-26 19:41:14 UTC
/me sighs
lilo is 32bit x86 specific.  It's not going to compile
in 64bit mode.  Don't report bugs like this, and NEVER
do  ACCEPT_KEYWORDS="~x86"  or anything similar on amd64.

Perhaps one day someone will port it natively, but you
must use static 32bit versions if you want to use lilo right
now.

Marking as invalid