> I will
> provide you with my current situation soon. I know that Ubuntu
> building is a quite no-go, but I really think I've spotted some
> valuable problems.
Removing old error logs ...
-> Removing var/adm/logs/1-ncurses.err ...
== 14:09:18 =[1]=> Building base/ncurses [5.7 8.0-trunk].
-> Reading package config: package/base/ncurses/ncurses.conf
-> Reading build/.../tools.cross/lib/pkg_ncurses_post.conf
-> Preparing build in src.ncurses.mini.20091018.140915.31263.richiter
-> Building. Writing output to $root/var/adm/logs/1-ncurses.out
!> [v] - be verbose
!> [V] - display the version number
!> @<file> - read options from <file>
!> emulation options:
!> No emulation specific options
!> x86_64-t2-linux-gnu-ar: supported targets: elf64-x86-64 elf32-i386
a.out-i386-linux pei-i386 pei-x86-64 elf64-little elf64-big
elf32-little elf32-big s ..
!> Due to previous errors, no 1-ncurses.log file!
!> (Try enabling xtrace in the config to track an error inside the
build system.)
-> $root/var/adm/logs/1-ncurses.out -> 1-ncurses.err
== 10/18/09 14:23:06 =[1]=> Aborted building package ncurses.
-> Unmounting loop mounts ...
relevant parts of the ERROR-LOG:
/home/dpc/kernel-devel/t2/t2-trunk/build/mini-8.0-trunk-generic-x86-64-core2-cross-linux/TOOLCHAIN/tools.cross/crosscc/../lib64/gcc/x86_64-t2-linux-gnu/4.3.4
/../../../../x86_64-t2-linux-gnu/bin/ld: data size 27428576
cd
/home/dpc/kernel-devel/t2/t2-trunk/build/mini-8.0-trunk-generic-x86-64-core2-cross-linux/lib64
&& (ln -s -f libncursesw.so.5.7 libncursesw.so.5; ln -s -f
libncursesw.so.5 libncursesw.so; )
x86_64-t2-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I. -I.
-I../include -D_GNU_SOURCE -DNDEBUG -O2 --param
max-inline-insns-single=1200 -c ../ncurses/./ti
nfo/init_keytry.c -o ../objects/init_keytry.o
x86_64-t2-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I. -I.
-I../include -D_GNU_SOURCE -DNDEBUG -O2 --param
max-inline-insns-single=1200 -c ../ncurses/comp
_captab.c -o ../objects/comp_captab.o
x86_64-t2-linux-gnu-ar ../lib/libncursesw.a ../objects/init_keytry.o
../objects/comp_captab.o
x86_64-t2-linux-gnu-ar: illegal option -- .
Usage: x86_64-t2-linux-gnu-ar [emulation options]
[-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file
file...
x86_64-t2-linux-gnu-ar -M [<mri-script]
commands:
d - delete file(s) from the archive
m[ab] - move file(s) in the archive
p - print file(s) found in the archive
q[f] - quick append file(s) to the archive
r[ab][f][u] - replace existing or insert new file(s) into the archive
t - display contents of archive
x[o] - extract file(s) from the archive
command specific modifiers:
[a] - put file(s) after [member-name]
[b] - put file(s) before [member-name] (same as [i])
[D] - use zero for timestamps and uids/gids
[N] - use instance [count] of name
[f] - truncate inserted file names
[P] - use full path names when matching
[o] - preserve original dates
[u] - only replace files that are newer than current archive contents
generic modifiers:
[c] - do not warn if the library had to be created
[s] - create an archive index (cf. ranlib)
[S] - do not build a symbol table
[T] - make a thin archive
[v] - be verbose
[V] - display the version number
@<file> - read options from <file>
emulation options:
No emulation specific options
x86_64-t2-linux-gnu-ar: supported targets: elf64-x86-64 elf32-i386
a.out-i386-linux pei-i386 pei-x86-64 elf64-little elf64-big
elf32-little elf32-big srec sy
mbolsrec verilog tekhex binary ihex
make[1]: *** [../lib/libncursesw.a] Error 1
make[1]: Leaving directory
`/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter/ncurses-5.7/ncurses'
make: *** [install] Error 2
Due to previous errors, no 1-ncurses.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
Created (vanished) file outside basedir (ignored): /var/tmp/cf2366
base #1: /home/dpc/kernel-devel/t2/t2-trunk
base #2:
/home/dpc/kernel-devel/t2/t2-trunk/build/mini-8.0-trunk-generic-x86-64-core2-cross-linux
gzip:
/home/dpc/kernel-devel/t2/t2-trunk/build/mini-8.0-trunk-generic-x86-64-core2-cross-linux/usr/share/man/man3/tputs.3ncurses.gz:
Too many levels of symbo
lic links
gzip:
/home/dpc/kernel-devel/t2/t2-trunk/build/mini-8.0-trunk-generic-x86-64-core2-cross-linux/usr/share/man/man1/reset.1.gz:
Too many levels of symbolic lin
ks
Searching for orphaned files ...
Also, there is something wrong with a debug facility.
r...@richiter:/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter#
ls
archdir cmd_wrapper.log debug.hooks ERROR-LOG flist.txt
flist.txt.old fl_wrapper.rlog install_wrapper.log olist.txt.new
untar.txt
build.pid debug.buildenv debug.sh files.lst flist.txt.new
flist.txt.tmp fl_wrapper.wlog ncurses-5.7 olist.txt.old
xsrcdir.txt
r...@richiter:/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter#
./debug.sh
debug-ncurses:[src.ncurses.mini.20091018.140915.31263.richiter]# cd ncurses-5.7/
debug-ncurses:[ncurses-5.7]# echo $makeopt
CC="$CC" CPP="$CPP" CXX="$CXX" prefix="/$prefix" docdir="$docdir"
CC_FOR_BUILD="$BUILDCC" BUILDCC="$BUILDCC" BUILD_CC="$BUILD_CC"
HOSTCC="$HOSTCC" HOST_CC="$HOST_CC" STRIP="$STRIP" AR="$AR" LD="$LD"
AS="$AS" RANLIB="$RANLIB" NM="$NM" AR_OPTS=rv
debug-ncurses:[ncurses-5.7]# make $makeopt
cd man && make DESTDIR="" all
make[1]: Entering directory
`/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter/ncurses-5.7/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter/ncurses-5.7/man'
cd include && make DESTDIR="" all
make[1]: Entering directory
`/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter/ncurses-5.7/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter/ncurses-5.7/include'
cd ncurses && make DESTDIR="" all
make[1]: Entering directory
`/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter/ncurses-5.7/ncurses'
"C" -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE
-DNDEBUG -O2 --param max-inline-insns-single=1200 -fPIC -c
../ncurses/./tinfo/init_keytry.c -o ../obj_s/init_keytry.o
/bin/sh: C: command not found
make[1]: *** [../obj_s/init_keytry.o] Error 127
make[1]: Leaving directory
`/home/dpc/kernel-devel/t2/t2-trunk/src.ncurses.mini.20091018.140915.31263.richiter/ncurses-5.7/ncurses'
make: *** [all] Error 2
Where does this "C" come from is beyond me.
I use bash:
# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2009-09-14 19:39 /bin/sh -> bash
Any ideas?
Regards,
Dawid
--
Dawid Ciężarkiewicz
http://dpc.ucore.info
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2