D: [iurt_root_command] chroot warning: Macro expanded in comment on line 15: %{version}.tar.bz2 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/mail-notification-5.4-38.20141027.git.eab5c13.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VhPYkb + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf epienbroek-mail-notification-eab5c13 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mail-notification-eab5c13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd epienbroek-mail-notification-eab5c13 + rm -rf /home/pterjan/rpmbuild/BUILD/epienbroek-mail-notification-eab5c13-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/epienbroek-mail-notification-eab5c13-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mail-notification-jb-gcc-format.patch):' Patch #0 (mail-notification-jb-gcc-format.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jbsrc/lib/src/core/jb-util.c + echo 'Patch #1 (mail-notification-aarch64.patch):' Patch #1 (mail-notification-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jbsrc/tools/config.guess patching file jbsrc/tools/config.sub + echo 'Patch #2 (mail-notification-evo3_11_2.patch):' Patch #2 (mail-notification-evo3_11_2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .evo3_11_2 --fuzz=0 patching file src/mn-evolution-folder-tree-server.gob patching file src/mn-evolution-plugin.c patching file src/mn-evolution-server.gob + echo 'Patch #3 (mail-notification-dont-link-against-bsd-compat.patch):' Patch #3 (mail-notification-dont-link-against-bsd-compat.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file jbsrc/jb.c + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DDdOHU + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd epienbroek-mail-notification-eab5c13 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ echo -O2 -g -pipe -Wformat -Werror=format-security -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 ++ sed s/O2/O0/ + CFLAGS='-O0 -g -pipe -Wformat -Werror=format-security -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' + jb_cflags='-O2 -g -pipe -Wformat -Werror=format-security -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' + jb_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' + ./jb configure cc=gcc 'cflags=-O0 -g -pipe -Wformat -Werror=format-security -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' cppflags=-D_GNU_SOURCE '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' destdir=/home/pterjan/rpmbuild/BUILDROOT/mail-notification-5.4-38.20141027.git.eab5c13.mga10.x86_64 prefix=/usr bindir=/usr/bin libdir=/usr/lib64 libexecdir=/usr/libexec datadir=/usr/share sysconfdir=/etc localstatedir=/var install-gconf-schemas=no building jb... checking for ngettext(), dgettext(), bind_textdomain_codeset() in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for XML::Parser... yes checking for gconftool-2... /usr/bin/gconftool-2 checking for scrollkeeper-preinstall... /usr/bin/scrollkeeper-preinstall checking for scrollkeeper-update... /usr/bin/scrollkeeper-update checking for scrollkeeper-config... /usr/bin/scrollkeeper-config checking for the OMF directory... /usr/share/omf checking for the ScrollKeeper database directory... /var/lib/rarian checking for dbus-binding-tool... /usr/bin/dbus-binding-tool checking for gob2... /usr/bin/gob2 checking for gob2 >= 2.0.17... yes checking the C compiler dependency style... GCC checking for the GNU C library... yes checking for pkg-config... /usr/bin/pkg-config checking for GNOME... yes checking for D-Bus... yes checking for GMime... yes checking for GNOME Keyring... yes checking the host system type... x86_64-unknown-linux-gnu checking if the DNS resolver is reentrant... yes checking the host CPU endianness... little-endian checking for Cyrus SASL >= 2.0... no WARNING: disabling option "sasl" since Cyrus SASL was not found checking for OpenSSL >= 0.9.6... no WARNING: disabling option "ssl" since OpenSSL was not found checking for Evolution... no WARNING: Package evolution-plugin-3.0 was not found in the pkg-config search path. WARNING: Perhaps you should add the directory containing `evolution-plugin-3.0.pc' WARNING: to the PKG_CONFIG_PATH environment variable WARNING: Package 'evolution-plugin-3.0' not found WARNING: Package 'evolution-shell-3.0' not found WARNING: disabling option "evolution" since Evolution was not found checking for timegm() in libc... yes Mail Notification 5.4 was configured successfully. The following variables are in effect: Compiler options: cc: gcc cflags: -O0 -g -pipe -Wformat -Werror=format-security -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 cppflags: -D_GNU_SOURCE 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 libs: cc-dependency-tracking: yes Installation options: destdir: /home/pterjan/rpmbuild/BUILDROOT/mail-notification-5.4-38.20141027.git.eab5c13.mga10.x86_64 prefix: /usr bindir: /usr/bin libdir: /usr/lib64 libexecdir: /usr/libexec datadir: /usr/share sysconfdir: /etc localstatedir: /var data-mode: 0644 data-owner: data-group: program-mode: 0755 program-owner: program-group: library-mode: 0644 library-owner: library-group: gconf-config-source: xml:merged:/etc/gconf/gconf.xml.defaults gconf-schemas-dir: $sysconfdir/gconf/schemas install-gconf-schemas: no help-dir: $datadir/gnome/help omf-dir: /usr/share/omf scrollkeeper-dir: /var/lib/rarian evolution-plugin-dir: autodetect External programs: msgfmt: /usr/bin/msgfmt perl: /usr/bin/perl gconftool-2: /usr/bin/gconftool-2 scrollkeeper-preinstall: /usr/bin/scrollkeeper-preinstall scrollkeeper-update: /usr/bin/scrollkeeper-update dbus-binding-tool: /usr/bin/dbus-binding-tool gob2: /usr/bin/gob2 Mailbox backends: evolution: no gmail: yes hotmail: yes imap: yes maildir: yes mbox: yes mh: yes mozilla: yes pop3: yes sylpheed: yes yahoo: yes IMAP and POP3 features: ipv6: yes sasl: no ssl: no Type "./jb build" to build Mail Notification 5.4. + ./jb build building client of D-Bus interface org.gnome.MailNotification building server of D-Bus interface org.gnome.MailNotification building GOB class MN:About:Dialog building GOB class MN:Autodetect:Mailbox:Properties building GOB class MN:Compact:Message:View building GOB class MN:Dialog building GOB class MN:File:Chooser:Button building GOB class MN:Mail:Icon building GOB class MN:Mail:Icon:Widget building GOB class MN:Mailbox building GOB class MN:Mailbox:Properties building GOB class MN:Mailbox:Properties:Dialog building GOB class MN:Mailbox:View building GOB class MN:Mailboxes building GOB class MN:Message building GOB class MN:Message:View building GOB class MN:Popup building GOB class MN:Popups building GOB class MN:Properties:Dialog building GOB class MN:Server building GOB class MN:Shell building GOB class MN:Sound:File:Chooser:Dialog building GOB class MN:Sound:Player building GOB class MN:Standard:Message:View building GOB class MN:Test:Mailbox building GOB class MN:Text:Table building GOB class MN:Tooltips building GOB class MN:Mbox:Mailbox:Backend building GOB class MN:Mozilla:Mailbox:Backend building GOB class MN:Base:Mbox:Mailbox:Backend building GOB class MN:MH:Mailbox:Backend building GOB class MN:Maildir:Mailbox:Backend building GOB class MN:Maildir:Message building GOB class MN:POP3:Mailbox building GOB class MN:POP3:Mailbox:Properties building GOB class MN:IMAP:Mailbox building GOB class MN:IMAP:Mailbox:Properties building GOB class MN:Auth:Combo:Box building GOB class MN:PI:Mailbox building GOB class MN:PI:Mailbox:Properties building GOB class MN:Authenticated:Mailbox building GOB class MN:Authenticated:Mailbox:Properties building GOB class MN:Sylpheed:Mailbox:Backend building GOB class MN:Sylpheed:Message building GOB class MN:VFS:Message building GOB class MN:Gmail:Mailbox building GOB class MN:Gmail:Mailbox:Properties building GOB class MN:Yahoo:Mailbox building GOB class MN:Yahoo:Mailbox:Properties building GOB class MN:Hotmail:Mailbox building GOB class MN:Hotmail:Mailbox:Properties building GOB class MN:Webmail:Mailbox building GOB class MN:Webmail:Mailbox:Properties building GOB class MN:Custom:VFS:Mailbox building GOB class MN:Reentrant:Mailbox building GOB class MN:System:VFS:Mailbox building GOB class MN:System:VFS:Mailbox:Properties building GOB class MN:VFS:Mailbox building GOB class MN:VFS:Mailbox:Backend building GOB class MN:GMime:Stream:VFS building intltool-merge building desktop file mail-notification-properties.desktop.in building desktop file mail-notification.desktop.in building template mail-notification.schemas.in.in building GConf schemas mail-notification.schemas.in building GNOME help mail-notification [C] building bg translations building ca translations building cs translations building de translations building es translations building fr translations building ja translations building nl translations building pl translations building pt translations building pt_BR translations building ru translations building sr translations building sr@Latn translations building sv translations building class MNAboutDialog building class MNAutodetectMailboxProperties building class MNCompactMessageView building class MNDialog building class MNFileChooserButton building class MNMailIcon building class MNMailIconWidget building class MNMailbox building class MNMailboxProperties building class MNMailboxPropertiesDialog building class MNMailboxView building class MNMailboxes building class MNMessage building class MNMessageView building class MNPopup building class MNPopups building class MNPropertiesDialog building class MNServer building class MNShell building class MNSoundFileChooserDialog building class MNSoundPlayer building class MNStandardMessageView building class MNTestMailbox building class MNTextTable building class MNTooltips building C source eggtrayicon.c building C source mn-conf.c building C source mn-locked-callback.c building C source mn-main.c building C source mn-non-linear-range.c building C source mn-stock.c building C source mn-util.c building C source mn-vfs.c building C source mn-xml.c building C source nautilus-cell-renderer-pixbuf-emblem.c building class MNMboxMailboxBackend building class MNMozillaMailboxBackend gcc -c -o build/src/mail-notification-mn-mozilla-mailbox-backend.o -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -std=c99 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -DORBIT2=1 -D_REENTRANT -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/gmime-2.6 -D_LARGEFILE64_SOURCE -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O0 -g -pipe -Wformat -Werror=format-security -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 -DHAVE_REENTRANT_RESOLVER -DSTRING_ARCH_UNALIGNED -DHAVE_TIMEGM -DWITH_EVOLUTION=0 -DWITH_GMAIL=1 -DWITH_HOTMAIL=1 -DWITH_IMAP=1 -DWITH_MAILDIR=1 -DWITH_MBOX=1 -DWITH_MH=1 -DWITH_MOZILLA=1 -DWITH_POP3=1 -DWITH_SYLPHEED=1 -DWITH_YAHOO=1 -DWITH_IPV6=1 -DWITH_SASL=0 -DWITH_SSL=0 -DWITH_GCONF_SANITY_CHECK=1 -Isrc -Ibuild/src -DGETTEXT_PACKAGE='"mail-notification"' -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -DPACKAGE='"mail-notification"' -DVERSION='"5.4"' -DPREFIX='"/usr"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DPKGDATADIR='"/usr/share/mail-notification"' -DLIBDIR='"/usr/lib64"' -DGNOMELOCALEDIR='"/usr/share/locale"' -DENABLE_NLS -DWITH_GMIME=1 -D_GNU_SOURCE -MT build/src/mail-notification-mn-mozilla-mailbox-backend.o -MD -MP -MF build/src/mail-notification-mn-mozilla-mailbox-backend.o.deps build/src/mn-mozilla-mailbox-backend.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from build/src/mn-mozilla-mailbox-backend.c:11: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/mn-mozilla-mailbox-backend.gob: In function 'mn_mozilla_mailbox_backend_get_status_flags': src/mn-mozilla-mailbox-backend.gob:72:39: error: passing argument 1 of 'g_mime_object_get_header' from incompatible pointer type [-Wincompatible-pointer-types] 72 | header = g_mime_object_get_header(mime_message, header_name); | ^~~~~~~~~~~~ | | | GMimeMessage * {aka struct _GMimeMessage *} In file included from /usr/include/gmime-2.6/gmime/gmime.h:35, from build/src/mn-base-mbox-mailbox-backend.h:7, from build/src/mn-mozilla-mailbox-backend.h:7, from build/src/mn-mozilla-mailbox-backend.c:13: /usr/include/gmime-2.6/gmime/gmime-object.h:124:52: note: expected 'GMimeObject *' {aka 'struct _GMimeObject *'} but argument is of type 'GMimeMessage *' {aka 'struct _GMimeMessage *'} 124 | const char *g_mime_object_get_header (GMimeObject *object, const char *header); | ~~~~~~~~~~~~~^~~~~~ ERROR: command failed error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DDdOHU (%build) RPM build warnings: Macro expanded in comment on line 15: %{version}.tar.bz2 %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DDdOHU (%build) I: [iurt_root_command] ERROR: chroot