First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 69144
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: IA-64 team <ia64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: splite <splite-gentoo@sigint.cs.purdue.edu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
efibootmgr-0.5.0.ebuild ebuild for current efibootmgr version text/plain splite 2004-10-27 08:03 0000 1.25 KB Details
efibootmgr-0.5.0-u64.patch patch required for new efibootmgr ebuild patch splite 2004-10-27 08:05 0000 684 bytes Details | Diff
elilo.patch patch to sys-boot/elilo/files/elilo-3.4 to support 2.6 kernels patch splite 2004-10-27 08:07 0000 558 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 69144 depends on: Show dependency tree
Bug 69144 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-27 08:02 0000
Attached is a new efibootmgr ebuild and a patch to elilo to support 2.6
kernels, in which /proc/efi/vars has moved to /sys/firmware/efi and changed
format.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From splite 2004-10-27 08:03:59 0000 -------
Created an attachment (id=42695) [edit]
ebuild for current efibootmgr version

------- Comment #2 From splite 2004-10-27 08:05:05 0000 -------
Created an attachment (id=42696) [edit]
patch required for new efibootmgr ebuild

------- Comment #3 From splite 2004-10-27 08:07:09 0000 -------
Created an attachment (id=42698) [edit]
patch to sys-boot/elilo/files/elilo-3.4 to support 2.6 kernels

------- Comment #4 From SpanKY 2004-10-30 21:19:25 0000 -------
i dont see the point of the second patch ... i didnt need it when i built 0.5.0
...

in the future, file sep bugs for sep packages

------- Comment #5 From SpanKY 2004-10-30 21:22:57 0000 -------
added 0.5.0 to portage w/out your patch

------- Comment #6 From splite 2004-11-01 08:25:49 0000 -------
*shrug*  I needed to the patch to get it to compile; if you don't, great.  My
glibc is probably older than yours.

------- Comment #7 From Tim Yamin (RETIRED) 2004-11-13 09:13:21 0000 -------
Compiles fine here. What compiler error are you getting?

------- Comment #8 From splite 2004-11-13 11:48:48 0000 -------
Don't worry about it.  Like I said, I'm probably running an older glibc.  My
Itaniums are in production, so I can't immediately upgrade glibc whenever a new
version comes out.

------- Comment #9 From SpanKY 2004-11-13 18:21:08 0000 -------
ok, we should be set then yeah ? :)

------- Comment #10 From Guillaume Baudot 2005-03-17 02:43:14 0000 -------
Cannot compile efibootmgr 0.5.0, as the system does not know about u64... Looks
like I miss the u64 patch too !

My glibc is 2.3.4.20041102
And my emerge info:
Portage 2.0.51.19 (default-linux/ia64/2004.3, gcc-3.3.2,
glibc-2.3.2-r1,glibc-2.3.2-r3,glibc-2.3.4.20041102-r0,glibc-2.3.2-r11,glibc-2.3.2-r9,glibc-2.3.2-r12,
2.6.8-gentoo-r3 ia64)
=================================================================
System uname: 2.6.8-gentoo-r3 ia64
Gentoo Base System version 1.4.16
Python:             
dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4-r1,dev-lang/python-2.3.4,dev-lang/python-2.2.3-r5,dev-lang/python-2.3.3
[2.3.4 (#1, Mar  8 2005, 17:25:32)]
dev-lang/python:     2.2.3-r1, 2.3.4-r1, 2.3.4, 2.2.3-r5, 2.3.3
sys-devel/autoconf:  2.57-r1, 2.58, 2.58-r1, 2.59-r4, 2.59-r5, 2.13, 2.59-r6
sys-devel/automake:  1.7.5-r2, 1.7.8, 1.8.3, 1.8.5-r1, 1.5, 1.8.5-r3, 1.6.3,
1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.14.90.0.2, 2.14.90.0.6-r3, 2.14.90.0.6-r6,
2.14.90.0.7-r4, 2.14.90.0.8-r1
sys-devel/libtool:   1.4.3-r1, 1.4.3-r4, 1.5.2-r5, 1.5.2-r7, 1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ia64"
AUTOCLEAN="no"
CFLAGS="-O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aalib acpi alsa apache2 berkdb bitmap-fonts crypt cups curl dba doc dvd
encode fam font-server fortran gd gdbm gif ia64 imap imlib jpeg ldap libg++
libwww maildir mikmod mpi mysql ncurses nls oggvorbis oss pam pam-mysql pdflib
perl png python readline samba sasl snmp spell ssl tcpd tiff truetype
truetype-fonts type1-fonts usb vhosts xml2 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

And emerge output:
#  emerge efibootmgr
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-boot/efibootmgr-0.5.0 to /
>>> md5 src_uri ;-) efibootmgr-0.5.0.tar.gz
>>> Unpacking source...
>>> Unpacking efibootmgr-0.5.0.tar.gz to /var/tmp/portage/efibootmgr-0.5.0/work
 * Applying efibootmgr-0.4.1-makefile.patch ...                           [ ok
]>>> Source unpacked.
cc -O2 -pipe -DEFIBOOTMGR_VERSION=\"0.5.0\" -Wall -fno-merge-constants
-Isrc/lib -Isrc/include   -c -o src/lib/crc32.o src/lib/crc32.c
cc -O2 -pipe -DEFIBOOTMGR_VERSION=\"0.5.0\" -Wall -fno-merge-constants
-Isrc/lib -Isrc/include   -c -o src/lib/disk.o src/lib/disk.c
cc -O2 -pipe -DEFIBOOTMGR_VERSION=\"0.5.0\" -Wall -fno-merge-constants
-Isrc/lib -Isrc/include   -c -o src/lib/efi.o src/lib/efi.c
cc -O2 -pipe -DEFIBOOTMGR_VERSION=\"0.5.0\" -Wall -fno-merge-constants
-Isrc/lib -Isrc/include   -c -o src/lib/efichar.o src/lib/efichar.c
In file included from src/lib/efi.c:39:
/usr/include/linux/ethtool.h:243: error: syntax error before "u64"
/usr/include/linux/ethtool.h:250: error: syntax error before "u64"
/usr/include/linux/ethtool.h:349: error: syntax error before "u64"
/usr/include/linux/ethtool.h:353: error: syntax error before "u64"
make: *** [src/lib/efi.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: sys-boot/efibootmgr-0.5.0 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Then, what should to do ?
Is it safe to remove all glibc versions but the last one ?  Or should I just
patch elilo and efibootmgr to compile them ?

And 1 last question about this error msg '/usr/include/linux/ethtool.h:243:
error: syntax error before "u64"': how is it possible that a C type used in a
system header is undefined ?

First Last Prev Next    No search results available      Search page      Enter new bug