Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modular X server bugs, annoyances and solutions (Part 2)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4 ... 20, 21, 22  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
eqlazer
n00b
n00b


Joined: 07 Dec 2005
Posts: 33
Location: Gothenburg, Sweden

PostPosted: Sat Mar 18, 2006 12:24 pm    Post subject: Reply with quote

Hi, I am trying to install modular xorg, but there is a lot of problems. Allmost every new package it wants to emerge fails.

emerge xorg-x11
Code:

config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating xxf86misc.pc
config.status: creating src/config.h
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory `/var/tmp/portage/libXxf86misc-1.0.0-r1/work/libXxf86misc-1.0.0/src'
make  all-am
make[2]: Entering directory `/var/tmp/portage/libXxf86misc-1.0.0-r1/work/libXxf86misc-1.0.0/src'
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -DMALLOC_0_RETURNS_NULL -march=pentium4 -mcpu=pentium4 -O3 -pipe -MT XF86Misc.lo -MD -MP -MF ".deps/XF86Misc.Tpo" \
  -c -o XF86Misc.lo `test -f 'XF86Misc.c' || echo './'`XF86Misc.c; \
then mv -f ".deps/XF86Misc.Tpo" ".deps/XF86Misc.Plo"; \
else rm -f ".deps/XF86Misc.Tpo"; exit 1; \
fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DMALLOC_0_RETURNS_NULL -march=pentium4 -mcpu=pentium4 -O3 -pipe -MT XF86Misc.lo -MD -MP -MF .deps/XF86Misc.Tpo -c XF86Misc.c  -fPIC -DPIC -o .libs/XF86Misc.o
XF86Misc.c:11:25: X11/Xlibint.h: No such file or directory
In file included from /usr/include/X11/extensions/xf86mscstr.h:12,
                 from XF86Misc.c:12:
/usr/include/X11/extensions/xf86misc.h:95: error: syntax error before "Bool"
/usr/include/X11/extensions/xf86misc.h:97: error: syntax error before "chordmiddle"
/usr/include/X11/extensions/xf86misc.h:99: error: syntax error before '}' token
/usr/include/X11/extensions/xf86misc.h:105: error: syntax error before "Bool"
/usr/include/X11/extensions/xf86misc.h:114: error: syntax error before "XF86MiscQueryVersion"
/usr/include/X11/extensions/xf86misc.h:115: error: syntax error before '*' token
/usr/include/X11/extensions/xf86misc.h:120: error: syntax error before "XF86MiscQueryExtension"
.
.
(a lot of errors)
.
.


XF86Misc.c:402: warning: parameter names (without types) in function declaration
XF86Misc.c:402: warning: data definition has no type or storage class
XF86Misc.c:403: warning: data definition has no type or storage class
XF86Misc.c:404: error: syntax error before "return"
{standard input}: Assembler messages:
{standard input}:71: Error: symbol `len' is already defined as "*COM*"/4
{standard input}:77: Error: symbol `len' is already defined as "*COM*"/4
make[2]: *** [XF86Misc.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libXxf86misc-1.0.0-r1/work/libXxf86misc-1.0.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/libXxf86misc-1.0.0-r1/work/libXxf86misc-1.0.0/src'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/libXxf86misc-1.0.0-r1 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
  ebuild.sh, line 1272:   Called x-modular_src_compile
  x-modular.eclass, line 304:   Called x-modular_src_make

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge -pv xorg-x11
Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-libs/libXxf86misc-1.0.0-r1  USE="-debug" 0 kB
[ebuild  N    ] x11-libs/liblbxutil-1.0.0  USE="-debug" 0 kB
[ebuild  N    ] x11-libs/libXrender-0.9.0.2  USE="-debug" 0 kB
[ebuild  N    ] x11-apps/xkbcomp-1.0.1  USE="-debug" 0 kB
[ebuild  N    ] x11-misc/xkeyboard-config-0.7-r1  0 kB
[ebuild  N    ] x11-proto/damageproto-1.0.3  USE="-debug" 36 kB
[ebuild  N    ] x11-proto/xf86dgaproto-2.0.2  USE="-debug" 39 kB
[ebuild  N    ] x11-libs/libXpm-3.5.4.2  USE="-debug" 342 kB
[ebuild  N    ] x11-libs/libXaw-1.0.1  USE="-debug -xprint" 505 kB
[ebuild  N    ] x11-proto/trapproto-3.4.3  USE="-debug" 47 kB
[ebuild  N    ] x11-proto/recordproto-1.13.2  USE="-debug" 38 kB
[ebuild  N    ] x11-libs/libXtst-1.0.1  USE="-debug" 207 kB
[ebuild  N    ] x11-proto/xf86driproto-2.0.3  USE="-debug" 41 kB
[ebuild  N    ] x11-proto/dmxproto-2.2.2  USE="-debug" 38 kB
[ebuild  N    ] x11-libs/libdmx-1.0.1  USE="-debug" 214 kB
[ebuild  N    ] x11-apps/rgb-1.0.0  USE="-debug" 85 kB
[ebuild  N    ] x11-apps/iceauth-1.0.1  USE="-debug" 82 kB
[ebuild  N    ] x11-proto/xf86rushproto-1.1.2  USE="-debug" 36 kB
[ebuild  N    ] media-fonts/font-misc-misc-1.0.0  USE="nls" 1,811 kB
[ebuild  N    ] x11-libs/libxkbui-1.0.1  USE="-debug" 205 kB
[ebuild  N    ] media-fonts/font-cursor-misc-1.0.0  USE="nls" 41 kB
[ebuild  N    ] x11-proto/glproto-1.4.5  USE="-debug" 52 kB
[ebuild  N    ] x11-proto/resourceproto-1.0.2  USE="-debug" 35 kB
[ebuild  N    ] x11-libs/libXres-1.0.0-r1  USE="-debug" 202 kB
[ebuild  N    ] x11-proto/evieext-1.0.2  USE="-debug" 36 kB
[ebuild  N    ] x11-misc/makedepend-1.0.0  USE="-debug" 100 kB
[ebuild  N    ] x11-proto/xf86vidmodeproto-2.2.2  USE="-debug" 38 kB
[ebuild  N    ] x11-proto/printproto-1.0.3  USE="-debug" 42 kB
[ebuild  N    ] x11-libs/libXxf86vm-1.0.0-r1  USE="-debug" 203 kB
[ebuild  N    ] x11-libs/libXi-1.0.0-r1  USE="-debug" 233 kB
[ebuild  N    ] x11-libs/libdrm-2.0  USE="-debug" 362 kB
[ebuild  N    ] media-libs/mesa-6.4.2-r2  USE="motif -debug" VIDEO_CARDS="ati -i810 -mga -none -s3virge -savage -sis -tdfx -trident -via" 2,844 kB
[ebuild  N    ] x11-proto/xineramaproto-1.1.2  USE="-debug" 37 kB
[ebuild  N    ] x11-misc/xbitmaps-1.0.1  USE="-debug" 54 kB
[ebuild  N    ] x11-apps/xrdb-1.0.1  USE="-debug" 83 kB
[ebuild  N    ] x11-wm/twm-1.0.1  USE="-debug" 218 kB
[ebuild  N    ] x11-libs/libXft-2.1.8.2  USE="-debug" 239 kB
[ebuild  N    ] x11-apps/xclock-1.0.1  USE="-debug -xprint" 97 kB
[ebuild  N    ] x11-apps/xinit-1.0.1  USE="-debug" 90 kB
[ebuild  N    ] x11-proto/scrnsaverproto-1.0.2  USE="-debug" 37 kB
[ebuild  N    ] x11-base/xorg-server-1.0.1-r4  USE="dri ipv6 -debug -minimal -xprint" 5,835 kB
[ebuild  N    ] x11-drivers/xf86-video-v4l-0.0.1.5  USE="-debug" 217 kB
[ebuild  N    ] x11-drivers/xf86-video-vesa-1.0.1.3  USE="-debug" 218 kB
[ebuild  N    ] app-doc/xorg-docs-1.0.1  USE="-debug -doc" 8,112 kB
[ebuild  N    ] x11-libs/libxkbui-1.0.1  USE="-debug" 205 kB
[ebuild  N    ] media-fonts/font-cursor-misc-1.0.0  USE="nls" 41 kB
[ebuild  N    ] x11-proto/glproto-1.4.5  USE="-debug" 52 kB
[ebuild  N    ] x11-proto/resourceproto-1.0.2  USE="-debug" 35 kB
[ebuild  N    ] x11-libs/libXres-1.0.0-r1  USE="-debug" 202 kB
[ebuild  N    ] x11-proto/evieext-1.0.2  USE="-debug" 36 kB
[ebuild  N    ] x11-misc/makedepend-1.0.0  USE="-debug" 100 kB
[ebuild  N    ] x11-proto/xf86vidmodeproto-2.2.2  USE="-debug" 38 kB
[ebuild  N    ] x11-proto/printproto-1.0.3  USE="-debug" 42 kB
[ebuild  N    ] x11-libs/libXxf86vm-1.0.0-r1  USE="-debug" 203 kB
[ebuild  N    ] x11-libs/libXi-1.0.0-r1  USE="-debug" 233 kB
[ebuild  N    ] x11-libs/libdrm-2.0  USE="-debug" 362 kB
[ebuild  N    ] media-libs/mesa-6.4.2-r2  USE="motif -debug" VIDEO_CARDS="ati -i810 -mga -none -s3virge -savage -sis -tdfx -trident -via" 2,844 kB
[ebuild  N    ] x11-proto/xineramaproto-1.1.2  USE="-debug" 37 kB
[ebuild  N    ] x11-misc/xbitmaps-1.0.1  USE="-debug" 54 kB
[ebuild  N    ] x11-apps/xrdb-1.0.1  USE="-debug" 83 kB
[ebuild  N    ] x11-wm/twm-1.0.1  USE="-debug" 218 kB
[ebuild  N    ] x11-libs/libXft-2.1.8.2  USE="-debug" 239 kB
[ebuild  N    ] x11-apps/xclock-1.0.1  USE="-debug -xprint" 97 kB
[ebuild  N    ] x11-apps/xinit-1.0.1  USE="-debug" 90 kB
[ebuild  N    ] x11-proto/scrnsaverproto-1.0.2  USE="-debug" 37 kB
[ebuild  N    ] x11-base/xorg-server-1.0.1-r4  USE="dri ipv6 -debug -minimal -xprint" 5,835 kB
[ebuild  N    ] x11-drivers/xf86-video-v4l-0.0.1.5  USE="-debug" 217 kB
[ebuild  N    ] x11-drivers/xf86-video-vesa-1.0.1.3  USE="-debug" 218 kB
[ebuild  N    ] app-doc/xorg-docs-1.0.1  USE="-debug -doc" 8,112 kB
[ebuild  N    ] x11-libs/libXdamage-1.0.2.2  USE="-debug" 200 kB
[ebuild  N    ] x11-apps/xhost-1.0.0  USE="ipv6 -debug" 83 kB
[ebuild  N    ] x11-libs/libXScrnSaver-1.0.1-r1  USE="-debug" 208 kB
[ebuild  N    ] x11-libs/libXxf86dga-1.0.0-r1  USE="-debug" 206 kB
[ebuild  N    ] media-fonts/font-adobe-utopia-type1-1.0.1  203 kB
[ebuild  N    ] x11-apps/xmodmap-1.0.0  USE="-debug" 87 kB
[ebuild  N    ] x11-drivers/xf86-input-keyboard-1.0.1.3  USE="-debug" 214 kB
[ebuild  N    ] x11-libs/libXcursor-1.1.5.2-r1  USE="-debug" 219 kB
[ebuild  N    ] x11-libs/libXrandr-1.1.0.2-r1  USE="-debug" 206 kB
[ebuild  N    ] x11-apps/xrandr-1.0.1  USE="-debug" 74 kB
[ebuild  N    ] x11-drivers/xf86-video-ati-6.5.7.3  USE="dri -debug" 683 kB
[ebuild  N    ] x11-libs/libXinerama-1.0.1  USE="-debug" 201 kB
[ebuild  N    ] media-fonts/font-bh-ttf-1.0.0  374 kB
[ebuild  N    ] x11-libs/libXp-1.0.0  USE="-debug" 230 kB
[ebuild  N    ] x11-drivers/xf86-input-mouse-1.0.4  USE="-debug" 245 kB
[ebuild  N    ] x11-apps/mesa-progs-6.4.2  795 kB
[ebuild  N    ] x11-libs/libXv-1.0.1  USE="-debug" 219 kB
[ebuild  N    ] x11-base/xorg-x11-7.0-r1  USE="-3dfx" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="ati fglrx v4l vesa -apm -ark -chips -cirrus -cyrix -dummy -fbdev -glint -i128 -i740 -i810 -imstt -mga -neomagic -newport -nsc -nv -nvidia -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -vga -via -vmware -voodoo" 0 kB

Total size of downloads: 27,626 kB


emerge --info
Code:

Portage 2.1_pre6-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-ck3-r1 i686)
=================================================================
System uname: 2.6.15-ck3-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.csbnet.se/pub/linux/distributions/gentoo http://ds.thn.htu.se/linux/gentoo http://gentoo.osuosl.org http://www.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://ds.thn.htu.se/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts crypt cups dri eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse sse2 ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_fglrx video_cards_ati video_cards_v4l video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS


What can I do to get it ro work?
Back to top
View user's profile Send private message
exec876
n00b
n00b


Joined: 06 Sep 2005
Posts: 4

PostPosted: Mon Mar 20, 2006 7:26 pm    Post subject: Reply with quote

Quote:
XF86Misc.c:11:25: X11/Xlibint.h: No such file or directory


This means you're missing some library or something (big surprise huh?). I had a similiar problem with xorg-server. What i did was check the .ebuild file in /usr/portage for the packege and re-emerge all the direct dependencies. Of course if you're able to guess which package contains Xlibint.h then you can emerge only that one ;).

That's maybe not the most elegant nor the fastest way to do it but hell i have no other ideas and besides it works (at least it did for me). If someone knows a better way then i'd happily hear about one (just being curious :))

ps. the other problem may be that those direct dependecies also may not compile because of other missing files which can make you spend a few hours searching for the right things to emerge first. but eventually something has to emerge correctly (or you have the system messed up all along) and then you start going up, step by step.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Mar 20, 2006 7:40 pm    Post subject: Reply with quote

eqlazer wrote:
Allmost every new package it wants to emerge fails.

Let Portage do its job in resolving the dependencies, with e.g.:
Code:
emerge --verbose --update --newuse --deep world


Quote:
XF86Misc.c:11:25: X11/Xlibint.h: No such file or directory

/usr/include/X11/Xlibint.h belongs to x11-libs/libX11

Here is an online file search.

Looking at the ebuild for libXxf86misc, it includes a DEPEND on libX11, so you simply need to at least specify --deep.
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Mon Mar 20, 2006 8:52 pm    Post subject: Reply with quote

PaulBredbury wrote:
eqlazer wrote:
Allmost every new package it wants to emerge fails.

Let Portage do its job in resolving the dependencies, with e.g.:
Code:
emerge --verbose --update --newuse --deep world


Sometimes something goes wrong though and then portage can't do its job anymore. I for example did something stupid.

Had xorg6.8, unmerged it, tried xorg7 got errors for whatever reason and since i don't like lynx reinstalled xorg 6.8. Tried the same spiel from the start but this intermediate step with xorg 6.8 ruins the xorg 7 packages you got on there already and then portage is helpless. The only way i got it working again was emerge -e xorg-x11.
Back to top
View user's profile Send private message
Manfred
n00b
n00b


Joined: 27 Apr 2004
Posts: 65

PostPosted: Mon Mar 20, 2006 10:28 pm    Post subject: Reply with quote

Kaste wrote:
The only way i got it working again was emerge -e xorg-x11.

In order to emerge 7.0, you had to deliberately unmask a bunch of packages in /etc/portage/packages.[unmkask,keywords].
For me, it was sufficient to unmerge those, and then re-emerge 6.8. - No need for the dangerous "-e"; you might end up in a system where even basic emerge / portage tools aren't working at all, which can easily imply the necessity of a total reinstall. Please, don't ensnare folks into this brute-force approach.
BTW: Portage is by principle really devoted to _up_grading. If people decide to leave the stable path, installing even _hard_-masked packeges, they should know what they are doing - IMHO.
mkn.
P.S.: My gentoo system is running 24h / 7d (besides kernel upgrades) since 2004 ;-)
Back to top
View user's profile Send private message
Manfred
n00b
n00b


Joined: 27 Apr 2004
Posts: 65

PostPosted: Mon Mar 20, 2006 10:36 pm    Post subject: Reply with quote

exec876 wrote:
Of course if you're able to guess which package contains ...

equery and companions from package gentoolkit are your friend :D
mkn
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Tue Mar 21, 2006 1:31 am    Post subject: Reply with quote

@Manfred

The Problem was not going back to xorg 6.8 that worked fine but the problem is that it overwrites/removes certain libraries that belong to xorg7.0, which are not identical to 6.8, but portage doesn't get notified about this and therefore assumes they are intact although they aren't. Therefore my next stab at emerging xorg 7 was doomed to fail because a lot of the packages that i installed before going back were broken.

I am in no way advertising the emerge -e approach but what exactly is dangerous about it? It took ages and forever but this solution was exactly what a gentoo developer told me to do when i asked for help with my problem. I wasn't aware that it poses risks, could you please clarify on that.
Back to top
View user's profile Send private message
Manfred
n00b
n00b


Joined: 27 Apr 2004
Posts: 65

PostPosted: Wed Mar 22, 2006 3:21 pm    Post subject: Reply with quote

@Kaste

Ok, this sounds quite a bit different to what I understood the first time.
Well, first I would like to post more exactly what I did.

In order to emerge 7.0 (cf. the Gentoo Modular X.Org upgrade HowTo), I had to unmask the hard-masked packages, plus some additional packages.
So e.g. my /etc/package.keywords contains:
Code:
#       additionals for Modular X-Org
<=sys-apps/portage-2.1_pre99                    ~x86
<=sys-apps/man-1.6b-r2                          ~x86
<=app-admin/eselect-opengl-1.0.99               ~x86
<=app-admin/eselect-1.0_rc99                    ~x86
# media-video/nvidia-kernel                     ~x86
# media-video/nvidia-glx                        ~x86
<=dev-python/pycrypto-2.0.1-r99                 ~x86
<=x11-terms/xterm-211                           ~x86

#       Modularized X, upstream release candidates

...   <<< cf. the section in /usr/portage/profiles/packages.mask ...


After emerging 7.0, I had to go back to 6.8 (the reason depends on my old Matrox graphics cards and doesn't matter here) - so temporarily I took out all the elements of the 7.0 section in /usr/portage/profiles/packages.mask / .keywords and created a file package.unmerge_X7.0.sorted:
Code:
emerge -C  app-doc/xorg-docs
emerge -C  app-doc/xorg-sgml-doctools

emerge -C  media-fonts/encodings
emerge -C  media-fonts/font-adobe-100dpi
emerge -C  media-fonts/font-adobe-75dpi
emerge -C  media-fonts/font-adobe-utopia-100dpi
emerge -C  media-fonts/font-adobe-utopia-75dpi
... ... ...
, ran it, removed the corresponding unmasking stuff from package.keywords and package.unmask and simply emerged 6.8.
That was ist - efficient and sufficient; no packages re-compiled unnecessarily at all.
And: No need for any "-e" at all.
Later, I re-entered the unmasking stuff for 7.0, emerged 7.0, and that was it - again, that simple.

Now, to your "danger" question:
If you would run "emerge -pe xorg-x11 | grep portage", you get:
Code:
[ebuild  N    ] app-portage/portage-manpages-1.2
[ebuild  N    ] sys-apps/portage-2.1_pre6-r5

In your case, you ran "emerge -pCe xorg-x11"
A " | grep portage" luckily does not yield anything.
Can you see the danger? :twisted:

Kind regards from Munich
Manfred
Back to top
View user's profile Send private message
Ibn al-Hazardous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Sep 2004
Posts: 133
Location: Somewhere deep in the desert.

PostPosted: Wed Mar 22, 2006 7:37 pm    Post subject: Reply with quote

Manfred wrote:
In your case, you ran "emerge -pCe xorg-x11"


Well, combining running "emerge -Ce anypackage" is inviting disaster. You pretty much have to not share one single dep with any other package. If the thing you want to remove depends on libstdc++ your portage will bork too. Removing glibc doesn't look so hot to me either. ;)

However, this foolishness has nothing to do with "emerge -e anypackage" - which is a perfectly harmless operation. What on earth possessed you to mix the two? :roll:
_________________
/Ibn
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Thu Mar 23, 2006 12:32 am    Post subject: Reply with quote

Manfred wrote:
Now, to your "danger" question:
If you would run "emerge -pe xorg-x11 | grep portage", you get:
Code:
[ebuild  N    ] app-portage/portage-manpages-1.2
[ebuild  N    ] sys-apps/portage-2.1_pre6-r5

In your case, you ran "emerge -pCe xorg-x11"
A " | grep portage" luckily does not yield anything.
Can you see the danger? :twisted:

Kind regards from Munich
Manfred


Autsch! Ok we both misunderstood each other. I wasn't suggesting emerge -eC. That is scary. I didn't even come up with the idea.
What i did was
Code:
 
quickpkg xorg-x11
emerge -C x11 xorg-x11 # removed xorg 6.8
emerge xorg-x11  #after unmasking7 -> led to an error
emerge -k x11 # pulls in xorg-x11-6.8 as a dep
...worked a little and looked up the solution
emerge -C xorg-x11 x11
emerge -e xorg-x11

There is on danger in that. (Well unless you screw your compiler up like i did once :))

Btw see you soon back in Munich. 8)
Back to top
View user's profile Send private message
Manfred
n00b
n00b


Joined: 27 Apr 2004
Posts: 65

PostPosted: Thu Mar 23, 2006 9:31 am    Post subject: Reply with quote

Good morning, Kaste!
Quote:
Autsch! Ok we both misunderstood each other. I wasn't suggesting emerge -eC. That is scary. I didn't even come up with the idea.

Well, and really another "Autsch!" for the misunderstanding also ... but it had it's funny aspects, sorting it out :lol:
Kind regards again!
Manfred
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Thu Mar 23, 2006 1:48 pm    Post subject: Reply with quote

sorry, if i ask as something that might have been asked before, but:
1. gtk+ applications do not work any more:

nt@enti $ xchat-2
The program 'xchat-2' recieved an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details. servial 318 error_code 1 request_code 154 minor_code 23)

2. i can't c/p anything from withing "Terminal" because it instantly terminates if i mark text with my mouse.
3. the mouse wheel isn't working as expected. xev shows it as button 6 and 7, which is the same as before, but i can't switch desktops (fluxbox), or use it to scroll in firefox or any other apps for that matter.
4. i can't start xterm as user any longer (but i can start Terminal and Eterm).
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
tokugawa
n00b
n00b


Joined: 11 Oct 2002
Posts: 40
Location: Olesnica, Poland

PostPosted: Thu Mar 23, 2006 2:04 pm    Post subject: Reply with quote

eNTi wrote:
sorry, if i ask as something that might have been asked before, but:
1. gtk+ applications do not work any more:

nt@enti $ xchat-2
The program 'xchat-2' recieved an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details. servial 318 error_code 1 request_code 154 minor_code 23)


Confirmed. Same here. I have managed to sort out that this is a problem with (keyboard) input. If I run an app without text-input fields it starts ok (eg gnome-ui-properties, gnome-panel)

Gtk apps with text-inputs don't start... but eq non-gtk nedit works.
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Thu Mar 23, 2006 2:32 pm    Post subject: Reply with quote

can anyone tell me what's going on?
Code:

nt@enti $ xmms

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     KSC5601.1987-0


Gdk-WARNING **:     GB2312.1980-0

Gdk-ERROR **: BadRequest (invalid request code or no such operation)
  serial 488 error_code 1 request_code 154 minor_code 23

_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
straks
n00b
n00b


Joined: 09 May 2004
Posts: 50

PostPosted: Thu Mar 23, 2006 3:15 pm    Post subject: Reply with quote

eNTi wrote:
sorry, if i ask as something that might have been asked before, but:
1. gtk+ applications do not work any more:

nt@enti $ xchat-2
The program 'xchat-2' recieved an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details. servial 318 error_code 1 request_code 154 minor_code 23)

2. i can't c/p anything from withing "Terminal" because it instantly terminates if i mark text with my mouse.
3. the mouse wheel isn't working as expected. xev shows it as button 6 and 7, which is the same as before, but i can't switch desktops (fluxbox), or use it to scroll in firefox or any other apps for that matter.
4. i can't start xterm as user any longer (but i can start Terminal and Eterm).


I have EXACT the same problem. Except that my scroll wheel seems to work fine. I do use fluxbox too, btw.
But indeed, anything that needs input just crashes. For instance, i can start gaim, but when i open a window to talk to someone, it crashes. And it's with every program, firefox, thunderbird, eclipse, ...

I'm reemerging GTK as we are speaking, just to test it if it fixes anything.

For more configuration details, i installed Xorg 7 with VIDEO_CARDS="ati fglrx vesa fbdev", And i kept my old Xorg config. Except from commenting 2 paths in the files section (RgbPath and ModulePath).

*UPDATE* Re-emerging gtk+ didn't do anything
Back to top
View user's profile Send private message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Thu Mar 23, 2006 3:54 pm    Post subject: Reply with quote

tokugawa wrote:
eNTi wrote:
sorry, if i ask as something that might have been asked before, but:
1. gtk+ applications do not work any more:

nt@enti $ xchat-2
The program 'xchat-2' recieved an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details. servial 318 error_code 1 request_code 154 minor_code 23)


Confirmed. Same here. I have managed to sort out that this is a problem with (keyboard) input. If I run an app without text-input fields it starts ok (eg gnome-ui-properties, gnome-panel)

Gtk apps with text-inputs don't start... but eq non-gtk nedit works.


Confirmed! gdm crashes probably due to this. if I startx I can get into gnome, the panel works but nautilus doesnt. I'm in twn right now, xchat-2 doesn't, nor does anything with text entry. Firefox works tho, probably because it doesn't use gtk fields. any ideas :?

my xorg.conf has not changed at all from x-org 6.8.x
Back to top
View user's profile Send private message
Riekr
n00b
n00b


Joined: 21 Jun 2002
Posts: 47
Location: Italy

PostPosted: Thu Mar 23, 2006 4:07 pm    Post subject: Reply with quote

Exactly the same problem here.. and i'm in twm too :(
I first used xorg.conf from 6.8 rel but now (just to be sure it's not a config file issue) i'm using a new generated xorg.conf
I'm reemerging packages selectively using emerge -pve in the hope to discover what's not working.
Anyway firefox seems to work.
_________________
Our continuing mission to boldly code where no one has man page 4.
Back to top
View user's profile Send private message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Thu Mar 23, 2006 4:13 pm    Post subject: Reply with quote

I've doing an emerge world -uvaD
I noticed that there are x11 packages slated as "N" but have not been installed yet from my "migration" attempt.
I'm installing those now and I hope this fixes it
Back to top
View user's profile Send private message
keikoz
n00b
n00b


Joined: 14 Feb 2006
Posts: 29

PostPosted: Thu Mar 23, 2006 4:20 pm    Post subject: Reply with quote

Same pbl here ... A lot of gtk applications not working, and some strange behaviours (impossible to select objetct ont the desk by drawing with mouse).

Running Gnome 2.12.3

Quote:
I noticed that there are x11 packages slated as "N" but have not been installed yet from my "migration" attempt.


That didnt solve anything bye me.

Other peoples have the same pbl described here
Back to top
View user's profile Send private message
Riekr
n00b
n00b


Joined: 21 Jun 2002
Posts: 47
Location: Italy

PostPosted: Thu Mar 23, 2006 4:28 pm    Post subject: Reply with quote

can it be some font maybe used by the incriminated apps? i see all fonts smaller and i'm missing some bold font (unread mails on gmail for example)
_________________
Our continuing mission to boldly code where no one has man page 4.
Back to top
View user's profile Send private message
Netolish
n00b
n00b


Joined: 23 Mar 2006
Posts: 6
Location: Czech Republic

PostPosted: Thu Mar 23, 2006 4:36 pm    Post subject: Change window manager - helps Reply with quote

I am using FVWM window manager an d have the same problem - any GTK2 applications
does not work after upgrade to xorg7. Reemerge gtk dosen not help. But I have tried
change windowmanager to TWM and ... bingo everything works fine.
I know it is not "the right" solution. I would also like to return back to FVWM. But may be
it helps to find where is the problem.

Netolish
Back to top
View user's profile Send private message
Riekr
n00b
n00b


Joined: 21 Jun 2002
Posts: 47
Location: Italy

PostPosted: Thu Mar 23, 2006 4:48 pm    Post subject: Reply with quote

i'm using twm but can only get firefox working.. i can't start gedit or gnome-terminal for example.
Can anybody with a working gnome and xorg-7.0 (if any) post the output of emerge -pv xorg-x11 ?
_________________
Our continuing mission to boldly code where no one has man page 4.
Back to top
View user's profile Send private message
tokugawa
n00b
n00b


Joined: 11 Oct 2002
Posts: 40
Location: Olesnica, Poland

PostPosted: Thu Mar 23, 2006 5:08 pm    Post subject: Reply with quote

Riekr wrote:
i'm using twm but can only get firefox working.. i can't start gedit or gnome-terminal for example.
Can anybody with a working gnome and xorg-7.0 (if any) post the output of emerge -pv xorg-x11 ?


Actually it works.. sometimes.. I start X (windowmaker), gedit first run works, second .. nope, restart X, gedit doesn't start.. and so on..

It starts hardly ever.
Back to top
View user's profile Send private message
keikoz
n00b
n00b


Joined: 14 Feb 2006
Posts: 29

PostPosted: Thu Mar 23, 2006 5:19 pm    Post subject: Reply with quote

Did somebody try to emerge libxaw ?

I noticed makiing a revdep-rebuild some packages where missing it; i can't actually emerge it (for some personal reason :-) but maybee this could be the problem.

keikoz
Back to top
View user's profile Send private message
Riekr
n00b
n00b


Joined: 21 Jun 2002
Posts: 47
Location: Italy

PostPosted: Thu Mar 23, 2006 5:22 pm    Post subject: Reply with quote

yes i have x11-libs/libXaw-1.0.1 installed but i still have the problem :(
_________________
Our continuing mission to boldly code where no one has man page 4.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4 ... 20, 21, 22  Next
Page 3 of 22

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum