Ticket #260 (closed defect/bug: fixed)
N810 crosscompile in scratchbox broken
| Reported by: | SlowRider | Owned by: | KaZeR |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | core | Version: | svn |
| Keywords: | Cc: |
Description (last modified by Tinloaf) (diff)
Crosscompilation worked at least until 2008-09-28. On 2008-10-21, autogen.sh shows some issues. Log is attached below (I do not trust pastebin's persistence :) .
autoconf --version Autoconf version 2.13
./autogen.sh Copying file po/quot.sed Copying file po/remove-potcdate.sin /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal configure.in: installing `./install-sh' configure.in: installing `./missing' Makefile.am: installing `./INSTALL' navit/Makefile.am: installing `./compile' navit/Makefile.am: installing `./depcomp' navit/data/binfile/Makefile.am:6: `libdata_binfile.la' is already going to be installed in `moduledata' navit/data/binfile/Makefile.am:4: `libdata_binfile.la' previously declared here navit/data/mg/Makefile.am:6: `libdata_mg.la' is already going to be installed in `moduledata' navit/data/mg/Makefile.am:4: `libdata_mg.la' previously declared here navit/data/textfile/Makefile.am:6: `libdata_textfile.la' is already going to be installed in `moduledata' navit/data/textfile/Makefile.am:4: `libdata_textfile.la' previously declared here navit/graphics/null/Makefile.am:6: `libgraphics_null.la' is already going to be installed in `modulegraphics' navit/graphics/null/Makefile.am:4: `libgraphics_null.la' previously declared here navit/graphics/win32/Makefile.am:6: `libgraphics_win32.la' is already going to be installed in `modulegraphics' navit/graphics/win32/Makefile.am:4: `libgraphics_win32.la' previously declared here navit/gui/win32/Makefile.am:6: `libgui_win32.la' is already going to be installed in `modulegui' navit/gui/win32/Makefile.am:4: `libgui_win32.la' previously declared here navit/osd/core/Makefile.am:6: `libosd_core.la' is already going to be installed in `moduleosd' navit/osd/core/Makefile.am:4: `libosd_core.la' previously declared here navit/data/binfile/Makefile.am:6: `libdata_binfile.la' is already going to be installed in `moduledata' navit/data/binfile/Makefile.am:4: `libdata_binfile.la' previously declared here navit/data/mg/Makefile.am:6: `libdata_mg.la' is already going to be installed in `moduledata' navit/data/mg/Makefile.am:4: `libdata_mg.la' previously declared here navit/data/textfile/Makefile.am:6: `libdata_textfile.la' is already going to be installed in `moduledata' navit/data/textfile/Makefile.am:4: `libdata_textfile.la' previously declared here navit/graphics/null/Makefile.am:6: `libgraphics_null.la' is already going to be installed in `modulegraphics' navit/graphics/null/Makefile.am:4: `libgraphics_null.la' previously declared here navit/graphics/win32/Makefile.am:6: `libgraphics_win32.la' is already going to be installed in `modulegraphics' navit/graphics/win32/Makefile.am:4: `libgraphics_win32.la' previously declared here navit/gui/win32/Makefile.am:6: `libgui_win32.la' is already going to be installed in `modulegui' navit/gui/win32/Makefile.am:4: `libgui_win32.la' previously declared here navit/osd/core/Makefile.am:6: `libosd_core.la' is already going to be installed in `moduleosd' navit/osd/core/Makefile.am:4: `libosd_core.la' previously declared here autoreconf2.50: automake failed with exit status: 1
Change History
comment:2 Changed 3 years ago by SlowRider
Seems it is broken since version 1498:
./autogen.sh Copying file mkinstalldirs /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
navit/data/Makefile.am:6: DATA_POI_GEODOWNLOAD does not appear in AM_CONDITIONAL autoreconf2.50: automake failed with exit status: 1
1496 seems to build (at least autogen.sh runs).
comment:3 Changed 3 years ago by SlowRider
Yes, 1496 still builds. 1498 doesn't. Any chance that we get this one ironed out?
comment:4 Changed 3 years ago by SlowRider
Even better, 1497 builds, 1498 doesn't. Unfortunately, there are many changes in make files between 1497 and 1498, so I cannot share more details which particular change did cause the build to fail.
comment:5 Changed 3 years ago by KaZeR
- Status changed from new to closed
- Resolution set to fixed
Build is fixed, as you can see here : http://download.navit-project.org/navit/
comment:6 Changed 3 years ago by Tinloaf
- Description modified (diff)
Gerritv added on IRC that you should be at least using automake 1.9 - Mameo SDK 4.1.1 uses 1.8 by default, which causes errors. On Scratchbox for Mameo, users can use SBOX_DEFAULT_AUTOMAKE=1.9;export SBOX_DEFAULT_AUTOMAKE to work around this.
comment:8 Changed 3 years ago by SlowRider
Thanks for all the help, guys. I'm still not successful, though. I do:
scratchbox
cd navit/trunk/navit
svn up
SBOX_DEFAULT_AUTOMAKE=1.9;export SBOX_DEFAULT_AUTOMAKE
autoconf --version => autoconf (GNU Autoconf) 2.61
automake --version => automake (GNU automake) 1.9.5
./autogen.sh => http://pastebin.com/f5e6290ce
Maybe I have messed my complete scratchbox environment?!? Gerritv mentioned that it looks as I was building for several platforms at once. I'd like to avoid that others try to solve a problem I caused myself by a messed installation. Maybe it's better if I use the precompiled binaries and we put this to rest for now.

Maybe I should have mentioned that I still run the Chinook but the Diablo SDK.