Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135742 - emerge x11-apps/xmodmap-1.0.1 fails on x86, ppc
Summary: emerge x11-apps/xmodmap-1.0.1 fails on x86, ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 135744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-06 03:05 UTC by Markus Tacker
Modified: 2006-07-16 10:04 UTC (History)
1 user (show)

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


Attachments
Buidl error (build-error.txt,20.06 KB, text/plain)
2006-06-06 03:35 UTC, Markus Tacker
Details
error of emerge xmodmap-1.0.1 (xmodmap.failure.txt,20.16 KB, text/plain)
2006-06-15 14:00 UTC, Stephan Hässelbarth
Details
Error ouput of emerge x11-libs/libX11-1.0.1after remerging kbproto (libX11-failure.txt,12.29 KB, text/plain)
2006-06-19 10:59 UTC, Stephan Hässelbarth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Tacker 2006-06-06 03:05:41 UTC
emerge --info
Portage 2.1_rc4-r2 (default-linux/ppc/2005.1/ppc/G3, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r1 ppc)
=================================================================
System uname: 2.6.15-gentoo-r1 ppc 740/750
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=750 -O2 -pipe -fno-strict-aliasing -mpowerpc-gfxopt -mtune=powerpc"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=750 -O2 -pipe -fno-strict-aliasing -mpowerpc-gfxopt -mtune=powerpc"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://krotok/gentoo-portage/"
USE="ppc X aac arts artswrappersuid berkdb bitmap-fonts browserplugin cli crypt dri dv dvd dvdread eds emboss esd fortran gif gpm gstreamer gtk gtk2 hal ieee1394 isdnlog jpeg kde kdeenablefinal libwww motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png pppd python qt readline reflection samba session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis xml2 xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_r128 video_cards_ati video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-06 03:16:32 UTC
*** Bug 135744 has been marked as a duplicate of this bug. ***
Comment 2 Markus Tacker 2006-06-06 03:35:27 UTC
Created attachment 88505 [details]
Buidl error
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-06 08:08:51 UTC
I'm sorry, I do not read German. Please reproduce the build error using LANG="C" or similar.
Comment 4 Markus Tacker 2006-06-06 09:44:10 UTC
Hm, this doesnt give me english error messages.
LANG="en_US" also not.

Any other ideas?
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-06 10:13:31 UTC
Try LC_ALL instead of LANG.
Comment 6 Markus Tacker 2006-06-11 02:33:39 UTC
(In reply to comment #5)
> Try LC_ALL instead of LANG.
> 

I tried LOCALE, LC_ALL, LANG to no avail also i have en_US and en_US.utf8 installed.
Comment 7 Stephan Hässelbarth 2006-06-15 14:00:21 UTC
Created attachment 89269 [details]
error of emerge xmodmap-1.0.1

This is the error output in english. I compared it to the german version - it is almost the same. I don't need to say, that I receive the same error, do I? :-)
Comment 8 Stephan Hässelbarth 2006-06-15 14:01:57 UTC
Oh, but I forgot to say, that I am running the x86 architecture.
Kind Regards, Stephan
Comment 9 Markus Tacker 2006-06-17 04:28:48 UTC
Any news on this? The bug prevents xorg-x11 7 to be build on my system.
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2006-06-17 08:06:08 UTC
  exec.c:62:21: X11/Xos.h: No such file or directory
  exec.c:63:22: X11/Xlib.h: No such file or directory

Re-merge x11-proto/xproto.
Comment 11 Markus Tacker 2006-06-17 08:32:11 UTC
(In reply to comment #10)
>   exec.c:62:21: X11/Xos.h: No such file or directory
>   exec.c:63:22: X11/Xlib.h: No such file or directory
> 
> Re-merge x11-proto/xproto.

Hm, this doesnt fix the missing X11/Xlib.h.
Comment 12 Joshua Baergen (RETIRED) gentoo-dev 2006-06-17 08:35:14 UTC
(In reply to comment #11)
> 
> Hm, this doesnt fix the missing X11/Xlib.h.
> 

Ah, my apologies.

equery b Xlib.h
[ Searching for file(s) Xlib.h in *... ]
x11-libs/libX11-1.0.1 (/usr/include/X11/Xlib.h)

Re-merge libX11 for that one.
Comment 13 Stephan Hässelbarth 2006-06-17 16:34:51 UTC
Unfortunately, the installation of libX11 aborts as well. I filed bug #137126 about this.
Comment 14 Joshua Baergen (RETIRED) gentoo-dev 2006-06-18 09:06:04 UTC
(In reply to comment #13)
> Unfortunately, the installation of libX11 aborts as well. I filed bug #137126
> about this.
> 

Did you try what was suggested there?
Comment 15 Stephan Hässelbarth 2006-06-19 10:58:07 UTC
(In reply to comment #14)
> Did you try what was suggested there?

Yes. But emerging libX11 failed again, producing the output attached.

Comment 16 Stephan Hässelbarth 2006-06-19 10:59:25 UTC
Created attachment 89546 [details]
Error ouput of emerge x11-libs/libX11-1.0.1after remerging kbproto

Thanks for your attention and time, so far.

--Stephan
Comment 17 Joshua Baergen (RETIRED) gentoo-dev 2006-06-19 20:31:19 UTC
Is this a fresh install of X, or did you have 6.8 or 6.9 installed before?  If so, did you follow the migration guide?

Also, do you have any files in /usr/local/include/X11?
Comment 18 Markus Tacker 2006-06-20 03:31:40 UTC
(In reply to comment #17)
> Is this a fresh install of X, or did you have 6.8 or 6.9 installed before?  If
> so, did you follow the migration guide?

6.? was installed before. I did follow the migration guide and already had xorg 7 working. 

> Also, do you have any files in /usr/local/include/X11?

No. The directory does not exist.

I am still rebuilding the required protos one by one when emerge x11-libs/libX11 quits on another missing header file. So far i remerged

x11-proto/xproto-7.0.5
x11-proto/kbproto-1.0.2
x11-proto/inputproto-1.3.2
x11-libs/libXau-1.0.1
x11-libs/libXdmcp-1.0.1
x11-proto/xf86bigfontproto-1.1.2
Comment 19 Stephan Hässelbarth 2006-06-20 03:33:35 UTC
I had installed version 6.8.2-r7 before. I built a package from this installation, unmerged it and tried to install x11-xorg-7.x. After it failed, I installed the binary package again. Yes, I followed the migration guide. The directory /usr/local/include/X11 doesn't even exist on my machine...
Comment 20 Stephan Hässelbarth 2006-06-29 06:20:18 UTC
Do we have any solution for this by now? On almost *every* emerge -auv world <=base-x11/xorg-x11-6.9 blocks the installation of the modular xorg-x11. And this is obviously a (optional) dependency of nearly every packages I want to install. I am forced to perform an emerge --update --nodeps <package> manually.

Removing the modular xorg-x11-packages from /etc/portage/package.keywords makes portage complain about masked packages and hence is no solution to this issue.

I would stay with xorg-x11-6.8.*, but it seems, I can't avoid updating it, although xorg-x11-7.* is still masked testing.
Comment 21 Stephan Hässelbarth 2006-07-15 05:38:15 UTC
I spent another two hours on this. Again, I followed the Modular Xorg Migration Guide. When it failed again with the same error as reported, I caught the emerge order:

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

Calculating dependencies  ... done!
[ebuild  N    ] x11-proto/xextproto-7.0.2  USE="-debug" 
[ebuild  N    ] x11-proto/xf86bigfontproto-1.1.2  USE="-debug" 
[ebuild  N    ] x11-proto/inputproto-1.3.2  USE="-debug" 
[ebuild  N    ] x11-proto/xproto-7.0.7  USE="-debug" 
[ebuild  N    ] x11-libs/libXau-1.0.1  USE="-debug" 
[ebuild  N    ] x11-libs/xtrans-1.0.1  USE="-debug" 
[ebuild  N    ] x11-proto/bigreqsproto-1.0.2  USE="-debug" 
[ebuild  N    ] x11-libs/libXdmcp-1.0.1  USE="-debug" 
[ebuild  N    ] x11-proto/xcmiscproto-1.1.2  USE="-debug" 
[ebuild  N    ] x11-libs/libX11-1.0.3  USE="ipv6 -debug" 
[ebuild  N    ] x11-apps/xmodmap-1.0.1  USE="-debug" 
[ebuild  N    ] media-fonts/font-bh-type1-1.0.0  
[ebuild  N    ] x11-libs/libSM-1.0.1  USE="ipv6 -debug" 
[ebuild  N    ] x11-libs/libXfixes-4.0.1  USE="-debug" 
[ebuild  N    ] x11-libs/libXdamage-1.0.3  USE="-debug" 
[ebuild  N    ] x11-libs/libXxf86dga-1.0.1  USE="-debug" 
[ebuild  N    ] x11-libs/libXScrnSaver-1.1.0  USE="-debug" 
[ebuild  N    ] x11-libs/libxkbfile-1.0.3  USE="-debug" 
[ebuild  N    ] x11-libs/libxkbui-1.0.2  USE="-debug" 
[ebuild  N    ] media-libs/mesa-6.5-r3  USE="motif nptl -debug -doc -hardened" VIDEO_CARDS="-i810 -mach64 -mga -none -r128 -radeon -s3virge -savage -sis -tdfx -trident -via" 
[ebuild  N    ] x11-base/xorg-server-1.1.1  USE="dri ipv6 nptl sdl xorg -3dfx -debug -dmx -kdrive -minimal -xprint" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev vesa -apm -ark -chips -cirrus -cyrix -dummy -epson -glint -i128 -i740 -i810 -imstt -mach64 -mga -neomagic -nsc -nv -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo" 
[ebuild  N    ] x11-drivers/xf86-video-vesa-1.2.1  USE="-debug" 
[ebuild  N    ] x11-drivers/xf86-video-fbdev-0.3.0  USE="-debug" 
[ebuild  N    ] x11-drivers/xf86-input-mouse-1.1.1  USE="-debug" 
[ebuild  N    ] x11-drivers/xf86-input-keyboard-1.1.0  USE="-debug" 
[ebuild  N    ] x11-libs/libXrandr-1.1.1  USE="-debug" 
[ebuild  N    ] x11-apps/xrandr-1.0.2  USE="-debug" 
[ebuild  N    ] virtual/glu-7.0  
[ebuild  N    ] virtual/opengl-7.0  
[ebuild  N    ] x11-apps/mesa-progs-6.5  
[ebuild  N    ] media-fonts/font-adobe-utopia-type1-1.0.1  
[ebuild  N    ] x11-libs/libXcursor-1.1.7  USE="-debug" 
[ebuild  N    ] app-doc/xorg-docs-1.2  USE="-debug -doc" 
[ebuild  N    ] x11-apps/xhost-1.0.1  USE="ipv6 -debug" 
[ebuild  N    ] x11-base/xorg-x11-7.1 

The error reported was a libX11 complaining about xkb not installed, being the packages libxkbfile and / or libxkbui. As you can see, both packages would be emerged AFTER libX11, so it is obvious, that this one can't find them. Same goes for xmodmap. On the other hand, all keyboard related packages rely on libX11 being present, but libX11 can't be installed without the keyboard packages. So, how can we resolve this?
Comment 22 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-15 09:51:45 UTC
The libraries aren't required for libX11, just the proto's.

XKBPROTO_REQUIRES="kbproto inputproto"
PKG_CHECK_MODULES(XKBPROTO, $XKBPROTO_REQUIRES)
Comment 23 Stephan Hässelbarth 2006-07-15 14:58:06 UTC
I finally got it done by performing an "emerge --emptytree xorg-x11". Aditionally, caused by the confusion before and the lots of emerging/unmerging processes, the libraries got really messed up. Of course, I ran into the blocking of the recent versions of >=xorg-server-1.0.99 with the graphics drivers, but I could navigate around that by downgrading xorg-server, xf86-input-mouse and xf86-input-keyboard to version prior to 1.1.x.

On a side note, I couldn't start X with the kernel module provided by the new nvidia-drivers ebuild, I have to use nvidia-kernel and nvidia-glx. Besides from that, I think the bug can be marked as RESOLVED, when Markus doesn't have any issues on this anymore.
Comment 24 Joshua Baergen (RETIRED) gentoo-dev 2006-07-16 09:28:54 UTC
Yeah, emerge -e seems to fix it 99% of the time.  Markus, please run 'emerge -e xorg-x11' as well.
Comment 25 Markus Tacker 2006-07-16 09:41:30 UTC
(In reply to comment #24)
> Markus, please run 'emerge -e
> xorg-x11' as well.

It's already fixed. I could fix this with the method described in #18.
Comment 26 Joshua Baergen (RETIRED) gentoo-dev 2006-07-16 10:04:18 UTC
Alright, good to hear.