Skip to content

Instantly share code, notes, and snippets.

@whitelynx
Created March 1, 2013 16:50
Show Gist options
  • Save whitelynx/5065997 to your computer and use it in GitHub Desktop.
Save whitelynx/5065997 to your computer and use it in GitHub Desktop.
vim-qt-git: python configure error and build error with 'rcc'
~/p/vim-qt-git > makepkg
==> Determining latest git revision...
-> Version found: 20130301
==> Making package: vim-qt-git 20130301-1 (Fri Mar 1 10:46:43 CST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found qvim.desktop
-> Found qvim.svg
==> Validating source files with md5sums...
qvim.desktop ... Passed
qvim.svg ... Passed
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'vim-qt'...
remote: Counting objects: 5916, done.
remote: Compressing objects: 100% (3660/3660), done.
remote: Total 5916 (delta 3290), reused 4683 (delta 2216)
Receiving objects: 100% (5916/5916), 13.09 MiB | 869 KiB/s, done.
Resolving deltas: 100% (3290/3290), done.
==> GIT checkout done or server timeout
==> Starting make...
-> Patching...
configure.in:1210: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
configure.in:1210: the top level
configure.in:1255: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
configure.in:1255: the top level
configure.in:2702: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:2702: the top level
configure.in:2958: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:2958: the top level
configure.in:2988: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:2988: the top level
configure.in:3123: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:3123: the top level
configure.in:3217: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:3217: the top level
configure.in:3273: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:3273: the top level
configure.in:3592: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:3592: the top level
configure.in:3607: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:3607: the top level
configure.in:3622: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.in:3622: the top level
-> Building...
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for library containing strerror... none required
checking for gawk... gawk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking --enable-fail-if-missing argument... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 4.2.42(2)-release (x86_64-unknown-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... big
checking --with-compiledby argument... Archlinux
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... yes
checking for python22... no
checking for python... /usr/bin/python
checking Python version... File "<string>", line 1
import sys; print sys.version[:3]
^
SyntaxError: invalid syntax
checking Python is 1.4 or better... File "<string>", line 1
import sys; sys.exit( < 1.4)
^
SyntaxError: invalid syntax
too old
checking --enable-python3interp argument... no
<snip>
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1]: Entering directory `/home/dbronke/packages/vim-qt-git/src/vim-qt-build/src'
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_QT -Iqt -I. -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I/usr/local/include " srcdir=. sh ./osdef.sh
creating auto/pathdef.c
g++ -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_QT -Iqt -I. -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I/usr/local/include -g -O0 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/gui_qt.o -c gui_qt.cpp
/usr/bin/moc-qt4 qt/mainwindow.h > mainwindow.moc
g++ -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_QT -Iqt -I. -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I/usr/local/include -g -O0 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/mainwindow.o -c qt/mainwindow.cpp
/usr/bin/moc-qt4 qt/qvimshell.h > qvimshell.moc
g++ -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_QT -Iqt -I. -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I/usr/local/include -g -O0 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/qvimshell.o -c qt/qvimshell.cpp
/usr/bin/moc-qt4 qt/vimaction.h > vimaction.moc
g++ -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_QT -Iqt -I. -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I/usr/local/include -g -O0 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/vimaction.o -c qt/vimaction.cpp
rcc -no-compress qt/icons.qrc -o qtresources.cpp
make[1]: rcc: Command not found
make[1]: *** [objects/qtresources.o] Error 127
make[1]: *** Waiting for unfinished jobs....
qt/mainwindow.cpp:7:1: warning: unused parameter ‘gui’ [-Wunused-parameter]
qt/mainwindow.cpp:69:6: warning: unused parameter ‘from’ [-Wunused-parameter]
qt/mainwindow.cpp:69:6: warning: unused parameter ‘to’ [-Wunused-parameter]
qt/qvimshell.cpp: In member function ‘virtual void QVimShell::keyPressEvent(QKeyEvent*)’:
qt/qvimshell.cpp:197:65: warning: narrowing conversion of ‘(((int)QKeyEvent::text() const().QString::data()->QChar::toAscii()) + 64)’ from ‘int’ to ‘char’ inside { } is ill-formed in C++11 [-Wnarrowing]
qt/qvimshell.cpp: At global scope:
qt/qvimshell.cpp:563:6: warning: unused parameter ‘next’ [-Wunused-parameter]
gui_qt.cpp:40:42: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gui_qt.cpp:70:6: warning: unused parameter ‘optstr’ [-Wunused-parameter]
gui_qt.cpp:328:1: warning: unused parameter ‘do_fontset’ [-Wunused-parameter]
gui_qt.cpp: In function ‘int gui_mch_init()’:
gui_qt.cpp:519:16: warning: unused variable ‘app’ [-Wunused-variable]
gui_qt.cpp: At global scope:
gui_qt.cpp:594:1: warning: unused parameter ‘argc’ [-Wunused-parameter]
gui_qt.cpp:594:1: warning: unused parameter ‘argv’ [-Wunused-parameter]
gui_qt.cpp:605:1: warning: unused parameter ‘min_width’ [-Wunused-parameter]
gui_qt.cpp:605:1: warning: unused parameter ‘min_height’ [-Wunused-parameter]
gui_qt.cpp:605:1: warning: unused parameter ‘base_width’ [-Wunused-parameter]
gui_qt.cpp:605:1: warning: unused parameter ‘base_height’ [-Wunused-parameter]
gui_qt.cpp:605:1: warning: unused parameter ‘direction’ [-Wunused-parameter]
gui_qt.cpp:700:1: warning: unused parameter ‘icon’ [-Wunused-parameter]
gui_qt.cpp:793:1: warning: unused parameter ‘rc’ [-Wunused-parameter]
gui_qt.cpp:827:1: warning: unused parameter ‘cbd’ [-Wunused-parameter]
gui_qt.cpp:836:1: warning: unused parameter ‘cbd’ [-Wunused-parameter]
gui_qt.cpp:1068:1: warning: unused parameter ‘x’ [-Wunused-parameter]
gui_qt.cpp:1068:1: warning: unused parameter ‘y’ [-Wunused-parameter]
gui_qt.cpp:1068:1: warning: unused parameter ‘w’ [-Wunused-parameter]
gui_qt.cpp:1068:1: warning: unused parameter ‘h’ [-Wunused-parameter]
gui_qt.cpp:1108:1: warning: unused parameter ‘x’ [-Wunused-parameter]
gui_qt.cpp:1108:1: warning: unused parameter ‘y’ [-Wunused-parameter]
gui_qt.cpp:1108:1: warning: unused parameter ‘w’ [-Wunused-parameter]
gui_qt.cpp:1108:1: warning: unused parameter ‘h’ [-Wunused-parameter]
gui_qt.cpp:1203:1: warning: unused parameter ‘x’ [-Wunused-parameter]
gui_qt.cpp:1203:1: warning: unused parameter ‘y’ [-Wunused-parameter]
gui_qt.cpp:1203:1: warning: unused parameter ‘w’ [-Wunused-parameter]
gui_qt.cpp:1203:1: warning: unused parameter ‘h’ [-Wunused-parameter]
gui_qt.cpp:1385:1: warning: unused parameter ‘sb’ [-Wunused-parameter]
gui_qt.cpp:1385:1: warning: unused parameter ‘flag’ [-Wunused-parameter]
gui_qt.cpp:1447:1: warning: unused parameter ‘dflt’ [-Wunused-parameter]
gui_qt.cpp:1447:1: warning: unused parameter ‘ext’ [-Wunused-parameter]
gui_qt.cpp:1495:1: warning: unused parameter ‘textfield’ [-Wunused-parameter]
gui_qt.cpp:1495:1: warning: unused parameter ‘ex_cmd’ [-Wunused-parameter]
gui_qt.cpp: In function ‘char_u* gui_mch_font_dialog(char_u*)’:
gui_qt.cpp:1641:7: warning: unused variable ‘ok’ [-Wunused-variable]
make[1]: Leaving directory `/home/dbronke/packages/vim-qt-git/src/vim-qt-build/src'
make: *** [first] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment