First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 42720
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jostein Lima <jostein.lima@pgs.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2004-02-24 01:25 0000
Hi!

When I try to emerge eject, the compilation fails with the following error message:

gcc -Wall -O3  -O2  -o volname  volname.o
In file included from /usr/src/linux/include/linux/cdrom.h:14,
                 from eject.c:66:
/usr/src/linux/include/asm/byteorder.h:9: error: syntax error before "__u64"
/usr/src/linux/include/asm/byteorder.h:15: error: syntax error before "__u32"
In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11,
                 from /usr/src/linux/include/asm/byteorder.h:31,
                 from /usr/src/linux/include/linux/cdrom.h:14,
                 from eject.c:66:
/usr/src/linux/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/usr/src/linux/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
/usr/src/linux/include/linux/byteorder/swab.h:160: error: syntax error before "__u64"
make[1]: *** [eject.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/eject-2.0.12-r1/work/eject-2.0.12'
make: *** [all-recursive] Error 1
 
!!! ERROR: sys-apps/eject-2.0.12-r1 failed.
!!! Function src_compile, Line 418, Exitcode 2
!!! emake failed

-----

The problem might seem insignificant, but I can't install nautilus without eject. And I can't install gnome properly without nautilus, so I am not able to get a working desktop environment.

This is a dual Opteron 246 with 1 GB of memory

Reproducible: Always
Steps to Reproduce:
1. do a emerge eject
2.
3.

Actual Results:  
Started to compile, but compilation failed.

Expected Results:  
eject should have compiled correctly

Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 x86_64 5
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/
http://212.219.247.20/sites/www.ibiblio.org/gentoo/
http://212.219.247.12/sites/www.ibiblio.org/gentoo/
http://194.83.57.7/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 avi berkdb cdr crypt dvb dvd dvdr emacs encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 gtkhtml imap imlib jpeg ldap libg++ libwww mikmod motif
mozilla mpeg ncurses nls oggvorbis opengl pam pdflib perl png python quicktime
readline sdl slang spell ssl tcltk tcpd tetex tiff truetype xinerama xml2 xmms
xv zlib"

------- Comment #1 From Martin Holzer (RETIRED) 2004-02-24 02:44:36 0000 -------
  23 Feb 2004; Seemant Kulleen <seemant@gentoo.org> eject-2.0.13.ebuild:
  moved 13 to stable, 12 is causing issues all over the place it seems


how about marking stable for amd64 ?

------- Comment #2 From Jostein Lima 2004-02-24 03:13:28 0000 -------
Hi!

By adding the following lines to /usr/src/linux/include/asm/byteorder.h

#ifndef __attribute_const__
#define __attribute_const__  __attribute__((__const__))
#endif

eject compiled

Best Regards,

Jostein

------- Comment #3 From Kris Kersey (RETIRED) 2004-02-24 12:29:08 0000 -------
Made 2.0.13 stable on amd64.

------- Comment #4 From Kris Kersey (RETIRED) 2004-02-24 12:31:37 0000 -------
Note: 2.0.12-r1 worked for me with no issues though.

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