D: [iurt_root_command] chroot warning: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) warning: Macro expanded in comment on line 254: %{api}.so Installing /home/pterjan/rpmbuild/SRPMS/wxgtk2.8-2.8.12-31.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.y24Dw0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf wxGTK-2.8.12 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wxGTK-2.8.12.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd wxGTK-2.8.12 + rm -rf /home/pterjan/rpmbuild/BUILD/wxGTK-2.8.12-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/wxGTK-2.8.12-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (wxGTK-2.8.10-CVE-2009-XXXX.diff):' Patch #2 (wxGTK-2.8.10-CVE-2009-XXXX.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .CVE-2009-XXXX --fuzz=0 patching file src/expat/lib/xmltok_impl.c + echo 'Patch #3 (wxgtk2.8-2.8.11-fix-linking.patch):' Patch #3 (wxgtk2.8-2.8.11-fix-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linking --fuzz=0 patching file Makefile.in + echo 'Patch #8 (wxWidgets-2.7.0-multiarch-includes.patch):' Patch #8 (wxWidgets-2.7.0-multiarch-includes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multiarch --fuzz=0 patching file wx-config.in Hunk #1 succeeded at 1188 (offset 50 lines). + echo 'Patch #9 (wxGTK-2.8.8-CVE-2009-3560.diff):' Patch #9 (wxGTK-2.8.8-CVE-2009-3560.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .CVE-2009-3560 --fuzz=0 patching file src/expat/lib/xmlparse.c + echo 'Patch #10 (wxGTK-2.8.12-collision.patch):' Patch #10 (wxGTK-2.8.12-collision.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .collision --fuzz=0 patching file Makefile.in patching file src/common/intl.cpp patching file utils/wxrc/Makefile.in + echo 'Patch #11 (wxGTK-2.8.12-char.patch):' Patch #11 (wxGTK-2.8.12-char.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .char --fuzz=0 patching file src/gtk/bdiag.xbm patching file src/gtk/cdiag.xbm patching file src/gtk/cross.xbm patching file src/gtk/dcclient.cpp patching file src/gtk/fdiag.xbm patching file src/gtk/horiz.xbm patching file src/gtk/verti.xbm + echo 'Patch #12 (wxGTK-2.8.12-abicheck.patch):' Patch #12 (wxGTK-2.8.12-abicheck.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .abicheck --fuzz=0 patching file src/common/appbase.cpp + sed -i -e s/@LDFLAGS@// -e s/@WXCONFIG_CXXFLAGS@// wx-config.in + sed -i -e 's|/lib|/lib64|' src/unix/stdpaths.cpp + find samples demos -name .cvsignore -exec rm '{}' ';' + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub . + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub src/expat/conftools/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SPgLdr + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd wxGTK-2.8.12 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing' + CXXFLAGS='-O2 -g -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing' + CFLAGS='-O2 -g -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./src/expat/conftools/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./src/expat/conftools/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./src/expat/conftools/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./src/expat/conftools/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./src/expat/conftools/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./src/expat/conftools/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /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 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --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 --enable-unicode --without-odbc --with-opengl --enable-gtk2 --with-gtk --without-debug_flag --without-debug_info --with-sdl --with-libpng=sys --with-libjpeg=sys --with-libtiff=sys --with-zlib=sys --with-expat=sys --disable-optimise --enable-calendar --enable-wave --enable-fraction --enable-wxprintfv --enable-xresources --enable-controls --enable-tabdialog --enable-msgdlg --enable-dirdlg --enable-numberdlg --enable-splash --enable-textdlg --enable-graphics_ctx --enable-grid --enable-catch_segvs --enable-mediactrl --enable-dataviewctrl --enable-permissive --disable-rpath 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 loading argument cache configarg.cache checking for --enable-gui... yes checking for --enable-monolithic... no checking for --enable-plugins... no checking for --without-subdirs... no checking for --enable-universal... no checking for --enable-nanox... no checking for --enable-gpe... no checking for --with-libpng... system version checking for --with-libjpeg... system version checking for --with-libtiff... system version checking for --with-libxpm... yes checking for --with-libmspack... yes checking for --with-sdl... yes checking for --with-gnomeprint... yes checking for --with-gnomevfs... no checking for --with-hildon... no checking for --with-opengl... yes checking for --with-dmalloc... no checking for --with-regex... yes checking for --with-zlib... system version checking for --with-odbc... no checking for --with-expat... system version checking for --with-macosx-sdk... checking for --with-macosx-version-min... yes checking for --enable-shared... yes checking for --enable-optimise... no checking for --enable-debug... no checking for --enable-stl... no checking for --enable-debug_flag... no checking for --enable-debug_info... no checking for --enable-debug_gdb... no checking for --enable-debug_cntxt... no checking for --enable-mem_tracing... no checking for --enable-profile... no checking for --enable-no_rtti... no checking for --enable-no_exceptions... no checking for --enable-permissive... yes checking for --enable-no_deps... no checking for --enable-vararg_macros... yes checking for --enable-universal_binary... no checking for --enable-compat24... no checking for --disable-compat26... no checking for --enable-rpath... no checking for --enable-objc_uniquifying... no checking for --enable-abi-incompatible-features... no checking for --enable-intl... yes checking for --enable-config... yes checking for --enable-protocols... yes checking for --enable-ftp... yes checking for --enable-http... yes checking for --enable-fileproto... yes checking for --enable-sockets... yes checking for --enable-ole... yes checking for --enable-dataobj... yes checking for --enable-ipc... yes checking for --enable-apple_ieee... yes checking for --enable-arcstream... yes checking for --enable-backtrace... yes checking for --enable-catch_segvs... yes checking for --enable-cmdline... yes checking for --enable-datetime... yes checking for --enable-debugreport... yes checking for --enable-dialupman... yes checking for --enable-dynlib... yes checking for --enable-dynamicloader... yes checking for --enable-exceptions... yes checking for --enable-ffile... yes checking for --enable-file... yes checking for --enable-filesystem... yes checking for --enable-fontmap... yes checking for --enable-fs_archive... yes checking for --enable-fs_inet... yes checking for --enable-fs_zip... yes checking for --enable-geometry... yes checking for --enable-log... yes checking for --enable-longlong... yes checking for --enable-mimetype... yes checking for --enable-mslu... yes checking for --enable-snglinst... yes checking for --enable-std_iostreams... yes checking for --enable-std_string... yes checking for --enable-stdpaths... yes checking for --enable-stopwatch... yes checking for --enable-streams... yes checking for --enable-sysoptions... yes checking for --enable-tarstream... yes checking for --enable-textbuf... yes checking for --enable-textfile... yes checking for --enable-timer... yes checking for --enable-unicode... yes checking for --enable-sound... yes checking for --enable-mediactrl... yes checking for --enable-gstreamer8... no checking for --enable-printfposparam... yes checking for --enable-zipstream... yes checking for --enable-url... yes checking for --enable-variant... yes checking for --enable-protocol... yes checking for --enable-protocol_http... yes checking for --enable-protocol_ftp... yes checking for --enable-protocol_file... yes checking for --enable-threads... yes checking for --enable-docview... yes checking for --enable-help... yes checking for --enable-mshtmlhelp... yes checking for --enable-html... yes checking for --enable-htmlhelp... yes checking for --enable-xrc... yes checking for --enable-aui... yes checking for --enable-constraints... yes checking for --enable-printarch... yes checking for --enable-mdi... yes checking for --enable-mdidoc... yes checking for --enable-loggui... yes checking for --enable-logwin... yes checking for --enable-logdialog... yes checking for --enable-webkit... yes checking for --enable-richtext... yes checking for --enable-graphics_ctx... yes checking for --enable-postscript... yes checking for --enable-prologio... no checking for --enable-resources... no checking for --enable-clipboard... yes checking for --enable-dnd... yes checking for --enable-metafile... yes checking for --enable-controls... yes checking for --enable-accel... yes checking for --enable-animatectrl... yes checking for --enable-button... yes checking for --enable-bmpbutton... yes checking for --enable-bmpcombobox... yes checking for --enable-calendar... yes checking for --enable-caret... yes checking for --enable-checkbox... yes checking for --enable-checklst... yes checking for --enable-choice... yes checking for --enable-choicebook... yes checking for --enable-collpane... yes checking for --enable-colourpicker... yes checking for --enable-combobox... yes checking for --enable-comboctrl... yes checking for --enable-datepick... yes checking for --enable-dirpicker... yes checking for --enable-display... yes checking for --enable-detect_sm... yes checking for --enable-filepicker... yes checking for --enable-fontpicker... yes checking for --enable-gauge... yes checking for --enable-grid... yes checking for --enable-dataviewctrl... yes checking for --enable-hyperlink... yes checking for --enable-imaglist... yes checking for --enable-listbook... yes checking for --enable-listbox... yes checking for --enable-listctrl... yes checking for --enable-notebook... yes checking for --enable-odcombobox... yes checking for --enable-radiobox... yes checking for --enable-radiobtn... yes checking for --enable-sash... yes checking for --enable-scrollbar... yes checking for --enable-searchctrl... yes checking for --enable-slider... yes checking for --enable-spinbtn... yes checking for --enable-spinctrl... yes checking for --enable-splitter... yes checking for --enable-statbmp... yes checking for --enable-statbox... yes checking for --enable-statline... yes checking for --enable-stattext... yes checking for --enable-statusbar... yes checking for --enable-tabdialog... yes checking for --enable-textctrl... yes checking for --enable-togglebtn... yes checking for --enable-toolbar... yes checking for --enable-tbarnative... yes checking for --enable-treebook... yes checking for --enable-toolbook... yes checking for --enable-treectrl... yes checking for --enable-tipwindow... yes checking for --enable-popupwin... yes checking for --enable-commondlg... yes checking for --enable-aboutdlg... yes checking for --enable-choicedlg... yes checking for --enable-coldlg... yes checking for --enable-filedlg... yes checking for --enable-finddlg... yes checking for --enable-fontdlg... yes checking for --enable-dirdlg... yes checking for --enable-msgdlg... yes checking for --enable-numberdlg... yes checking for --enable-splash... yes checking for --enable-textdlg... yes checking for --enable-tipdlg... yes checking for --enable-progressdlg... yes checking for --enable-wizarddlg... yes checking for --enable-menus... yes checking for --enable-miniframe... yes checking for --enable-tooltips... yes checking for --enable-splines... yes checking for --enable-mousewheel... yes checking for --enable-validators... yes checking for --enable-busyinfo... yes checking for --enable-joystick... yes checking for --enable-metafile... yes checking for --enable-dragimage... yes checking for --enable-accessibility... no checking for --enable-palette... yes checking for --enable-image... yes checking for --enable-gif... yes checking for --enable-pcx... yes checking for --enable-tga... yes checking for --enable-iff... no checking for --enable-pnm... yes checking for --enable-xpm... yes checking for --enable-ico_cur... yes checking for --enable-official_build... no saving argument cache configarg.cache checking for toolkit... gtk checking for x86_64-mageia-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking whether we are using the Intel C compiler... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for x86_64-mageia-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking if make is GNU make... yes checking whether ln -s works... yes checking for strcasecmp() in string.h... yes checking for ANSI C header files... no 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 for stdlib.h... (cached) yes checking for fnmatch.h... yes checking for langinfo.h... yes checking for malloc.h... yes checking for unistd.h... (cached) yes checking for wchar.h... yes checking for sys/select.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for void *... yes checking size of void *... 8 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for size_t... yes checking size of size_t... 8 checking for long long... yes checking size of long long... 8 checking for wchar_t... yes checking size of wchar_t... 4 checking for va_copy... yes checking whether the compiler supports variadic macros... yes checking for _FILE_OFFSET_BITS value needed for large files... 64 checking if large file support is available... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking whether byte ordering is bigendian... no checking for iostream... yes checking if C++ compiler supports bool... yes checking if C++ compiler supports the explicit keyword... yes checking whether the compiler supports const_cast<>... yes checking whether the compiler supports reinterpret_cast<>... yes checking whether the compiler supports static_cast<>... yes checking for std::wstring in ... yes checking for std::istream... yes checking for std::ostream... yes checking for libraries directory... lib64 checking for glibc 2.1 or later... yes checking for cos... no checking for floor... no checking if floating point functions link without -lm... no checking for sin... yes checking for ceil... yes checking if floating point functions link with -lm... yes checking for wcstoull... yes configure: WARNING: Defaulting to the the builtin regex library for Unicode build. checking for zlib.h >= 1.1.4... no checking for zlib.h... (cached) no configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SPgLdr (%build) RPM build warnings: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Macro expanded in comment on line 254: %{api}.so RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SPgLdr (%build) I: [iurt_root_command] ERROR: chroot