D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/wxsqlite3-3.4.1-5.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LUWuKj + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf wxsqlite3-3.4.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/wxsqlite3-3.4.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wxsqlite3-3.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/wxsqlite3-3.3.0-mga-fix-soname.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + mv build30 build + chmod a+x configure + rm -rf sqlite3 + dos2unix readme.md dos2unix: converting file readme.md to Unix format... ++ find . -name config.sub + for d in $(find . -name "config.sub") ++ dirname ./build/config.sub + cp -af /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub ./build + for d in $(find . -name "config.sub") ++ dirname ./build28/config.sub + cp -af /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub ./build28 + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OQ46uR + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd wxsqlite3-3.4.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for the --enable-debug option... will be automatically detected checking for the --enable-unicode option... will be automatically detected checking for the --enable-shared option... will be automatically detected checking for the --with-toolkit option... will be automatically detected checking for the --with-wxshared option... will be automatically detected checking for the --with-wxversion option... will be automatically detected checking for wx-config... /usr/bin/wx-config checking for wxWidgets version >= 2.8.0... yes (version 3.0.4) checking for wxWidgets static library... no checking if wxWidgets was built with UNICODE enabled... yes checking if wxWidgets was built in DEBUG mode... no checking if wxWidgets was built in STATIC mode... no checking which wxWidgets toolkit was selected... gtk2 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 for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for the --enable-dynamic-load option... no checking for the --enable-metadata option... no checking for the --enable-codec option... no checking for the --enable-load-extension option... no checking whether we are using the Intel C compiler... no checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ar... ar checking for strip... strip checking for nm... nm checking for command to install directories... /usr/bin/install -c -d checking if make is GNU make... yes checking for dependency tracking method... gcc configure: creating ./config.status config.status: creating Makefile ---------------------------------------------------------------- Configuration for wxSqlite3 3.4.1 successfully completed. Summary of main configuration settings for wxSqlite3: - RELEASE build - UNICODE mode - SHARED mode - dynamic load disabled - meta data support disabled - CODEC support disabled - loadable extension support disabled The wxWidgets build which will be used by wxSqlite3 3.4.1 has the following settings: - RELEASE build - UNICODE mode - SHARED mode - VERSION: 3.0.4 - PORT: gtk2 Now, just run make. ---------------------------------------------------------------- configure: creating ./config.status config.status: creating Makefile config.status: creating wxsqlite3.pc + /usr/bin/make -O -j8 /home/pterjan/rpmbuild/BUILD/wxsqlite3-3.4.1/bk-deps g++ -c -o wxsqlite3_dll_wxsqlite3.o -I./include -DWXMAKINGDLL_WXSQLITE3 -DwxUSE_DYNAMIC_SQLITE3_LOAD=0 -DWXSQLITE3_HAVE_METADATA=0 -DWXSQLITE3_HAVE_CODEC=0 -DWXSQLITE3_HAVE_LOAD_EXTENSION=0 -I/usr/local/include -fPIC -DPIC -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 ./src/wxsqlite3.cpp ./src/wxsqlite3.cpp:47:10: fatal error: sqlite3.h: No such file or directory #include "sqlite3.h" ^~~~~~~~~~~ compilation terminated. make: *** [Makefile:346: wxsqlite3_dll_wxsqlite3.o] Error 1 make: *** Waiting for unfinished jobs.... /home/pterjan/rpmbuild/BUILD/wxsqlite3-3.4.1/bk-deps g++ -c -o treeview_treeviewapp.o -I./include -I./samples/treeview -I/usr/local/include -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 ./samples/treeview/treeviewapp.cpp /home/pterjan/rpmbuild/BUILD/wxsqlite3-3.4.1/bk-deps g++ -c -o treeview_projectlist.o -I./include -I./samples/treeview -I/usr/local/include -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 ./samples/treeview/projectlist.cpp /home/pterjan/rpmbuild/BUILD/wxsqlite3-3.4.1/bk-deps g++ -c -o treeview_foldertree.o -I./include -I./samples/treeview -I/usr/local/include -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 ./samples/treeview/foldertree.cpp /home/pterjan/rpmbuild/BUILD/wxsqlite3-3.4.1/bk-deps g++ -c -o treeview_treeviewsample.o -I./include -I./samples/treeview -I/usr/local/include -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 ./samples/treeview/treeviewsample.cpp /home/pterjan/rpmbuild/BUILD/wxsqlite3-3.4.1/bk-deps g++ -c -o minimal_minimal.o -I./include -I./samples -I/usr/local/include -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 ./samples/minimal.cpp error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OQ46uR (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OQ46uR (%build) I: [iurt_root_command] ERROR: chroot