View previous topic :: View next topic |
Author |
Message |
cac n00b
Joined: 05 Jun 2006 Posts: 29 Location: Columbus, Ohio
|
Posted: Thu Aug 24, 2006 12:59 pm Post subject: [Solved] Migrating to modular X fails emerging libX11-1.0.3 |
|
|
When compiling libX11 if fails with:
Code: | if /bin/sh ../../libtool --tag=CC --mode=compile sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include/X11 -I../../include -I../../include/X11 -I../../include -I../../include/X11 -I../../src/xcms -I../../src/xkb -I../../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHASXDMAUTH -D_BSD_SOURCE -DMALLOC_0_RETURNS_NULL -mtune=ultrasparc -Os -fomit-frame-pointer -pipe -MT XKBExtDev.lo -MD -MP -MF ".deps/XKBExtDev.Tpo" -c -o XKBExtDev.lo XKBExtDev.c; \
then mv -f ".deps/XKBExtDev.Tpo" ".deps/XKBExtDev.Plo"; else rm -f ".deps/XKBExtDev.Tpo"; exit 1; fi
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include/X11 -I../../include -I../../include/X11 -I../../include -I../../include/X11 -I../../src/xcms -I../../src/xkb -I../../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHASXDMAUTH -D_BSD_SOURCE -DMALLOC_0_RETURNS_NULL -mtune=ultrasparc -Os -fomit-frame-pointer -pipe -MT XKBSetGeom.lo -MD -MP -MF .deps/XKBSetGeom.Tpo -c XKBSetGeom.c -o XKBSetGeom.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include/X11 -I../../include -I../../include/X11 -I../../include -I../../include/X11 -I../../src/xcms -I../../src/xkb -I../../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHASXDMAUTH -D_BSD_SOURCE -DMALLOC_0_RETURNS_NULL -mtune=ultrasparc -Os -fomit-frame-pointer -pipe -MT XKBList.lo -MD -MP -MF ".deps/XKBList.Tpo" -c -o XKBList.lo XKBList.c; \
then mv -f ".deps/XKBList.Tpo" ".deps/XKBList.Plo"; else rm -f ".deps/XKBList.Tpo"; exit 1; fi
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include/X11 -I../../include -I../../include/X11 -I../../include -I../../include/X11 -I../../src/xcms -I../../src/xkb -I../../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DHASXDMAUTH -D_BSD_SOURCE -DMALLOC_0_RETURNS_NULL -mtune=ultrasparc -Os -fomit-frame-pointer -pipe -MT XKBExtDev.lo -MD -MP -MF .deps/XKBExtDev.Tpo -c XKBExtDev.c -fPIC -DPIC -o .libs/XKBExtDev.o
XKBExtDev.c:39:31: X11/extensions/XI.h: No such file or directory
XKBExtDev.c: In function `_InitLedStuff':
XKBExtDev.c:445: error: `KbdFeedbackClass' undeclared (first use in this function)
XKBExtDev.c:445: error: (Each undeclared identifier is reported only once
XKBExtDev.c:445: error: for each function it appears in.)
XKBExtDev.c:450: error: `LedFeedbackClass' undeclared (first use in this function)
XKBExtDev.c: In function `_SizeMatches':
XKBExtDev.c:513: error: `KbdFeedbackClass' undeclared (first use in this function)
XKBExtDev.c: In function `_XkbSetDeviceInfoSize':
XKBExtDev.c:555: error: `KbdFeedbackClass' undeclared (first use in this function)
XKBExtDev.c:555: error: `LedFeedbackClass' undeclared (first use in this function)
make[3]: *** [XKBExtDev.lo] Error 1 |
This is running on a SunBlade 100. emerge --info reports:
Code: | Portage 2.1-r2 (default-linux/sparc/sparc64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 sparc64)
=================================================================
System uname: 2.6.16-gentoo-r9 sparc64 sun4u
Gentoo Base System version 1.6.14
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
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-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r6
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=ultrasparc -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://XXXXX.XXXXX.lucent.com/mirrors/gentoo/ http://gentoo.osuosl.org/ "
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="sparc X alsa apache2 arts avi berkdb bitmap-fonts bzip2 cli crypt cups dba dbus dlloader dri eds encode esd fbcon foomaticdb fortran gcc64 gd gdbm gif gnome gstreamer gtk2 hal imlib isdnlog jpeg kde libwww mad mikmod motif mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 readline reflection samba sdl session spell spl ssl syslog tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_mach64 video_cards_sunffb"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS |
Any ideas? Wasn't able to find any posts about this on the forums. TIA
-Chris
Last edited by cac on Sat Aug 26, 2006 12:07 pm; edited 1 time in total |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Thu Aug 24, 2006 5:16 pm Post subject: |
|
|
For some reason, portage thinks you have some packages installed which have been removed. In this case, you are missing
x11-proto/inputproto (/usr/include/X11/extensions/XI.h)
If you look at the ebuild for libX11-1.0.3, you will see that x11-proto/inputproto is a DEPEND for libX11, and portage thinks you have it installed, but you don't. One way to get to such a state is to start building pieces of X-modular, then somehow do (the equivalent of)
emerge -C =x11-base/xorg-x11-6.8.2-r8
which as a side effect can remove files which belong to X-modular.
You can try to force it by looking at the dependencies for libX11, and merging them all by hand (especially the x11-proto/xxx ones, which are just header files). Or, you can try
emerge -pv =x11-base/xorg-x11-6.8.2-r8
Any blockers, such as:
[blocks B ] x11-proto/inputproto (is blocking x11-base/xorg-x11-6.8.2-r8 )
are most likely pieces of X-modular which portage thinks you have installed. You should be able to build each such piece by hand.
Hope this gives you some ideas.
Regards, |
|
Back to top |
|
|
cac n00b
Joined: 05 Jun 2006 Posts: 29 Location: Columbus, Ohio
|
Posted: Fri Aug 25, 2006 12:38 pm Post subject: |
|
|
Thanks Ferris! This definitely seems to be what is going on:
Code: | sparcy portage # equery list x11-proto/inputproto
[ Searching for package 'inputproto' in 'x11-proto' among: ]
* installed packages
[I--] [ ] x11-proto/inputproto-1.3.2 (0)
sparcy portage #
|
Not sure exactly how this happen, other than I had looked into migrating earlier, but decided to hold off until modular began stable on sparc. I must have went a little too far in some areas. I unmerged X11-proto/inputproto and then remerge xorg which should fix it. Which it did, but failed on another file, Xdmcp.h, so I am unmerging x11-libs/libXdmcp. Probably going to have to do this several times to clear this out.
Thanks again,
-Chris |
|
Back to top |
|
|
|
|
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
|
|