See <http://jenkins.x2go.org:8080/job/pinentry-x2go+nightly+epel-6/4/changes> Changes: [mike.gabriel] make qmake-qt4 findable for EPEL-5 builds [mike.gabriel] try avoiding gcc error with libmpc-devel installed ------------------------------------------ [...truncated 318 lines...] checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether ln -s works... yes checking for x86_64-redhat-linux-gnu-windres... no checking for windres... no ./configure: line 6410: 0: command not found checking if gcc supports -Wno-pointer-sign... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for seteuid... yes checking for stpcpy... yes checking for mmap... yes checking for mlock... yes checking whether mlock is broken... no checking for byte typedef... no checking for ulong typedef... yes checking for setcap... /usr/sbin/setcap checking for cap_set_proc in -lcap... yes configure: creating ./config.status config.status: creating assuan/Makefile config.status: creating secmem/Makefile config.status: creating pinentry/Makefile config.status: creating doc/Makefile config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands configure: Pinentry-X2Go v0.7.5.5 has been configured. + make -j8 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7' Making all in assuan make[2]: Entering directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/assuan' ./mkerrors < ./assuan.h > assuan-errors.c make all-am make[3]: Entering directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/assuan' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT assuan-util.o -MD -MP -MF .deps/assuan-util.Tpo -c -o assuan-util.o assuan-util.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT assuan-errors.o -MD -MP -MF .deps/assuan-errors.Tpo -c -o assuan-errors.o assuan-errors.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT assuan-buffer.o -MD -MP -MF .deps/assuan-buffer.Tpo -c -o assuan-buffer.o assuan-buffer.c assuan-util.c: In function '_assuan_log_print_buffer': assuan-util.c:147: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result mv -f .deps/assuan-util.Tpo .deps/assuan-util.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT assuan-handler.o -MD -MP -MF .deps/assuan-handler.Tpo -c -o assuan-handler.o assuan-handler.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT assuan-listen.o -MD -MP -MF .deps/assuan-listen.Tpo -c -o assuan-listen.o assuan-listen.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT assuan-pipe-server.o -MD -MP -MF .deps/assuan-pipe-server.Tpo -c -o assuan-pipe-server.o assuan-pipe-server.c mv -f .deps/assuan-errors.Tpo .deps/assuan-errors.Po mv -f .deps/assuan-buffer.Tpo .deps/assuan-buffer.Po mv -f .deps/assuan-handler.Tpo .deps/assuan-handler.Po mv -f .deps/assuan-listen.Tpo .deps/assuan-listen.Po mv -f .deps/assuan-pipe-server.Tpo .deps/assuan-pipe-server.Po rm -f libassuan.a ar cru libassuan.a assuan-util.o assuan-errors.o assuan-buffer.o assuan-handler.o assuan-listen.o assuan-pipe-server.o ranlib libassuan.a make[3]: Leaving directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/assuan' make[2]: Leaving directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/assuan' Making all in secmem make[2]: Entering directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/secmem' gcc -DHAVE_CONFIG_H -I. -I.. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT secmem.o -MD -MP -MF .deps/secmem.Tpo -c -o secmem.o secmem.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c mv -f .deps/secmem.Tpo .deps/secmem.Po mv -f .deps/util.Tpo .deps/util.Po rm -f libsecmem.a ar cru libsecmem.a secmem.o util.o ranlib libsecmem.a make[2]: Leaving directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/secmem' Making all in pinentry make[2]: Entering directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/pinentry' gcc -DHAVE_CONFIG_H -I. -I.. -I../assuan -I../secmem -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-pointer-sign -MT pinentry.o -MD -MP -MF .deps/pinentry.Tpo -c -o pinentry.o pinentry.c mv -f .deps/pinentry.Tpo .deps/pinentry.Po rm -f libpinentry.a ar cru libpinentry.a pinentry.o ranlib libpinentry.a make[2]: Leaving directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/pinentry' Making all in pinentry-x2go make[2]: Entering directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/pinentry-x2go' /usr/lib64/qt-3.3/bin/uic templatedlg.ui -o templatedlg.h g++ -c -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib64/qt-3.3/mkspecs/default -I. -I. -I. -I.. -I../pinentry -I../assuan -I/usr/lib64/qt-3.3/include -o main.o main.cpp uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.8b) make[2]: *** [templatedlg.h] Error 1 make[2]: *** Waiting for unfinished jobs.... main.cpp:33:24: error: QApplication: No such file or directory main.cpp:34:19: error: QWidget: No such file or directory main.cpp:35:18: error: QDebug: No such file or directory main.cpp:36:17: error: QFile: No such file or directory main.cpp:37:16: error: QDir: No such file or directory main.cpp:38:23: error: QMessageBox: No such file or directory main.cpp:40:23: error: QTranslator: No such file or directory main.cpp:41:19: error: QLocale: No such file or directory main.cpp:42:27: error: QPlastiqueStyle: No such file or directory In file included from main.cpp:45: pinentrydialog.h:26:19: error: QDialog: No such file or directory In file included from main.cpp:45: pinentrydialog.h:34: error: expected class-name before '{' token pinentrydialog.h:35: error: 'Q_OBJECT' does not name a type pinentrydialog.h:43: error: expected ')' before '*' token pinentrydialog.h:61: error: expected primary-expression before 'void' pinentrydialog.h:61: error: ISO C++ forbids declaration of 'signals' with no type pinentrydialog.h:61: error: expected ';' before 'void' pinentrydialog.h:66: error: 'QHideEvent' has not been declared pinentrydialog.h:67: error: 'QPaintEvent' has not been declared pinentrydialog.h:79: error: expected ':' before 'slots' pinentrydialog.h:80: error: expected primary-expression before 'void' pinentrydialog.h:80: error: ISO C++ forbids declaration of 'slots' with no type pinentrydialog.h:80: error: expected ';' before 'void' main.cpp:50: error: aggregate 'QString default_pin' has incomplete type and cannot be defined main.cpp:54: error: expected class-name before '{' token main.cpp:56: error: expected ')' before 'wid' main.cpp: In destructor 'ForeignWidget::~ForeignWidget()': main.cpp:64: error: 'destroy' was not declared in this scope main.cpp: In function 'int qt_cmd_handler(pinentry*)': main.cpp:71: error: 'QWidget' was not declared in this scope main.cpp:71: error: 'parent' was not declared in this scope main.cpp:83: error: no matching function for call to 'ForeignWidget::ForeignWidget(int&)' main.cpp:54: note: candidates are: ForeignWidget::ForeignWidget() main.cpp:54: note: ForeignWidget::ForeignWidget(const ForeignWidget&) main.cpp:87: error: incomplete type 'QString' used in nested name specifier main.cpp:88: error: incomplete type 'QString' used in nested name specifier main.cpp:91: error: incomplete type 'QString' used in nested name specifier main.cpp:93: error: incomplete type 'QString' used in nested name specifier main.cpp:95: error: incomplete type 'QString' used in nested name specifier main.cpp:97: error: 'class PinEntryDialog' has no member named 'exec' pinentrydialog.h:52: error: 'QString PinEntryDialog::text() const' is private main.cpp:100: error: within this context main.cpp:100: error: invalid use of incomplete type 'struct QString' pinentrydialog.h:31: error: forward declaration of 'struct QString' main.cpp:108: error: 'strlen' was not declared in this scope main.cpp:114: error: 'strcpy' was not declared in this scope main.cpp:124: error: 'QMessageBox' has not been declared main.cpp: In function 'int main(int, char**)': main.cpp:138: error: variable 'QString gpghome' has initializer but incomplete type main.cpp:139: error: variable 'QString cardid' has initializer but incomplete type main.cpp:140: error: 'QFile' has not been declared main.cpp:142: error: 'QFile' was not declared in this scope main.cpp:142: error: expected ';' before 'file' main.cpp:143: error: 'file' was not declared in this scope main.cpp:143: error: 'QIODevice' has not been declared main.cpp:143: error: 'QIODevice' has not been declared main.cpp:145: error: 'QTextStream' was not declared in this scope main.cpp:145: error: expected ';' before 'in' main.cpp:146: error: 'in' was not declared in this scope main.cpp:148: error: variable 'QString line' has initializer but incomplete type main.cpp:151: error: 'QStringList' was not declared in this scope main.cpp:151: error: expected ';' before 'lst' main.cpp:152: error: 'lst' was not declared in this scope main.cpp:172: error: 'strlen' was not declared in this scope main.cpp:179: error: 'stderr' was not declared in this scope main.cpp:180: error: 'strerror' was not declared in this scope main.cpp:180: error: 'fprintf' was not declared in this scope main.cpp:185: error: 'strcmp' was not declared in this scope main.cpp:187: warning: deprecated conversion from string constant to 'char*' main.cpp:192: error: 'strcpy' was not declared in this scope main.cpp:193: error: 'strlen' was not declared in this scope main.cpp:199: error: 'QApplication' was not declared in this scope main.cpp:199: error: 'app' was not declared in this scope main.cpp:199: error: expected type-specifier before 'QApplication' main.cpp:199: error: expected ';' before 'QApplication' main.cpp:200: error: 'QTranslator' was not declared in this scope main.cpp:200: error: expected ';' before 'pinTranslator' main.cpp:201: error: variable 'QString filename' has initializer but incomplete type main.cpp:201: error: invalid use of incomplete type 'struct QString' pinentrydialog.h:31: error: forward declaration of 'struct QString' main.cpp:201: error: 'QLocale' has not been declared main.cpp:203: error: 'pinTranslator' was not declared in this scope main.cpp:205: error: 'qDebug' was not declared in this scope main.cpp:212: error: expected ';' before 'qtTranslator' main.cpp:213: error: invalid use of incomplete type 'struct QString' pinentrydialog.h:31: error: forward declaration of 'struct QString' main.cpp:213: error: 'QLocale' has not been declared main.cpp:214: error: 'qtTranslator' was not declared in this scope main.cpp:216: error: 'qDebug' was not declared in this scope main.cpp:223: error: expected type-specifier before 'QPlastiqueStyle' main.cpp:223: error: expected ')' before 'QPlastiqueStyle' main.cpp:230: error: 'printf' was not declared in this scope make[2]: Leaving directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7/pinentry-x2go' make[2]: *** [main.o] Error 1 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/pinentry-x2go-0.7.5.7' make: *** [all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.tDaWWZ (%build) Bad exit status from /var/tmp/rpm-tmp.tDaWWZ (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/pinentry-x2go.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/dist-packages/mockbuild/util.py", line 361, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/pinentry-x2go.spec'] LEAVE do --> EXCEPTION RAISED + rm -Rf /var/lib/jenkins/tmp/tmp.EjorT6Ai0K + exit -1 Build step 'Execute shell' marked build as failure