Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Build Failure: "./auto_revision: Command not found" ( Linux, SVN revision 1542 )
me22:
URL: svn://svn.berlios.de/codeblocks/trunk
Repository UUID: 98b59c6a-2706-0410-b7d6-d2fa1a1880c9
Revision: 1542
Node Kind: directory
Schedule: normal
Last Changed Author: thomasdenk
Last Changed Rev: 1542
Last Changed Date: 2005-12-17 13:16:33 -0500 (Sat, 17 Dec 2005)
Making all in src
make[1]: Entering directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src'
Making all in tools
make[2]: Entering directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools'
Making all in autorevision
make[3]: Entering directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools/autorevision'
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 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -ffast-math -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 -c -o autorevision.o `test -f 'autorevision.cpp' || echo './'`autorevision.cpp
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
make[3]: ./auto_revision: Command not found
make[3]: *** [all-local] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools/autorevision'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src'
make: *** [all-recursive] Error 1
I have no idea what's wrong here, but perhaps someone forgot to add the script in question?
Urxae:
--- Quote from: me22 on December 17, 2005, 09:04:33 pm ---[...]
Making all in autorevision
make[3]: Entering directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools/autorevision'
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 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -ffast-math -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 -c -o autorevision.o `test -f 'autorevision.cpp' || echo './'`autorevision.cpp
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
make[3]: ./auto_revision: Command not found
[...]
I have no idea what's wrong here, but perhaps someone forgot to add the script in question?
--- End quote ---
No, not entirely. Looks like it was partially added: the program was compiled on the line above the attempted use, but it wasn't linked.
mandrav:
This is run from all-local target, which means it should run after this target has been compiled and linked. I checked it again with a clean rebuild and works as expected in Ubuntu...
me22:
I just did a clean checkout of r1553 and the problem is still there:
--- Quote ---Making all in src
make[1]: Entering directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src'
Making all in tools
make[2]: Entering directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools'
Making all in autorevision
make[3]: Entering directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools/autorevision'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/sdk -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O3 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -ffast-math -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -c -o autorevision.o `test -f 'autorevision.cpp' || echo './'`autorevision.cpp
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
make[3]: ./auto_revision: Command not found
make[3]: *** [all-local] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools/autorevision'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/codeblocks-svn-1.0/work/codeblocks-svn-1.0/src'
make: *** [all-recursive] Error 1
--- End quote ---
My Emerge info ( I'm using my codeblocks-svn ebuild )
--- Quote ---Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2-me22 i686)
=================================================================
System uname: 2.6.14-gentoo-r2-me22 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_CA.UTF-8"
LC_ALL="en_CA.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 bzlib cddb cdparanoia cdr cjk crd crypt cups curl dga dio directfb divx4linux dts dvd dvdr eds emboss encode exif expat fam ffmpeg firefox flac foomaticdb ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imlib jpeg junit lcms libcaca libg++ libwww lirc lua mad matroska mikmod mng mp3 mpeg msn mysql ncurses nls nptl nsplugin nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png quicktime readline recode rtc samba sdl slang sockets spell ssl svg svga tcpd tetex tidy truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wxwindows xchatdccserver xine xml xml2 xmms xv xvid zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
--- End quote ---
Oh, I know what it probably is -- emerge builds in a sandbox in a weird directory. Are there any hard-coded paths?
Here's the configure line that it uses:
--- Quote --- * econf: updating codeblocks-svn-1.0/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating codeblocks-svn-1.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-debug --disable-dependency-tracking
--- End quote ---
mandrav:
These are the contents of Makefile.am:
--- Code: ---noinst_PROGRAMS = auto_revision
auto_revision_SOURCES = autorevision.cpp
all-local:
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
--- End code ---
Try to change ./auto_revision to $(builddir)/auto_revision and see if this works...
Navigation
[0] Message Index
[#] Next page
Go to full version