Bug #7312 2006-04-28 12:50
jeancf
Error compiling from SVN
For a few days now I am no longer able to compile codeblocks from SVN trunk using the Gentoo ebuild. It doesn't look like a problem with Gentoo though. Here's the output of make: ************************************************* * Code::Blocks source tree has been configured. * ************************************************* You can now build Code::Blocks by issuing 'make'. When the build is complete, become root and install it by issuing 'make install'. Making all in src make[1]: Entering directory `/var/tmp/portage/codeblocks-9999/work/codeblocks-9999/src' Making all in tools make[2]: Entering directory `/var/tmp/portage/codeblocks-9999/work/codeblocks-9999/src/tools' Making all in autorevision make[3]: Entering directory `/var/tmp/portage/codeblocks-9999/work/codeblocks-9999/src/tools/autorevision' if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/sdk -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -O2 -ffast-math -O2 -march=pentium4 -pipe -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT autorevision.o -MD -MP -MF ".deps/autorevision.Tpo" \ -c -o autorevision.o `test -f 'autorevision.cpp' || echo './'`autorevision.cpp; \ then mv -f ".deps/autorevision.Tpo" ".deps/autorevision.Po"; \ else rm -f ".deps/autorevision.Tpo"; exit 1; \ fi /bin/sh ../../../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -ffast-math -O2 -march=pentium4 -pipe -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o auto_revision autorevision.o -lpthread -ldl -pthread -L/usr/X11R6/lib -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 mkdir .libs i686-pc-linux-gnu-g++ -O2 -ffast-math -O2 -march=pentium4 -pipe -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o auto_revision autorevision.o -pthread -lpthread -ldl -L/usr/X11R6/lib -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 ./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h svn: Path '../../..' ends in '..', which is unsupported for this operation Error: could not open input file. This does not seem to be a revision controlled project. Error: failed retrieving version information. make[3]: *** [all-local] Error 255 make[3]: Leaving directory `/var/tmp/portage/codeblocks-9999/work/codeblocks-9999/src/tools/autorevision' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/codeblocks-9999/work/codeblocks-9999/src/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/codeblocks-9999/work/codeblocks-9999/src' make: *** [all-recursive] Error 1 !!! ERROR: dev-util/codeblocks-9999 failed. !!! Function src_compile, Line 56, Exitcode 2 !!! Died in action: make ... !!! If you need support, post the topmost build error, NOT this status message. Can this be fixed? Thanks, /~jc
- Category
- Group
- Status
- Closed
- Close date
- 2006-05-05 08:50
- Assigned to
History
thomasdenk 2006-05-05 08:50
Something is screwed up with your paths:
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
should read
./auto_revision +int +wx +t . ../../sdk/autorevision.h
I don't know why it has such a weird path on your system, a clean, fresh checkout runs just fine for us.
Sorry, no action taken.