View previous topic :: View next topic |
Author |
Message |
imotlaw n00b
Joined: 25 May 2005 Posts: 38 Location: Washington DC Area
|
Posted: Wed Oct 31, 2007 4:24 am Post subject: SOLVED : Ultra 5 emerge -e system fails on kbd-1.13-r1 |
|
|
Hey all. I tried posting this earlier in Portage & Programming, and no one there had any ideas (or they did and just didn't tell me ). If the solution would take just as long to complete as simply starting from a clean slate, let me know, but I'd just hate to use the standard MS method of fixing problems if I don't have to.
I'm trying to update a sparc Ultra5 that's been off since around July 2006. I've changed the profile to 2007.0 and gone through the gcc updrade (from 3.3.5 to 4.1.2, emerge -e version) up to the point of "emerge -e system". There the emerge dies on kbd-1.13-r1. I'm posting the kbd emerge log (it's shortish) and my emerge --info below; things might be screwy b/c of the update-in-progress and the fact that this machine is also moving from keyword ~sparc to simply sparc.
The kbd log:
Code: |
>>> Unpacking kbd-1.13.tar.bz2 to /var/tmp/portage/sys-apps/kbd-1.13-r1/work
* Applying kbd-1.13-dont-use-error.patch ...
[ ok ]
* Applying kbd-1.12-configure-LANG.patch ...
[ ok ]
* Applying kbd-1.12-unimap.patch ...
[ ok ]
* Applying kbd-1.12-cz-qwerty-map.patch ...
[ ok ]
* Applying kbd-1.12-jp-escape.patch ...
[ ok ]
* Applying kbd-1.12-xcompile.patch ...
[ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/kbd-1.13-r1/work/kbd-1.13 ...
Configuring for PREFIX=/usr
Configuring for DATADIR=/usr/share
Configuring for MANDIR=/usr/share/man
checking for gcc
gcc is /usr/bin/gcc
You have <locale.h>
NLS disabled
Done. You can run make now.
for i in src openvt po data; do make -C $i all || exit 1; done
make[1]: Entering directory `/var/tmp/portage/sys-apps/kbd-1.13-r1/work/kbd-1.13/src'
sparc-unknown-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -mcpu=ultrasparc -O2 -pipe -Wall -DDATADIR=
\"/usr/share\" dumpkeys.c
dumpkeys.c: In function 'dump_funcs':
dumpkeys.c:533: warning: pointer targets in assignment differ in signedness
sparc-unknown-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -mcpu=ultrasparc -O2 -pipe -Wall -DDATADIR=
\"/usr/share\" ksyms.c
sparc-unknown-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -mcpu=ultrasparc -O2 -pipe -Wall -DDATADIR=
\"/usr/share\" xmalloc.c
sparc-unknown-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -mcpu=ultrasparc -O2 -pipe -Wall -DDATADIR=
\"/usr/share\" getfd.c
sparc-unknown-linux-gnu-gcc dumpkeys.o ksyms.o xmalloc.o getfd.o -o dumpkeys
bison -y loadkeys.y
mv -f y.tab.c loadkeys.c
flex -8 -t analyze.l > analyze.c
sparc-unknown-linux-gnu-gcc -c -O2 -mcpu=ultrasparc -O2 -pipe -Wall -DDATADIR=\"/usr/share\" loadkeys.c
In file included from /usr/include/asm/bitops.h:4,
from /usr/include/linux/bitops.h:77,
from /usr/include/linux/thread_info.h:20,
from /usr/include/asm-sparc/system.h:10,
from /usr/include/asm/system.h:4,
from /usr/include/linux/list.h:6,
from /usr/include/linux/wait.h:21,
from /usr/include/linux/keyboard.h:20,
from loadkeys.y:22:
/usr/include/asm-sparc/bitops.h:288: error: static declaration of 'ffs' follows non-static declaration
loadkeys.y: In function 'yyparse':
loadkeys.y:108: warning: pointer targets in passing argument 1 of 'set_charset' differ in signedness
loadkeys.y:123: warning: pointer targets in passing argument 1 of 'compose_as_usual' differ in signedness
In file included from loadkeys.y:245:
analyze.l: In function 'yylex':
analyze.l:120: warning: pointer targets in assignment differ in signedness
loadkeys.y: At top level:
loadkeys.y:276: warning: first argument of 'main' should be 'int'
loadkeys.y: In function 'addfunc':
loadkeys.y:761: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
loadkeys.y:772: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
loadkeys.y: In function 'deffuncs':
loadkeys.y:931: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
loadkeys.y:934: warning: pointer targets in passing argument 1 of 'ostr' differ in signedness
loadkeys.y: In function 'loadkeys':
loadkeys.y:1030: warning: passing argument 3 of 'defkeys' from incompatible pointer type
loadkeys.y: In function 'strings_as_usual':
loadkeys.y:1069: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness
loadkeys.y: In function 'mktable':
loadkeys.y:1221: warning: pointer targets in assignment differ in signedness
make[1]: *** [loadkeys.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/kbd-1.13-r1/work/kbd-1.13/src'
make: *** [all] Error 1
*
* ERROR: sys-apps/kbd-1.13-r1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* kbd-1.13-r1.ebuild, line 65: Called die
*
* emake failed
|
and the emerge --info:
Code: |
Portage 2.1.3.9 (default-linux/sparc/sparc64/2007.0/desktop, gcc-4.1.2, glibc-2.3.6-r5, 2.6.17-gentoo-r8 sparc64)
=================================================================
System uname: 2.6.17-gentoo-r8 sparc64 sun4u
Timestamp of tree: Mon, 22 Oct 2007 22:00:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.5-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.11-r6
ACCEPT_KEYWORDS="sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-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/con
fig /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/acroread-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 arts bitmap-fonts bzip2 cairo cdr cli cracklib cups dbus dri dvd dvdr dvdread emboss encode esd ethereal
evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kerberos ldap mad midi mikmod mp3 mpeg mudflap
mysql no-suexec nptl nptlonly nsplugin ogg opengl openmp oss pcre pdf php png ppds pppd python qt qt3 qt4 quicktime reflecti
on sdl session sparc spell spl svg tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv" ALSA_PCM_PLUGINS="adp
cm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug
rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz63
3 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev mach64"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTA
GE_RSYNC_EXTRA_OPTS
|
Any ideas?
EDITED TO FIX A BADLY DONE LINK
Last edited by imotlaw on Mon Nov 05, 2007 11:24 pm; edited 1 time in total |
|
Back to top |
|
|
imotlaw n00b
Joined: 25 May 2005 Posts: 38 Location: Washington DC Area
|
Posted: Mon Nov 05, 2007 11:23 pm Post subject: |
|
|
So, I solved it. Was getting ready to use my x86 and distcc to reinstall entirely (compiling on the Ultra 5 is faster than waiting for glaciers to melt, but only because glaciers seem to be melting so quickly these days), when I noticed that my my glibc was ancient; apparently "emerge -e system" runs in the wrong order or something. I found the post about hielvc's emwrap.sh, but the link was down (then it was up, now it's down again)...anyway, his first page gave an idea of how to compile in the correct order (which, for example, involves updating/emerging glibc before kbd), I did, and *voila* kbd emerges. Watching the rest of the system (and then world) emerge now. |
|
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
|
|