xorg-x11-6.7.0: - xterm is not compiled by xorg-x11, or not installed. - post_inst: * Generating fonts.dir files...... /usr/sbin/ebuild.sh: line 1427: 11742 Erreur de segmentation LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT}/usr/X11R6/lib" ${ROOT}/usr/X11R6/bin/mkfontdir -e ${ROOT}/usr/share/fonts/encodings -e ${ROOT}/usr/share/fonts/encodings/large -- ${x} [ ok ] Erreur de segmentation = segmentation fault - xorg-x11 also doesn't have Manifest file... Reproducible: Always Steps to Reproduce: 1. 2. 3. Gentoo Base System version 1.4.3.13p1 Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo) ================================================================= System uname: 2.6.4-gentoo i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ALSA_CARDS="intel8x0" ANT_HOME="/usr/share/ant" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/portage/bashrc" CC="gcc" CCACHE_SIZE="2G" CFLAGS="-march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -pipe" CHOST="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" COLORFGBG="7;default;0" COLORTERM="Eterm" COLORTERM_BCE="Eterm" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/Sessions/ /etc/gconf /etc/terminfo /etc/env.d" CVSROOT="/usr/local/cvsroot" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -pipe" DCCC_PATH="/usr/lib/distcc/bin" DESKTOP_SESSION="fluxbox" DISPLAY=":0.0" DISTCC_DIR="/var/tmp/distccd" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/exports/usr/portage/distfiles" EDITOR="/usr/bin/vim" ETERM_THEME_ROOT="/home/panard/.Eterm/themes/Eterm" ETERM_USER_ROOT="/home/panard/.Eterm/themes/Eterm" ETERM_VERSION="0.9.2" FEATURES="autoaddcvs ccache distcc noinfo sandbox strict userpriv" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GDK_USE_XFT="1" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.mirror.sdv.fr" GLIBC_SSP_CHECKED="1" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses" GUILE_LOAD_PATH="/usr/share/guile/1.6" G_BROKEN_FILENAMES="1" HOME="/home/panard" HOSTNAME="sylvebarbe" IFS=" " INFODIR="/usr/share/info:/usr/X11R6/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" INPUTRC="/etc/inputrc" IRCNAME="Panard" IRCNICK="Panard" IRCSERVER="irc.freenode.org" JAVAC="/opt/sun-jdk-1.4.2.04/bin/javac" JAVA_HOME="/opt/sun-jdk-1.4.2.04" JDK_HOME="/opt/sun-jdk-1.4.2.04" KDEDIR="/usr/kde/3.2" KDEDIRS="/usr" LANG="fr_FR@euro" LESS="-R" LESSOPEN="|lesspipe.sh %s" LINGUAS="fr" LOGNAME="panard" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:" MAKEOPTS="-j4" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man:/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man::/opt/sun-jdk-1.4.2.04/man:/usr/qt/3/man:/usr/qt/3/doc/man:/opt/vmware/man:/opt/sun-jdk-1.4.2.04/man:/usr/qt/3/man:/usr/qt/3/doc/man:/opt/vmware/man" MOZILLA_FIVE_HOME="/usr/lib/mozilla" NOCOLOR="false" OLDPWD="/usr/portage" PAGER="/usr/bin/less" PATH="/home/panard/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/Acrobat5:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.04/bin:/opt/sun-jdk-1.4.2.04/jre/bin:/opt/sun-jdk-1.4.2.04/jre/javaws:/usr/qt/3/bin:/usr/kde/3.2/bin:/usr/qt/2/bin:/usr/games/bin:/opt/vmware/bin:/opt/wolfenstein:/usr/local/maple9/bin:/home/panard/public_html/proliste/proto/plserver/src/bin:/home/panard/Projets/SEKey/bin" PKGDIR="/exports/usr/portage/packages" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CACHEDIR="/var/cache/edb/dep/" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="11954" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/exports/usr/portage" PORTDIR_OVERLAY="/exports/usr/local/portage" PRELINK_PATH="" PRELINK_PATH_MASK="/opt" PS1="\[\033[01;32m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]" PWD="/home/panard" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SANE_CONFIG_DIR="/etc/sane.d" SGML_CATALOG_FILES="/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/sgml-docbook-4.2.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/openjade-1.3.2.cat" SHELL="/bin/bash" SHLVL="3" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" TERM="xterm" USE="X Xaw3d aalib acpi acpi4linux alsa amd apache2 apm arts artswrappersuid avi berkdb bonobo cdr clanJavaScript clanVoice crypt cups curl dedicated directfb dvd encode ethereal fbcon fbdev flash foomaticdb gd gdbm gif gimpprint gnome gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib innodb java joystick jpeg kde kerberos ldap libg++ libwww linguas_fr mad mbox mikmod mng motif mozilla moznocompose moznoirc moznomail mpeg mysql nas ncurses nls odbc oggvorbis opengl oss pam pcmcia pdflib perl pg-hier pg-intdatetime pg-vacuumdelay png pnp postgres ppds python qt quicktime radeon readline ruby samba sasl scanner sdk sdl slang spell ssl svga tcltk tcpd tetex tiff truetype usb v4l video_cards_radeon videos wmf x86 xchattext xine xml xml2 xmms xv xvid zlib" USER="panard" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" VIDEO_CARDS="radeon" WINDOWID="56623288" XARGS="xargs -r" XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,method=classic" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge"
I think HOMEPAGE = http://www.x.org is a bad homepage for this project, http://freedesktop.org/XOrg seems make more sense... isn't it?
xterm not compiled : yes, it is the wanted behaviour (one of the gentoo patches disables it) no manifest : same for me, not critical at all, there would be one in a next portage sync post_inst problem : argh, i think i'll wait a bit before installing it
Sounds like you may have a broken encoding. It would be helpful if you could track down which one. As for the xterm, we have a masked xterm ebuild in portage that I need to get working better really soon -- it ought to work alright now. Got the Manifest and homepage fixed.
Ok, I've found that the mkfontdir segfault when ${x} is /usr/share/fonts/default/ghostscript, its ok for all other fonts dirs. thanks to strace, I've found that the segfault appears with the following fonts : hrger.pfa hrgrr.pfa hritr.pfa hrpldi.pfa hrpld.pfa hrplti.pfa hrplt.pfa hrscc.pfa hrscs.pfa - There a little pb for the xterm ebuild, due to the VENDORNAME: gcc -I. -I. -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I./exports/include/X11 -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXFREE86_FT2 -DPROJECTROOT=/usr/X11R6 -DXVENDORNAME=The -DXVENDORNAMESHORT=X.Org -DUTMP -DOSMAJORVERSION=2 -DOSMINORVERSION=6 -I/usr/X11R6/include -D_GNU_SOURCE -march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -pipe X.Org Foundation -c ./button.c gcc: X.Org : Aucun fichier ou r
Ok, I've found that the mkfontdir segfault when ${x} is /usr/share/fonts/default/ghostscript, its ok for all other fonts dirs. thanks to strace, I've found that the segfault appears with the following fonts : hrger.pfa hrgrr.pfa hritr.pfa hrpldi.pfa hrpld.pfa hrplti.pfa hrplt.pfa hrscc.pfa hrscs.pfa - There a little pb for the xterm ebuild, due to the VENDORNAME: gcc -I. -I. -DHAVE_CONFIG_H -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I./exports/include/X11 -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXFREE86_FT2 -DPROJECTROOT=/usr/X11R6 -DXVENDORNAME=The -DXVENDORNAMESHORT=X.Org -DUTMP -DOSMAJORVERSION=2 -DOSMINORVERSION=6 -I/usr/X11R6/include -D_GNU_SOURCE -march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -pipe X.Org Foundation -c ./button.c gcc: X.Org : Aucun fichier ou répertoire de ce type gcc: Foundation : Aucun fichier ou répertoire de ce type
ok, for my fonts problem, I just realized that the fonts which cause mkfondir to segfault are all part of the "media-fonts/gnu-gs-fonts-other" (6.0). for the xterm problem, I don't know if it will help, but I found that the cause of this error is in the configure script, line ~ 5550, the vendor name is "The X.Org foundation", so the 'for cf_opt in $IMAKE_CFLAGS' will cut it...
Oh, yeah, I kinda knew that font package was slightly broken -- I uninstalled it after realizing that combined with its general uselessness as a provider of quality fonts.
I think I've found out why xterm isn't build... the patch '9113_all_4.3.0-xterm-make-optional.patch' patches xc/config/cf/xfree86.cf - however, this file isn't used at all when building xorg, xc/config/cf/xorg.cf is used instead. I've made a quick fix for this issue, which just applies the changes on xfree86.cf on xorg.cf. I'm attaching two files in a moment: xterm.patch - goes into ${PORTAGEDIR}/x11-base/xorg-x11/files/ xorg-x11-6.7.0.ebuild.patch - patch to ${PORTAGEDIR}/x11-base/xorg-x11/xorg-x11-6.7.0.ebuild Note: I _think_ this will make xorg-x11 build xterm, however, I'm still compiling xorg... so I'm not 100% sure. :)
Created attachment 28847 [details, diff] Applies changes on xfree86.cf on xorg.cf
Created attachment 28848 [details, diff] xorg-x11-6.7.0.ebuild.patch
I don't want xterm to build, I want to use the external. But thanks for pointing out the xfree86/xorg.cf issue, I'll have to recheck my patches for that.
> I don't want xterm to build, I want to use the external I'm aggree with that, and lines 728 to 732 of the ebuild seem to be useless (and make some errors during the merge)
Fixed that bit, and another bit about xterm in the ebuild.
an other bug: /usr/lib/opengl/xorg-x11/lib/libGL.la contains bad libdir: $ grep libdir /usr/lib/opengl/xorg-x11/lib/libGL.la libdir='/usr/lib/opengl/xfree/lib' instead of /usr/lib/opengl/xorg-x11/lib this will cause a lot of problems with the build of some packages (like digikamplugins).... a sed on it will during libGL stuff will fix it
Fixed libGL.la.
Added xterm to PDEPEND, unmasked it, etc. Thanks Seemant.
All the issues in this bug are fixed. Please file new bugs for any additional issues. Thanks for helping out.
Oh, for those of you having segfaults on mkfontdir, try removing the -e flag.