Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50863 - Error emerging x11-base/xfree-4.3.0-r5: textmode.c / loader.h
Summary: Error emerging x11-base/xfree-4.3.0-r5: textmode.c / loader.h
Status: RESOLVED DUPLICATE of bug 43491
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 10:40 UTC by Dirk Bergstrom
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to loader.h (loader.h.diff,885 bytes, patch)
2004-05-16 05:56 UTC, witr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Bergstrom 2004-05-12 10:40:05 UTC
gcc -c -mno-mmx -ansi -pedantic -Wno-return-type -w   -I../common -I../scanpci -I../loader -I../../../../../programs/Xserver/hw/xfree86/os-support           -I../../../../../programs/Xserver/include -I../../../../../exports/include/X11              -I../../../../../lib/font/include  -I../../../../.. -I../../../../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   -DXF86CONFIG=\"XF86Config\" -DUSE_MODULES                  -DHAS_NCURSES           -DPROJECT_ROOT=\"/usr/X11R6\"               -DXF86CONFIGDIR=\"/etc/X11\"   text-mode.c
In file included from text-mode.c:47:
loader.h:78: unnamed fields of type other than struct or union are not allowed
make[5]: *** [text-mode.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs/Xserver/hw/xfree86/xf86cfg'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs/Xserver/hw/xfree86'
make[3]: *** [hw/xfree86] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs/Xserver'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc'
make: *** [install] Error 2

!!! ERROR: x11-base/xfree-4.3.0-r5 failed.
!!! Function src_install, Line 633, Exitcode 2
!!! (no error message)


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




Portage 2.0.50-r6 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.10
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://mirrors.tds.net/gentoo
http://mirror.tucdemonic.org/gentoo/ http://gentoo.mirrors.pair.com/
http://mirrors.tds.net/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 apm arts avi berkdb cdr crypt cups dvd emacs encode esd fbcon flac
foomaticdb gd gdbm gif gimpprint gnome gphoto2 gpm gtk gtk2 guile imagemagick
imap imlib java jikes jpeg kde libg++ libwww mad mbox mikmod motif mozilla mpeg
ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds python qt
quicktime readline scanner sdl slang spell ssl svga tcltk tcpd truetype usb x86
xml2 xmms xv zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-13 01:02:46 UTC
Couple of questions:

1) Do you have an up-to-date portage tree?
2) When you watch patches being applied, do you see 9300_all_4.3.0-ncurses-xf86cfg-bool-conflict.patch?
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-13 01:03:46 UTC
Oops, my apologies. That fix is only in xfree-4.3.0-r6 and xorg-x11-6.7.0.
Comment 3 witr 2004-05-16 05:46:16 UTC
According to the XFree mailing list this has been fixed in the 4.4 CVS.  Perhaps this fix can be back-ported?
Comment 4 witr 2004-05-16 05:56:39 UTC
Created attachment 31521 [details, diff]
Patch to loader.h

This is the patch from the XFree86 CVS.  I haven't (yet) tested it and I may
not get the chance soon.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-16 19:53:30 UTC
Perhaps you completely ignored my previous comment. The fix is in newer versions already.

*** This bug has been marked as a duplicate of 43491 ***
Comment 6 witr 2004-05-18 10:47:09 UTC
No I didn't ignore it, but I misconstrued it.  I didn't notice that the r6 version was available but masked.  Sorry.