From: Trevor W. <two...@gm...> - 2010-01-03 12:52:33
|
Thanks for the information. I hope my problem on openSuSE is a simple one. The error message mentions a seg fault, but it didn't occur to me that might be OE's way of saying it couldn't find something. [trevor@tdev overo-oe]$ bitbake omap3-console-image WARNING: No matches in filesystem for /home/trevor/devel/gumstix/overo-oe/user.collection in COLLECTIONS NOTE: Handling BitBake files: - (7981/7981) [100 %] NOTE: Parsing finished. 7376 cached, 302 parsed, 303 skipped, 2 masked. NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing runqueue NOTE: Running task 494 of 3201 (ID: 1568, /home/trevor/devel/gumstix/overo-oe/org.openembedded.dev/recipes/python/python-native_2.6.1.bb, do_compile) ERROR: function do_compile failed ERROR: log data follows (/home/trevor/devel/gumstix/overo-oe/tmp/work/i686-linux/python-native-2.6.1-ml8.2/temp/log.do_compile.9088) | NOTE: make BUILD_SYS= HOST_SYS= LIBC= STAGING_LIBDIR=/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib STAGING_INCDIR=/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/include | Looking in readline for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libreadline.so | Looking in ncursesw for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in ncurses for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libncurses.so | Looking in crypt for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in ssl for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.', '/usr/local/ssl/lib', '/usr/contrib/ssl/lib/'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libssl.so | Looking in db-4.5 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in db45 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in db4 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in db-4.3 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libdb-4.3.so | Looking in sqlite3 for ['/usr/include/../lib64', '/usr/include/../lib', '/usr/include/../../lib64', '/usr/include/../../lib', '/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /usr/include/../lib/libsqlite3.so | Looking in gdbm for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libgdbm.so | Looking in gdbm for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libgdbm.so | Looking in nsl for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in ncursesw for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in ncurses for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libncurses.so | Looking in panel for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libpanel.so | Looking in z for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libz.so | Looking in bz2 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Found /home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib/libbz2.so | Looking in tk8.5 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tcl8.5 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tk85 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tcl85 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tk8.4 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tcl8.4 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tk84 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tcl84 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tk8.3 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tcl8.3 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tk83 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tcl83 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-linux/usr/lib', '.'] | Looking in tk8.2 for ['/home/trevor/devel/gumstix/overo-oe/tmp/staging/i686-l/bin/sh: line 1: 9092 Segmentation fault LD_LIBRARY_PATH=/home/trevor/devel/gumstix/overo-oe/tmp/work/i686-linux/python-native-2.6.1-ml8.2/Python-2.6.1: CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build | make: *** [sharedmods] Error 139 | FATAL: oe_runmake failed NOTE: Task failed: /home/trevor/devel/gumstix/overo-oe/tmp/work/i686-linux/python-native-2.6.1-ml8.2/temp/log.do_compile.9088 ERROR: TaskFailed event exception, aborting ERROR: Build of /home/trevor/devel/gumstix/overo-oe/org.openembedded.dev/recipes/python/python-native_2.6.1.bb do_compile failed ERROR: Task 1568 (/home/trevor/devel/gumstix/overo-oe/org.openembedded.dev/recipes/python/python-native_2.6.1.bb, do_compile) failed NOTE: Tasks Summary: Attempted 493 tasks of which 493 didn't need to be rerun and 1 failed. ERROR: '/home/trevor/devel/gumstix/overo-oe/org.openembedded.dev/recipes/python/python-native_2.6.1.bb' failed My environment modifications look like: # # Environment setup for oe # export BB_ENV_EXTRAWHITE="MACHINE DISTRO ANGSTROM_MODE OVEROTOP OEBRANCH USERBRANCH TITOOLSDIR" export OVEROTOP="${HOME}/devel/gumstix/overo-oe" export OEBRANCH="${OVEROTOP}/org.openembedded.dev" export USERBRANCH="${OVEROTOP}/user.collection" export PATH="${OVEROTOP}/bitbake/bin:$PATH" export BBPATH="${OVEROTOP}/build:${USERBRANCH}:${OEBRANCH}" export TITOOLSDIR="${OVEROTOP}/ti" umask 0002 # # end oe setup # After hearing someone else on the list say their Debian environment worked I setup Debian 5 (Lenny) in a VirtualBox instance. It's been chugging away for hours and hours and is only up to task 931. Every once in a while it stops because something is mising (e.g. the last such instance was for zip/unzip). It would be nice if bitbake's sanity checkers caught things like this. I have no complaints about the amount of time it takes to perform the initial OE build, and having the build stop because something is missing is annoying but not tragic. But getting a seg fault partway through a build doesn't give me all that much to go on. Sorry if it sounds like I'm whining :-) Of the 3 sets of OE instructions I have found: http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Setting-up-a-build-environment/111.html http://www.angstrom-distribution.org/building-angstrom http://wiki.openembedded.org/index.php/Getting_Started I've had the least amount of success from openembedded.org's instructions. Not having any idea what I'm doing and simply following the instructions as posted, the moment I try the "bitbake" instruction it instantly stops saying it can't find bitbake.conf. Using strace to see where it is looking, and using "find" to see where the conf file is located I then copy the found conf file to a location bitbake looks in. Then I re-try bitbake and it complains about not finding a class file. Using the same strategy I copy all the class files to locations bitbake looks but it continues to complain it can't find any class files. I'd need the time to perform that setup again so I could copy and paste the exact errors I'm getting. When I get that up again I'll /join #oe and ask there if I have any issues. Having the overo OE files on gitorious is also an annoyance. I have never been able to perform the following command just once and had it work: git clone git://gitorious.org/gumstix-oe/mainline.git org.openembedded.dev gitorious.org *always* drops the connection, forcing you to try over and over again... and it's a command that takes a long time. So you type the command and watch while it takes so much time, then, with 20% left to go (after painfully watching your bitrate go down, down, down) you get disconnected and have to start it all over again. And there doesn't seem to be any sort of --continue option (a la "wget"). You have to start over from zero again. Again, sorry if I appear to be whining, really I'm not. I'm just following the instructions I've found, having no success, and wondering if there aren't any additions or modifications to the posted instructions that might be known by those more experienced and expected to be known by those less experienced. Thanks for taking the time to post and for the help you've provided. |