Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] sqlite ebuild - my problem, i have half year ago, is still here.
Date: Sat, 24 Feb 2007 16:30:00
Message-Id: 1172334521.24340.3.camel@here.linbsd.net
In Reply to: [gentoo-embedded] sqlite ebuild - my problem, i have half year ago, is still here. by Jakub Ladman
1 Not sure why it does not build for you on sh but it builds for me in my
2 uClibc test env. Maybe try this the same version.
3
4
5 [ebuild R ] dev-db/sqlite-3.3.12 USE="-debug -doc -nothreadsafe
6 -tcl -test" 0 kB
7
8 uClibc local # qlist -o dev-db/sqlite-3.3.12 | scanelf -f - -LniB
9 ET_DYN /lib/libpthread.so.0,/lib/libc.so.0 /usr/lib/libsqlite3.so.0.8.6
10 ET_DYN /usr/lib/libsqlite3.so.0,/lib/libpthread.so.0,/lib/libreadline.so.5,/lib/libc.so.0 /lib/ld-uClibc.so.0 /usr/bin/sqlite3
11 ET_DYN /lib/libc.so.0 /lib/ld-uClibc.so.0 /usr/bin/lemon-3
12
13
14 On Sat, 2007-02-24 at 12:50 +0100, Jakub Ladman wrote:
15 > Hi Friends
16 > Please help me
17 > This ebulid (every version i have) cannot be built for my embedded system.
18 > I have reported this problem both here and in gentoo bugzilla, but it is half
19 > year and nothing has changed.
20 >
21 > (an try to build it from sources manually ends alike)
22 >
23 > Thank you
24 > Jakub Ladman
25 >
26 > >>> Emerging (1 of 1) dev-db/sqlite-3.3.5-r1 to /home/ladmanj/src/sh4fs/
27 > * sqlite-3.3.5.tar.gz MD5 ;-) ... [
28 > ok ]
29 > * sqlite-3.3.5.tar.gz RMD160 ;-) ... [
30 > ok ]
31 > * sqlite-3.3.5.tar.gz SHA1 ;-) ... [
32 > ok ]
33 > * sqlite-3.3.5.tar.gz SHA256 ;-) ... [
34 > ok ]
35 > * sqlite-3.3.5.tar.gz size ;-) ... [
36 > ok ]
37 > * checking ebuild checksums ;-) ... [
38 > ok ]
39 > * checking auxfile checksums ;-) ... [
40 > ok ]
41 > * checking miscfile checksums ;-) ... [
42 > ok ]
43 > * checking sqlite-3.3.5.tar.gz ;-) ... [
44 > ok ]
45 > >>> Unpacking source...
46 > >>> Unpacking sqlite-3.3.5.tar.gz
47 > to /var/tmp/portage/dev-db/sqlite-3.3.5-r1/work
48 > * Applying sqlite-3.3.3-tcl-fix.patch ... [
49 > ok ]
50 > * Applying sqlite-3-test-fix-3.3.4.patch ... [
51 > ok ]
52 > * Applying sandbox-fix1.patch ... [
53 > ok ]
54 > * Applying sandbox-fix2.patch ... [
55 > ok ]
56 > * Applying sqlite-64bit-test-fix.patch ... [
57 > ok ]
58 > * Applying sqlite-64bit-test-fix2.patch ... [
59 > ok ]
60 > * Removing useless C++ checks ... [
61 > ok ]
62 > >>> Source unpacked.
63 > >>> Compiling source
64 > in /var/tmp/portage/dev-db/sqlite-3.3.5-r1/work/sqlite-3.3.5 ...
65 > * econf: updating sqlite-3.3.5/config.guess
66 > with /usr/share/gnuconfig/config.guess
67 > * econf: updating sqlite-3.3.5/config.sub
68 > with /usr/share/gnuconfig/config.sub
69 > ./configure --prefix=/usr --host=sh4-pc-linux-uclibc --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-incore-db --enable-tempdb-in-ram --enable-cross-thread-connections --enable-threadsafe --disable-tcl --target=sh4-pc-linux-uclibc --build=i686-pc-linux-gnu
70 > checking build system type... i686-pc-linux-gnu
71 > checking host system type... sh4-pc-linux-uclibc
72 > checking for sh4-pc-linux-uclibc-gcc... sh4-pc-linux-uclibc-gcc
73 > checking for C compiler default output file name... a.out
74 > checking whether the C compiler works... yes
75 > checking whether we are cross compiling... yes
76 > checking for suffix of executables...
77 > checking for suffix of object files... o
78 > checking whether we are using the GNU C compiler... yes
79 > checking whether sh4-pc-linux-uclibc-gcc accepts -g... yes
80 > checking for sh4-pc-linux-uclibc-gcc option to accept ANSI C... none needed
81 > checking for a sed that does not truncate output... /bin/sed
82 > checking for egrep... grep -E
83 > checking for ld used by sh4-pc-linux-uclibc-gcc... sh4-pc-linux-uclibc-ld
84 > checking if the linker (sh4-pc-linux-uclibc-ld) is GNU ld... yes
85 > checking for sh4-pc-linux-uclibc-ld option to reload object files... -r
86 > checking for BSD-compatible nm... /usr/bin/sh4-pc-linux-uclibc-nm -B
87 > checking whether ln -s works... yes
88 > checking how to recognise dependent libraries... pass_all
89 > checking how to run the C preprocessor... sh4-pc-linux-uclibc-gcc -E
90 > checking for ANSI C header files... yes
91 > checking for sys/types.h... yes
92 > checking for sys/stat.h... yes
93 > checking for stdlib.h... yes
94 > checking for string.h... yes
95 > checking for memory.h... yes
96 > checking for strings.h... yes
97 > checking for inttypes.h... yes
98 > checking for stdint.h... yes
99 > checking for unistd.h... yes
100 > checking dlfcn.h usability... yes
101 > checking dlfcn.h presence... yes
102 > checking for dlfcn.h... yes
103 > checking for sh4-pc-linux-uclibc-g++... sh4-pc-linux-uclibc-g++
104 > checking whether we are using the GNU C++ compiler... yes
105 > checking whether sh4-pc-linux-uclibc-g++ accepts -g... yes
106 > checking how to run the C++ preprocessor... sh4-pc-linux-uclibc-g++ -E
107 > checking for sh4-pc-linux-uclibc-g77... sh4-pc-linux-uclibc-g77
108 > checking whether we are using the GNU Fortran 77 compiler... yes
109 > checking whether sh4-pc-linux-uclibc-g77 accepts -g... yes
110 > checking the maximum length of command line arguments... 32768
111 > checking command to parse /usr/bin/sh4-pc-linux-uclibc-nm -B output from
112 > sh4-pc-linux-uclibc-gcc object... ok
113 > checking for objdir... .libs
114 > checking for sh4-pc-linux-uclibc-ar... sh4-pc-linux-uclibc-ar
115 > checking for sh4-pc-linux-uclibc-ranlib... sh4-pc-linux-uclibc-ranlib
116 > checking for sh4-pc-linux-uclibc-strip... sh4-pc-linux-uclibc-strip
117 > checking if sh4-pc-linux-uclibc-gcc static flag works... yes
118 > checking if sh4-pc-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
119 > checking for sh4-pc-linux-uclibc-gcc option to produce PIC... -fPIC
120 > checking if sh4-pc-linux-uclibc-gcc PIC flag -fPIC works... yes
121 > checking if sh4-pc-linux-uclibc-gcc supports -c -o file.o... yes
122 > checking whether the sh4-pc-linux-uclibc-gcc linker (sh4-pc-linux-uclibc-ld)
123 > supports shared libraries... yes
124 > checking whether -lc should be explicitly linked in... no
125 > checking dynamic linker characteristics... GNU/Linux ld.so
126 > checking how to hardcode library paths into programs... immediate
127 > checking whether stripping libraries is possible... yes
128 > checking if libtool supports shared libraries... yes
129 > checking whether to build shared libraries... yes
130 > checking whether to build static libraries... yes
131 > configure: creating libtool
132 > appending configuration tag "CXX" to libtool
133 > checking for ld used by sh4-pc-linux-uclibc-g++... sh4-pc-linux-uclibc-ld
134 > checking if the linker (sh4-pc-linux-uclibc-ld) is GNU ld... yes
135 > checking whether the sh4-pc-linux-uclibc-g++ linker (sh4-pc-linux-uclibc-ld)
136 > supports shared libraries... yes
137 > checking for sh4-pc-linux-uclibc-g++ option to produce PIC... -fPIC
138 > checking if sh4-pc-linux-uclibc-g++ PIC flag -fPIC works... yes
139 > checking if sh4-pc-linux-uclibc-g++ supports -c -o file.o... yes
140 > checking whether the sh4-pc-linux-uclibc-g++ linker (sh4-pc-linux-uclibc-ld)
141 > supports shared libraries... yes
142 > checking dynamic linker characteristics... GNU/Linux ld.so
143 > checking how to hardcode library paths into programs... immediate
144 > checking whether stripping libraries is possible... yes
145 > appending configuration tag "F77" to libtool
146 > checking if libtool supports shared libraries... yes
147 > checking whether to build shared libraries... yes
148 > checking whether to build static libraries... yes
149 > checking for sh4-pc-linux-uclibc-g77 option to produce PIC... -fPIC
150 > checking if sh4-pc-linux-uclibc-g77 PIC flag -fPIC works... yes
151 > checking if sh4-pc-linux-uclibc-g77 supports -c -o file.o... yes
152 > checking whether the sh4-pc-linux-uclibc-g77 linker (sh4-pc-linux-uclibc-ld)
153 > supports shared libraries... yes
154 > checking dynamic linker characteristics... GNU/Linux ld.so
155 > checking how to hardcode library paths into programs... immediate
156 > checking whether stripping libraries is possible... yes
157 > checking for a BSD-compatible install... /bin/install -c
158 > checking for gawk... gawk
159 > Version set to 3.3
160 > Release set to 3.3.5
161 > Version number set to 3003005
162 > checking for sh4-pc-linux-uclibc-gcc... (cached) sh4-pc-linux-uclibc-gcc
163 > checking whether we are using the GNU C compiler... (cached) yes
164 > checking whether sh4-pc-linux-uclibc-gcc accepts -g... (cached) yes
165 > checking for sh4-pc-linux-uclibc-gcc option to accept ANSI C... (cached) none
166 > needed
167 > configure: error: unable to find a compiler for building build tools
168 >
169 > !!! Please attach the following file when filing a report to bugs.gentoo.org:
170 > !!! /var/tmp/portage/dev-db/sqlite-3.3.5-r1/work/sqlite-3.3.5/config.log
171 >
172 > !!! ERROR: dev-db/sqlite-3.3.5-r1 failed.
173 > Call stack:
174 > ebuild.sh, line 1614: Called dyn_compile
175 > ebuild.sh, line 971: Called qa_call 'src_compile'
176 > environment, line 3065: Called src_compile
177 > sqlite-3.3.5-r1.ebuild, line 70: Called
178 > econf '--enable-incore-db' '--enable-tempdb-in-ram' '--enable-cross-thread-connections' '--enable-threadsafe' '--disable-tcl'
179 > ebuild.sh, line 577: Called die
180 >
181 > !!! econf failed
182 > !!! If you need support, post the topmost build error, and the call stack if
183 > relevant.
184 > !!! A complete build log is located
185 > at '/var/tmp/portage/dev-db/sqlite-3.3.5-r1/temp/build.log'.
186 >
187 > hovado gentoo_embedded #
188 --
189 Ned Ludd <solar@g.o>
190 Gentoo Linux
191
192 --
193 gentoo-embedded@g.o mailing list