Running the Modular X 7.0: xorgcfg comes for about 1/5 second then it quits with a error message: "Can't create rules structure" I've remerged the X-server about 3-times, but nothing helped sofar. It is something from the kbd, because I found this phrase in (I've searched the mono. source of the X server, because I don't know in which source package of the modular X I have to search.) X11R6.9.0-src/xc/programs/Xserver/hw/xfree86/xf86cfg/keyboard-cfg.c:607 ongoing: ... static XF86XkbRulesDescInfo * GetXkbRulesDesc(char *rules) { int i; XkbRF_RulesPtr list; char filename[1024]; XF86XkbRulesDescInfo *info; if (rules == NULL) return (NULL); for (i = 0; i < num_xkb_desc; i++) if (strcmp(rules, xkb_desc[i]->rules) == 0) return (xkb_desc[i]); XmuSnprintf(filename, sizeof(filename), "%s%s", XkbRulesDir, rules); if ((list = XkbRF_Create(0, 0)) == NULL || !XkbRF_LoadDescriptionsByName(filename, NULL, list)) { fprintf(stderr, "Can't create rules structure\n"); return (NULL); } My system: Portage 2.1_pre2 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14-ck6 i686) ================================================================= System uname: 2.6.14-ck6 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.12.0_pre12 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -mtune=athlon-tbird -fomit-frame-pointer -mmmx -m3dnow -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -mtune=athlon-tbird -fomit-frame-pointer -mmmx -m3dnow -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit 3dnow 7zip X X509 Xaw3d a52 aac acl acpi ada adns aim alsa amd amuled apache2 ares arts async athena atm audiofile authdaemond avi bash-completion bcmath berkdb bidi bind-mysql bitmap-fonts bl bmp bonobo boo buttons bzip2 cairo calendar cap caps cdb cdda cddb cdio cdr cdrom cgi clearcase cpdflib cpudetection cracklib crypt cscope css ctype cups curl curlwrappers cyrus dbus dedicated dga dio directfb divx4linux djvu dnd drac dts dvd dvdread dynagraph eds emacs emacs-w3 emboss encode erandom ethereal exif expat extensions extraengine fam fame fastcgi fat fbcon ffmpeg fftw firefox flac flash fltk foomaticdb fortran fpx freetype ftp gcj gd gdbm geoip geometry ggi gif gimp gimpprint glep glgd glitz glut gmail gmailtimestamps gmp gnome gnome-print gnuplot gnutls gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile gzip hal haskell hbci howl hpn html http icq id3 idled idn imagemagick imap imlib imlib2 inkjar inline innodb ipv6 ithreads java jikes john jp2 jpeg jpeg2k kcal kde kernel_linux lame latex lcms leim lesstif libedit libg++ libwww logitech-mouse lzo lzw mad mail mailbox maildir maildrop mailwrapper mbox mcal md5sum mikmod mime ming mixer mjpeg mmap mmx mmxext mng mod mono motif mozcalendar mozdevelop mozilla mozsha1 mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mpi mplayer msession musepack mysql mysqli ncurses nfs nls no-htdocs nptl nsplugin ntfs ntlm ntlm_unsupported_patch nvidia ocaml ogdi ogg oggvorbis opengl openntpd openssh openssl pam pam-mysql pam_chroot pam_console pam_timestamp pango parse-clocks pascal pcntl pcre pdf pdflib perforce perl plugin png pnp posix postfix postgres povray ppds prelude priority python qt quicktime quotas rar readline real recode remote rpc samba sasl sdl sendfile sftp sftplogging sharedext sharedmem shorten smtp sndfile snmp soap sockets spamassassin spell sql ssl stats subversion svg svgz symlink sysvipc szip tcltk tcpd tetex theora threads thumbnail tidy tiff tokenizer toolbar tools transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 vcd vcdimager vhosts vlm vorbis wddx webdav win32codecs wma123 wmf wxwindows x86 xface xfs xine xinetd xml xml2 xmlrpc xmms xosd xpm xprint xrandr xsl xslt xv xvid yv12 zlib elibc_glibc linguas_en linguas_de" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS Hope that the great gentoo-dev-community will find a solution.
*** Bug 117073 has been marked as a duplicate of this bug. ***
I see this problem too - was hoping it'd be fixed for 7.0 final. Ajax, is this a Gentoo-only problem or can you confirm the problem on your end too? I only ask because we change some paths around from the default. I don't want to have an upstream bug made if it's our problem.
(In reply to comment #2) > I see this problem too - was hoping it'd be fixed for 7.0 final. > > Ajax, is this a Gentoo-only problem or can you confirm the problem on your end > too? I only ask because we change some paths around from the default. I don't > want to have an upstream bug made if it's our problem. > Others: http://www.sourcemage.org/node/912 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2004-07/1573.html Maybe something with the kbd is broken?
Fresh install from stage1 mith gcc-4.0.2-r3 and glibc-2.3.6-r* and unmasked modular X have not shown any affect on this. It ,as already shown before, comes up and show "Can't create rules structure!"
as noted in the last reply of http://forums.gentoo.org/viewtopic-t-416857.html: I've copied the content of /usr/share/X11 to /usr/lib/X11. Maybe this is also helpful: equery b /usr/share/X11/* [ Searching for file(s) /usr/share/X11/app-defaults,/usr/share/X11/rgb.txt,/usr/share/X11/XErrorDB,/usr/share/X11/xkb,/usr/share/X11/XKeysymDB in *... ] x11-misc/xkbdata-1.0.1 (/usr/share/X11/xkb) x11-base/xorg-server-1.0.1-r1 (/usr/share/X11/app-defaults) x11-base/xorg-server-1.0.1-r1 (/usr/share/X11/xkb) x11-apps/rgb-1.0.0 (/usr/share/X11/rgb.txt) x11-apps/xkbcomp-1.0.1 (/usr/share/X11/xkb) x11-apps/xclock-1.0.1 (/usr/share/X11/app-defaults) x11-libs/libX11-1.0.0 (/usr/share/X11/XKeysymDB) x11-libs/libX11-1.0.0 (/usr/share/X11/XErrorDB)
This actually came up in the xorg mailing list and is being discussed. Once we make sure we have a good solution, we'll add it to the ebuild. From what I've read, xorgcfg is broken in other ways as well.
I've tried to fix this in xorg-server-1.0.2, as of tonight. Please sync in an hour or more and try again.