OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4119648K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72608K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped riscv,cpu_intc,2: 64 local interrupts mapped riscv,cpu_intc,3: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 4/8 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13, base_baud = 230400) is a 16550A OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4119648K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72608K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped riscv,cpu_intc,2: 64 local interrupts mapped riscv,cpu_intc,3: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 4/8 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13, base_baud = 230400) is a 16550A console [ttyS0] enabled console [ttyS0] enabled [drm] radeon kernel modesetting enabled. [drm] radeon kernel modesetting enabled. loop: module loaded loop: module loaded libphy: Fixed MDIO Bus: probed libphy: Fixed MDIO Bus: probed e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Copyright(c) 1999 - 2015 Intel Corporation. e1000e: Copyright(c) 1999 - 2015 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-pci: EHCI PCI platform driver ehci-platform: EHCI generic platform driver ehci-platform: EHCI generic platform driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-pci: OHCI PCI platform driver ohci-pci: OHCI PCI platform driver ohci-platform: OHCI generic platform driver ohci-platform: OHCI generic platform driver usbcore: registered new interface driver uas usbcore: registered new interface driver uas usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbhid: USB HID core driver NET: Registered protocol family 10 NET: Registered protocol family 10 Segment Routing with IPv6 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 17 Key type dns_resolver registered Key type dns_resolver registered bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] disabled bootconsole [early0] disabled Loading compiled-in X.509 certificates EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (vda): INFO: recovery required on readonly filesystem EXT4-fs (vda): write access will be enabled during recovery EXT4-fs (vda): recovery complete EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) readonly on device 254:0. Freeing unused kernel memory: 200K This architecture does not have kernel memory protection. EXT4-fs (vda): re-mounted. Opts: (null) Mon Feb 19 17:08:00 UTC 2018 1: lo: mtu 65536 qdisc noop state DOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe12:3456/64 scope link tentative valid_lft forever preferred_lft forever 3: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 default via 10.0.2.2 dev eth0 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 Welcome to the Fedora/RISC-V stage4 builder + set -e + exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + rpmbuild --rebuild /var/tmp/libgit2-0.24.2-2.fc25.src.rpm --define 'debug_package %{nil}' --undefine _annotated_build --define '_topdir /rpmbuild' --define '_missing_doc_files_terminate_build %{nil}' --define '_unitdir /usr/lib/systemd/system' --define '_sysctldir /usr/lib/sysctl.d' --define '_tmpfilesdir /usr/lib/tmpfiles.d' --define '_udevrulesdir /usr/lib/udev/rules.d' --define '_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d' --define '_emacs_sitelispdir /usr/share/emacs/site-lisp' --nocheck Installing /var/tmp/libgit2-0.24.2-2.fc25.src.rpm warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rHpGpj + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf libgit2-0.24.2 + /usr/bin/gzip -dc /rpmbuild/SOURCES/libgit2-0.24.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libgit2-0.24.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /rpmbuild/SOURCES/0001-commit-always-initialize-commit-message.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + find examples -name .gitignore -delete -print examples/.gitignore examples/network/.gitignore + sed -i 's|@CMAKE_INSTALL_PREFIX@/||' libgit2.pc.in + sed -i s/ionline/xonline/ CMakeLists.txt + rm -frv deps removed 'deps/regex/regex_internal.h' removed 'deps/regex/regex.h' removed 'deps/regex/regexec.c' removed 'deps/regex/regex_internal.c' removed 'deps/regex/regex.c' removed 'deps/regex/config.h' removed 'deps/regex/regcomp.c' removed directory 'deps/regex' removed 'deps/http-parser/http_parser.h' removed 'deps/http-parser/http_parser.c' removed 'deps/http-parser/LICENSE-MIT' removed directory 'deps/http-parser' removed 'deps/winhttp/winhttp.def' removed 'deps/winhttp/urlmon.h' removed 'deps/winhttp/winhttp.h' removed 'deps/winhttp/winhttp64.def' removed directory 'deps/winhttp' removed 'deps/zlib/zutil.h' removed 'deps/zlib/adler32.c' removed 'deps/zlib/zutil.c' removed 'deps/zlib/deflate.c' removed 'deps/zlib/zconf.h' removed 'deps/zlib/inftrees.h' removed 'deps/zlib/zlib.h' removed 'deps/zlib/inffast.h' removed 'deps/zlib/inflate.c' removed 'deps/zlib/inffast.c' removed 'deps/zlib/crc32.h' removed 'deps/zlib/inftrees.c' removed 'deps/zlib/trees.h' removed 'deps/zlib/crc32.c' removed 'deps/zlib/inffixed.h' removed 'deps/zlib/inflate.h' removed 'deps/zlib/trees.c' removed 'deps/zlib/infback.c' removed 'deps/zlib/deflate.h' removed directory 'deps/zlib' removed directory 'deps' + mkdir build + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SpDzjP + umask 022 + cd /rpmbuild/BUILD + cd libgit2-0.24.2 + pushd build /rpmbuild/BUILD/libgit2-0.24.2/build /rpmbuild/BUILD/libgit2-0.24.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DTHREADSAFE=ON .. -- The C compiler identification is GNU 7.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.1") -- Performing Test HAVE_STRUCT_STAT_ST_MTIM -- Performing Test HAVE_STRUCT_STAT_ST_MTIM - Success -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC - Failed -- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC -- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_NSEC -- Performing Test HAVE_STRUCT_STAT_NSEC - Success -- Checking for module 'libcurl' -- Found libcurl, version 7.58.0 -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.1.0g") -- Found HTTP_Parser: /usr/include -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Checking for module 'libssh2' -- Found libssh2, version 1.8.0 -- Looking for libssh2_userauth_publickey_frommemory in ssh2 -- Looking for libssh2_userauth_publickey_frommemory in ssh2 - found -- Performing Test IS_FVISIBILITY=HIDDEN_SUPPORTED -- Performing Test IS_FVISIBILITY=HIDDEN_SUPPORTED - Success -- Performing Test IS_WDOCUMENTATION_SUPPORTED -- Performing Test IS_WDOCUMENTATION_SUPPORTED - Failed -- Performing Test IS_WNO-MISSING-FIELD-INITIALIZERS_SUPPORTED -- Performing Test IS_WNO-MISSING-FIELD-INITIALIZERS_SUPPORTED - Success -- Performing Test IS_WSTRICT-ALIASING=2_SUPPORTED -- Performing Test IS_WSTRICT-ALIASING=2_SUPPORTED - Success random: crng init done -- Performing Test IS_WSTRICT-PROTOTYPES_SUPPORTED -- Performing Test IS_WSTRICT-PROTOTYPES_SUPPORTED - Success -- Performing Test IS_WDECLARATION-AFTER-STATEMENT_SUPPORTED -- Performing Test IS_WDECLARATION-AFTER-STATEMENT_SUPPORTED - Success -- Performing Test IS_WNO-UNUSED-CONST-VARIABLE_SUPPORTED -- Performing Test IS_WNO-UNUSED-CONST-VARIABLE_SUPPORTED - Success -- Performing Test IS_WNO-UNUSED-FUNCTION_SUPPORTED -- Performing Test IS_WNO-UNUSED-FUNCTION_SUPPORTED - Success -- Looking for futimens -- Looking for futimens - found -- Looking for qsort_r -- Looking for qsort_r - found -- Looking for qsort_s -- Looking for qsort_s - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Found PythonInterp: /usr/bin/python (found version "2.7.14") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /rpmbuild/BUILD/libgit2-0.24.2/build + /usr/bin/make -O -j4 /usr/bin/cmake -H/rpmbuild/BUILD/libgit2-0.24.2 -B/rpmbuild/BUILD/libgit2-0.24.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /rpmbuild/BUILD/libgit2-0.24.2/build/CMakeFiles /rpmbuild/BUILD/libgit2-0.24.2/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/libgit2_clar.dir/build.make CMakeFiles/libgit2_clar.dir/depend /usr/bin/make -f CMakeFiles/git2.dir/build.make CMakeFiles/git2.dir/depend make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' cd /rpmbuild/BUILD/libgit2-0.24.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /rpmbuild/BUILD/libgit2-0.24.2 /rpmbuild/BUILD/libgit2-0.24.2 /rpmbuild/BUILD/libgit2-0.24.2/build /rpmbuild/BUILD/libgit2-0.24.2/build /rpmbuild/BUILD/libgit2-0.24.2/build/CMakeFiles/git2.dir/DependInfo.cmake --color= Scanning dependencies of target git2 make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' /usr/bin/make -f CMakeFiles/git2.dir/build.make CMakeFiles/git2.dir/build make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 1%] Generating ../tests/clar.suite cd /rpmbuild/BUILD/libgit2-0.24.2/tests && /usr/bin/python generate.py -f -xonline -xstress . DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out Written `clar.suite` (2141 tests in 308 suites) make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 1%] Building C object CMakeFiles/git2.dir/src/annotated_commit.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/annotated_commit.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/annotated_commit.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 1%] Building C object CMakeFiles/git2.dir/src/attr_file.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/attr_file.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/attr_file.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 1%] Building C object CMakeFiles/git2.dir/src/attr.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/attr.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/attr.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 1%] Building C object CMakeFiles/git2.dir/src/attrcache.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/attrcache.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'attr_cache_upsert': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:108:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] old = git__compare_and_swap( ^~~ /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'attr_cache_remove': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:131:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] file = git__compare_and_swap(&entry->file[file->source], file, NULL); ^~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'attr_cache__free': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:319:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] git_strmap_foreach_value(cache->files, entry, { ^~~~~~~~~~~~~~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'git_attr_cache__do_init': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:396:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] cache = git__compare_and_swap(&repo->attrcache, NULL, cache); ^~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'git_attr_cache_flush': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:418:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] if (repo && (cache = git__swap(repo->attrcache, NULL)) != NULL) ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 1%] Building C object CMakeFiles/git2.dir/src/blame.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/blame.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/blame.c /rpmbuild/BUILD/libgit2-0.24.2/src/blame.c: In function 'load_blob': /rpmbuild/BUILD/libgit2-0.24.2/src/blame.c:306:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] error = git_object_lookup_bypath((git_object**)&blame->final_blob, ^~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 2%] Building C object CMakeFiles/git2.dir/src/blame_git.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/blame_git.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/blame_git.c /rpmbuild/BUILD/libgit2-0.24.2/src/blame_git.c: In function 'pass_whole_blame': /rpmbuild/BUILD/libgit2-0.24.2/src/blame_git.c:487:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] git_object_lookup((git_object**)&porigin->blob, blame->repository, ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 2%] Building C object CMakeFiles/git2.dir/src/blob.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/blob.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/blob.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 2%] Building C object CMakeFiles/git2.dir/src/buf_text.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/buf_text.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/buf_text.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 2%] Building C object CMakeFiles/git2.dir/src/branch.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/branch.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/branch.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 2%] Building C object CMakeFiles/git2.dir/src/cache.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/cache.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/cache.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 2%] Building C object CMakeFiles/git2.dir/src/buffer.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/buffer.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/buffer.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 3%] Building C object CMakeFiles/git2.dir/src/cherrypick.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/cherrypick.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/cherrypick.c /rpmbuild/BUILD/libgit2-0.24.2/src/cherrypick.c: In function 'git_cherrypick': /rpmbuild/BUILD/libgit2-0.24.2/src/cherrypick.c:200:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (error = git_reference_peel((git_object **)&our_commit, our_ref, GIT_OBJ_COMMIT)) < 0 || ^ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 3%] Building C object CMakeFiles/git2.dir/src/clone.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/clone.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/clone.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 3%] Building C object CMakeFiles/git2.dir/src/checkout.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/checkout.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/checkout.c /rpmbuild/BUILD/libgit2-0.24.2/src/checkout.c: In function 'git_checkout_tree': /rpmbuild/BUILD/libgit2-0.24.2/src/checkout.c:2683:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (git_object_peel((git_object **)&tree, treeish, GIT_OBJ_TREE) < 0) { ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 3%] Building C object CMakeFiles/git2.dir/src/commit_list.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/commit_list.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/commit_list.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 3%] Building C object CMakeFiles/git2.dir/src/commit.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/commit.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/commit.c /rpmbuild/BUILD/libgit2-0.24.2/src/commit.c: In function 'git_commit_nth_gen_ancestor': /rpmbuild/BUILD/libgit2-0.24.2/src/commit.c:569:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (git_object_dup((git_object **) ¤t, (git_object *) commit) < 0) ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 4%] Building C object CMakeFiles/git2.dir/src/config_cache.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/config_cache.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/config_cache.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 4%] Building C object CMakeFiles/git2.dir/src/crlf.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/crlf.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/crlf.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 3%] Building C object CMakeFiles/git2.dir/src/config.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/config.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/config.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 4%] Building C object CMakeFiles/git2.dir/src/curl_stream.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/curl_stream.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/curl_stream.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 4%] Building C object CMakeFiles/git2.dir/src/config_file.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/config_file.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/config_file.c /rpmbuild/BUILD/libgit2-0.24.2/src/config_file.c: In function 'config_iterator_next': /rpmbuild/BUILD/libgit2-0.24.2/src/config_file.c:400:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] err = git_strmap_next((void**) &var, &(it->iter), values); ^~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 4%] Building C object CMakeFiles/git2.dir/src/date.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/date.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/date.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 4%] Building C object CMakeFiles/git2.dir/src/delta-apply.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/delta-apply.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/delta-apply.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 5%] Building C object CMakeFiles/git2.dir/src/delta.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/delta.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/delta.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 5%] Building C object CMakeFiles/git2.dir/src/describe.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/describe.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c: In function 'commit_name_dup': /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c:200:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (in->tag && git_object_dup((git_object **) &name->tag, (git_object *) in->tag) < 0) ^~ /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c: In function 'git_describe_commit': /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c:689:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((error = git_object_peel((git_object **)(&commit), committish, GIT_OBJ_COMMIT)) < 0) ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 5%] Building C object CMakeFiles/git2.dir/src/diff_driver.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/diff_driver.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_driver.c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_driver.c: In function 'git_repository_driver_registry': /rpmbuild/BUILD/libgit2-0.24.2/src/diff_driver.c:148:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] reg = git__compare_and_swap(&repo->diff_drivers, NULL, reg); ^~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 5%] Building C object CMakeFiles/git2.dir/src/diff_file.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/diff_file.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_file.c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_file.c: In function 'diff_file_content_load_blob': /rpmbuild/BUILD/libgit2-0.24.2/src/diff_file.c:246:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (git_object **)&fc->blob, fc->repo, odb_obj, GIT_OBJ_BLOB); ^ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 5%] Building C object CMakeFiles/git2.dir/src/diff.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/diff.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c: In function 'diff_list_apply_options': /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c:21:64: warning: '~' on a boolean expression [-Wbool-operation] (VAL) ? ((DIFF)->opts.flags | (FLAG)) : ((DIFF)->opts.flags & ~(VAL)) ^ /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c:463:3: note: in expansion of macro 'DIFF_FLAG_SET' DIFF_FLAG_SET(diff, GIT_DIFF_IGNORE_CASE, icase); ^~~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c:21:64: note: did you mean to use logical not? (VAL) ? ((DIFF)->opts.flags | (FLAG)) : ((DIFF)->opts.flags & ~(VAL)) ^ /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c:463:3: note: in expansion of macro 'DIFF_FLAG_SET' DIFF_FLAG_SET(diff, GIT_DIFF_IGNORE_CASE, icase); ^~~~~~~~~~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' cd /rpmbuild/BUILD/libgit2-0.24.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /rpmbuild/BUILD/libgit2-0.24.2 /rpmbuild/BUILD/libgit2-0.24.2 /rpmbuild/BUILD/libgit2-0.24.2/build /rpmbuild/BUILD/libgit2-0.24.2/build /rpmbuild/BUILD/libgit2-0.24.2/build/CMakeFiles/libgit2_clar.dir/DependInfo.cmake --color= Scanning dependencies of target libgit2_clar make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' /usr/bin/make -f CMakeFiles/libgit2_clar.dir/build.make CMakeFiles/libgit2_clar.dir/build make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 5%] Building C object CMakeFiles/git2.dir/src/diff_patch.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/diff_patch.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_patch.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/git2.dir/src/diff_stats.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/diff_stats.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_stats.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/git2.dir/src/diff_print.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/diff_print.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_print.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/libgit2_clar.dir/src/annotated_commit.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/annotated_commit.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/annotated_commit.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/git2.dir/src/diff_xdiff.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/diff_xdiff.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_xdiff.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/git2.dir/src/errors.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/errors.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/errors.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/git2.dir/src/diff_tform.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/diff_tform.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_tform.c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_tform.c: In function 'similarity_sig': /rpmbuild/BUILD/libgit2-0.24.2/src/diff_tform.c:496:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (git_object **)&info->blob, info->repo, ^ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/libgit2_clar.dir/src/attr_file.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/attr_file.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/attr_file.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/libgit2_clar.dir/src/attr.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/attr.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/attr.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/git2.dir/src/fetch.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/fetch.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/fetch.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 6%] Building C object CMakeFiles/libgit2_clar.dir/src/attrcache.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/attrcache.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'attr_cache_upsert': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:108:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] old = git__compare_and_swap( ^~~ /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'attr_cache_remove': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:131:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] file = git__compare_and_swap(&entry->file[file->source], file, NULL); ^~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'attr_cache__free': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:319:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] git_strmap_foreach_value(cache->files, entry, { ^~~~~~~~~~~~~~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'git_attr_cache__do_init': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:396:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] cache = git__compare_and_swap(&repo->attrcache, NULL, cache); ^~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c: In function 'git_attr_cache_flush': /rpmbuild/BUILD/libgit2-0.24.2/src/attrcache.c:418:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] if (repo && (cache = git__swap(repo->attrcache, NULL)) != NULL) ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 7%] Building C object CMakeFiles/git2.dir/src/fetchhead.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/fetchhead.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/fetchhead.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 7%] Building C object CMakeFiles/git2.dir/src/filebuf.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/filebuf.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/filebuf.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 7%] Building C object CMakeFiles/libgit2_clar.dir/src/blame.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/blame.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/blame.c /rpmbuild/BUILD/libgit2-0.24.2/src/blame.c: In function 'load_blob': /rpmbuild/BUILD/libgit2-0.24.2/src/blame.c:306:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] error = git_object_lookup_bypath((git_object**)&blame->final_blob, ^~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/libgit2_clar.dir/src/blob.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/blob.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/blob.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/libgit2_clar.dir/src/blame_git.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/blame_git.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/blame_git.c /rpmbuild/BUILD/libgit2-0.24.2/src/blame_git.c: In function 'pass_whole_blame': /rpmbuild/BUILD/libgit2-0.24.2/src/blame_git.c:487:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] git_object_lookup((git_object**)&porigin->blob, blame->repository, ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/git2.dir/src/fnmatch.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/fnmatch.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/fnmatch.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 7%] Building C object CMakeFiles/git2.dir/src/fileops.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/fileops.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/fileops.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/libgit2_clar.dir/src/branch.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/branch.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/branch.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/libgit2_clar.dir/src/buf_text.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/buf_text.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/buf_text.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/git2.dir/src/filter.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/filter.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/filter.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/git2.dir/src/global.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/global.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/global.c /rpmbuild/BUILD/libgit2-0.24.2/src/global.c: In function 'shutdown_common': /rpmbuild/BUILD/libgit2-0.24.2/src/global.c:80:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] git_global_shutdown_fn cb = git__swap( ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/libgit2_clar.dir/src/buffer.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/buffer.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/buffer.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 8%] Building C object CMakeFiles/libgit2_clar.dir/src/cache.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/cache.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/cache.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/git2.dir/src/graph.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/graph.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/graph.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/git2.dir/src/hash.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/hash.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/hash.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/libgit2_clar.dir/src/cherrypick.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/cherrypick.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/cherrypick.c /rpmbuild/BUILD/libgit2-0.24.2/src/cherrypick.c: In function 'git_cherrypick': /rpmbuild/BUILD/libgit2-0.24.2/src/cherrypick.c:200:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (error = git_reference_peel((git_object **)&our_commit, our_ref, GIT_OBJ_COMMIT)) < 0 || ^ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/git2.dir/src/hashsig.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/hashsig.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/hashsig.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/libgit2_clar.dir/src/clone.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/clone.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/clone.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 9%] Building C object CMakeFiles/libgit2_clar.dir/src/checkout.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/checkout.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/checkout.c /rpmbuild/BUILD/libgit2-0.24.2/src/checkout.c: In function 'git_checkout_tree': /rpmbuild/BUILD/libgit2-0.24.2/src/checkout.c:2683:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (git_object_peel((git_object **)&tree, treeish, GIT_OBJ_TREE) < 0) { ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/git2.dir/src/ident.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/ident.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/ident.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/libgit2_clar.dir/src/commit.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/commit.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/commit.c /rpmbuild/BUILD/libgit2-0.24.2/src/commit.c: In function 'git_commit_nth_gen_ancestor': /rpmbuild/BUILD/libgit2-0.24.2/src/commit.c:569:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (git_object_dup((git_object **) ¤t, (git_object *) commit) < 0) ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/libgit2_clar.dir/src/commit_list.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/commit_list.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/commit_list.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/git2.dir/src/ignore.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/ignore.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/ignore.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/libgit2_clar.dir/src/config.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/config.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/config.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 11%] Building C object CMakeFiles/git2.dir/src/indexer.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/indexer.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/indexer.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 12%] Building C object CMakeFiles/libgit2_clar.dir/src/config_cache.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/config_cache.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/config_cache.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 11%] Building C object CMakeFiles/git2.dir/src/iterator.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/iterator.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c: In function 'tree_iterator__push_frame': /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c:528:4: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] (void **)tf->entries, tf->n_entries, tree_iterator__ci_cmp, tf); ^ /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c:532:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] git__bsearch_r((void **)tf->entries, tf->n_entries, head, ^~~~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c: In function 'git_iterator_for_tree': /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c:820:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((error = git_object_dup((git_object **)&tree, (git_object *)tree)) < 0) ^~ /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c: In function 'git_iterator_for_workdir_ext': /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c:1850:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (tree && (error = git_object_dup((git_object **)&wi->tree, (git_object *)tree)) < 0) ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 12%] Building C object CMakeFiles/libgit2_clar.dir/src/crlf.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/crlf.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/crlf.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 12%] Building C object CMakeFiles/libgit2_clar.dir/src/config_file.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/config_file.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/config_file.c /rpmbuild/BUILD/libgit2-0.24.2/src/config_file.c: In function 'config_iterator_next': /rpmbuild/BUILD/libgit2-0.24.2/src/config_file.c:400:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] err = git_strmap_next((void**) &var, &(it->iter), values); ^~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 12%] Building C object CMakeFiles/libgit2_clar.dir/src/curl_stream.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/curl_stream.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/curl_stream.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 12%] Building C object CMakeFiles/libgit2_clar.dir/src/delta-apply.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/delta-apply.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/delta-apply.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 12%] Building C object CMakeFiles/git2.dir/src/merge.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/merge.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/merge.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 12%] Building C object CMakeFiles/libgit2_clar.dir/src/date.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/date.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/date.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 13%] Building C object CMakeFiles/libgit2_clar.dir/src/delta.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/delta.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/delta.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 13%] Building C object CMakeFiles/git2.dir/src/merge_file.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/merge_file.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/merge_file.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 13%] Building C object CMakeFiles/git2.dir/src/message.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/message.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/message.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 13%] Building C object CMakeFiles/libgit2_clar.dir/src/describe.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/describe.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c: In function 'commit_name_dup': /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c:200:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (in->tag && git_object_dup((git_object **) &name->tag, (git_object *) in->tag) < 0) ^~ /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c: In function 'git_describe_commit': /rpmbuild/BUILD/libgit2-0.24.2/src/describe.c:689:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((error = git_object_peel((git_object **)(&commit), committish, GIT_OBJ_COMMIT)) < 0) ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 10%] Building C object CMakeFiles/git2.dir/src/index.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/index.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/index.c /rpmbuild/BUILD/libgit2-0.24.2/src/index.c: In function 'git_index_read_tree': /rpmbuild/BUILD/libgit2-0.24.2/src/index.c:2914:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] entries_map = git__swap(index->entries_map, entries_map); ^~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/index.c: In function 'git_index_read_index': /rpmbuild/BUILD/libgit2-0.24.2/src/index.c:3044:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] new_entries_map = git__swap(index->entries_map, new_entries_map); ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 13%] Building C object CMakeFiles/git2.dir/src/mwindow.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/mwindow.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/mwindow.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 14%] Building C object CMakeFiles/git2.dir/src/netops.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/netops.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/netops.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 14%] Building C object CMakeFiles/libgit2_clar.dir/src/diff_driver.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/diff_driver.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_driver.c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_driver.c: In function 'git_repository_driver_registry': /rpmbuild/BUILD/libgit2-0.24.2/src/diff_driver.c:148:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] reg = git__compare_and_swap(&repo->diff_drivers, NULL, reg); ^~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 13%] Building C object CMakeFiles/libgit2_clar.dir/src/diff.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/diff.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c: In function 'diff_list_apply_options': /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c:21:64: warning: '~' on a boolean expression [-Wbool-operation] (VAL) ? ((DIFF)->opts.flags | (FLAG)) : ((DIFF)->opts.flags & ~(VAL)) ^ /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c:463:3: note: in expansion of macro 'DIFF_FLAG_SET' DIFF_FLAG_SET(diff, GIT_DIFF_IGNORE_CASE, icase); ^~~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c:21:64: note: did you mean to use logical not? (VAL) ? ((DIFF)->opts.flags | (FLAG)) : ((DIFF)->opts.flags & ~(VAL)) ^ /rpmbuild/BUILD/libgit2-0.24.2/src/diff.c:463:3: note: in expansion of macro 'DIFF_FLAG_SET' DIFF_FLAG_SET(diff, GIT_DIFF_IGNORE_CASE, icase); ^~~~~~~~~~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 14%] Building C object CMakeFiles/libgit2_clar.dir/src/diff_file.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/diff_file.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_file.c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_file.c: In function 'diff_file_content_load_blob': /rpmbuild/BUILD/libgit2-0.24.2/src/diff_file.c:246:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (git_object **)&fc->blob, fc->repo, odb_obj, GIT_OBJ_BLOB); ^ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 14%] Building C object CMakeFiles/git2.dir/src/object_api.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/object_api.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/object_api.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 14%] Building C object CMakeFiles/git2.dir/src/notes.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/notes.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/notes.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 14%] Building C object CMakeFiles/git2.dir/src/object.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/object.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/object.c /rpmbuild/BUILD/libgit2-0.24.2/src/object.c: In function 'git_object_lookup_bypath': /rpmbuild/BUILD/libgit2-0.24.2/src/object.c:402:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((error = git_object_peel((git_object**)&tree, treeish, GIT_OBJ_TREE)) < 0 || ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 15%] Building C object CMakeFiles/libgit2_clar.dir/src/diff_stats.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/diff_stats.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_stats.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 15%] Building C object CMakeFiles/libgit2_clar.dir/src/diff_print.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/diff_print.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_print.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 15%] Building C object CMakeFiles/git2.dir/src/odb.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/odb.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/odb.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 16%] Building C object CMakeFiles/git2.dir/src/odb_loose.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/odb_loose.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/odb_loose.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 14%] Building C object CMakeFiles/libgit2_clar.dir/src/diff_patch.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/diff_patch.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_patch.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 16%] Building C object CMakeFiles/git2.dir/src/odb_mempack.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/odb_mempack.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/odb_mempack.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 16%] Building C object CMakeFiles/git2.dir/src/odb_pack.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/odb_pack.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/odb_pack.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 16%] Building C object CMakeFiles/libgit2_clar.dir/src/diff_xdiff.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/diff_xdiff.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_xdiff.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 16%] Building C object CMakeFiles/git2.dir/src/oid.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/oid.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/oid.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 16%] Building C object CMakeFiles/libgit2_clar.dir/src/errors.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/errors.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/errors.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 16%] Building C object CMakeFiles/libgit2_clar.dir/src/diff_tform.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/diff_tform.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_tform.c /rpmbuild/BUILD/libgit2-0.24.2/src/diff_tform.c: In function 'similarity_sig': /rpmbuild/BUILD/libgit2-0.24.2/src/diff_tform.c:496:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (git_object **)&info->blob, info->repo, ^ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 17%] Building C object CMakeFiles/git2.dir/src/oidarray.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/oidarray.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/oidarray.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 17%] Building C object CMakeFiles/libgit2_clar.dir/src/fetch.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/fetch.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/fetch.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 17%] Building C object CMakeFiles/git2.dir/src/openssl_stream.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/openssl_stream.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c: In function 'bio_create': /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:159:3: error: dereferencing pointer to incomplete type 'BIO {aka struct bio_st}' b->init = 1; ^~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c: At top level: /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:217:1: error: variable 'git_stream_bio_method' has initializer but incomplete type static BIO_METHOD git_stream_bio_method = { ^~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:218:2: warning: excess elements in struct initializer BIO_TYPE_SOURCE_SINK, ^~~~~~~~~~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:218:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:219:2: warning: excess elements in struct initializer "git_stream", ^~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:219:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:220:2: warning: excess elements in struct initializer bio_write, ^~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:220:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:221:2: warning: excess elements in struct initializer bio_read, ^~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:221:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:222:2: warning: excess elements in struct initializer bio_puts, ^~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:222:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:223:2: warning: excess elements in struct initializer bio_gets, ^~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:223:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:224:2: warning: excess elements in struct initializer bio_ctrl, ^~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:224:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:225:2: warning: excess elements in struct initializer bio_create, ^~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:225:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:226:2: warning: excess elements in struct initializer bio_destroy ^~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:226:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c: In function 'verify_server_cert': /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:342:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] const char *name = (char *) ASN1_STRING_data(gn->d.ia5); ^~~~~ In file included from /usr/include/openssl/bn.h:31:0, from /usr/include/openssl/asn1.h:24, from /usr/include/openssl/objects.h:916, from /usr/include/openssl/evp.h:27, from /usr/include/openssl/x509.h:23, from /usr/include/openssl/ssl.h:50, from /rpmbuild/BUILD/libgit2-0.24.2/src/global.h:22, from /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:12: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:397:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] memcpy(peer_cn, ASN1_STRING_data(str), size); ^~~~~~ In file included from /usr/include/openssl/bn.h:31:0, from /usr/include/openssl/asn1.h:24, from /usr/include/openssl/objects.h:916, from /usr/include/openssl/evp.h:27, from /usr/include/openssl/x509.h:23, from /usr/include/openssl/ssl.h:50, from /rpmbuild/BUILD/libgit2-0.24.2/src/global.h:22, from /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:12: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c: At top level: /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:217:19: error: storage size of 'git_stream_bio_method' isn't known static BIO_METHOD git_stream_bio_method = { ^~~~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/git2.dir/build.make:1578: CMakeFiles/git2.dir/src/openssl_stream.c.o] Error 1 make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 17%] Building C object CMakeFiles/libgit2_clar.dir/src/fetchhead.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/fetchhead.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/fetchhead.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 17%] Building C object CMakeFiles/libgit2_clar.dir/src/filebuf.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/filebuf.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/filebuf.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 18%] Building C object CMakeFiles/libgit2_clar.dir/src/fnmatch.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/fnmatch.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/fnmatch.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 19%] Building C object CMakeFiles/libgit2_clar.dir/src/global.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/global.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/global.c /rpmbuild/BUILD/libgit2-0.24.2/src/global.c: In function 'shutdown_common': /rpmbuild/BUILD/libgit2-0.24.2/src/global.c:80:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] git_global_shutdown_fn cb = git__swap( ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 18%] Building C object CMakeFiles/libgit2_clar.dir/src/fileops.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/fileops.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/fileops.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 18%] Building C object CMakeFiles/libgit2_clar.dir/src/filter.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/filter.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/filter.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 18%] Building C object CMakeFiles/git2.dir/src/pack-objects.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -fPIC -o CMakeFiles/git2.dir/src/pack-objects.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/pack-objects.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/git2.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 19%] Building C object CMakeFiles/libgit2_clar.dir/src/hash.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/hash.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/hash.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 19%] Building C object CMakeFiles/libgit2_clar.dir/src/graph.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/graph.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/graph.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 19%] Building C object CMakeFiles/libgit2_clar.dir/src/hashsig.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/hashsig.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/hashsig.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 19%] Building C object CMakeFiles/libgit2_clar.dir/src/ident.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/ident.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/ident.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 19%] Building C object CMakeFiles/libgit2_clar.dir/src/ignore.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/ignore.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/ignore.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 20%] Building C object CMakeFiles/libgit2_clar.dir/src/indexer.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/indexer.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/indexer.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 20%] Building C object CMakeFiles/libgit2_clar.dir/src/iterator.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/iterator.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c: In function 'tree_iterator__push_frame': /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c:528:4: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] (void **)tf->entries, tf->n_entries, tree_iterator__ci_cmp, tf); ^ /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c:532:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] git__bsearch_r((void **)tf->entries, tf->n_entries, head, ^~~~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c: In function 'git_iterator_for_tree': /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c:820:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((error = git_object_dup((git_object **)&tree, (git_object *)tree)) < 0) ^~ /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c: In function 'git_iterator_for_workdir_ext': /rpmbuild/BUILD/libgit2-0.24.2/src/iterator.c:1850:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (tree && (error = git_object_dup((git_object **)&wi->tree, (git_object *)tree)) < 0) ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 20%] Building C object CMakeFiles/libgit2_clar.dir/src/message.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/message.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/message.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 20%] Building C object CMakeFiles/libgit2_clar.dir/src/merge_file.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/merge_file.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/merge_file.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 21%] Building C object CMakeFiles/libgit2_clar.dir/src/netops.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/netops.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/netops.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 20%] Building C object CMakeFiles/libgit2_clar.dir/src/merge.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/merge.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/merge.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 21%] Building C object CMakeFiles/libgit2_clar.dir/src/mwindow.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/mwindow.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/mwindow.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 21%] Building C object CMakeFiles/libgit2_clar.dir/src/object_api.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/object_api.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/object_api.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 21%] Building C object CMakeFiles/libgit2_clar.dir/src/object.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/object.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/object.c /rpmbuild/BUILD/libgit2-0.24.2/src/object.c: In function 'git_object_lookup_bypath': /rpmbuild/BUILD/libgit2-0.24.2/src/object.c:402:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((error = git_object_peel((git_object**)&tree, treeish, GIT_OBJ_TREE)) < 0 || ^~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 21%] Building C object CMakeFiles/libgit2_clar.dir/src/notes.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/notes.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/notes.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 22%] Building C object CMakeFiles/libgit2_clar.dir/src/odb_loose.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/odb_loose.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/odb_loose.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 22%] Building C object CMakeFiles/libgit2_clar.dir/src/odb_mempack.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/odb_mempack.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/odb_mempack.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 21%] Building C object CMakeFiles/libgit2_clar.dir/src/odb.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/odb.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/odb.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 20%] Building C object CMakeFiles/libgit2_clar.dir/src/index.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/index.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/index.c /rpmbuild/BUILD/libgit2-0.24.2/src/index.c: In function 'git_index_read_tree': /rpmbuild/BUILD/libgit2-0.24.2/src/index.c:2914:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] entries_map = git__swap(index->entries_map, entries_map); ^~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/index.c: In function 'git_index_read_index': /rpmbuild/BUILD/libgit2-0.24.2/src/index.c:3044:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] new_entries_map = git__swap(index->entries_map, new_entries_map); ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 22%] Building C object CMakeFiles/libgit2_clar.dir/src/oidarray.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/oidarray.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/oidarray.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 22%] Building C object CMakeFiles/libgit2_clar.dir/src/odb_pack.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/odb_pack.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/odb_pack.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 22%] Building C object CMakeFiles/libgit2_clar.dir/src/oid.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/oid.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/oid.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 22%] Building C object CMakeFiles/libgit2_clar.dir/src/openssl_stream.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/openssl_stream.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c: In function 'bio_create': /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:159:3: error: dereferencing pointer to incomplete type 'BIO {aka struct bio_st}' b->init = 1; ^~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c: At top level: /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:217:1: error: variable 'git_stream_bio_method' has initializer but incomplete type static BIO_METHOD git_stream_bio_method = { ^~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:218:2: warning: excess elements in struct initializer BIO_TYPE_SOURCE_SINK, ^~~~~~~~~~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:218:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:219:2: warning: excess elements in struct initializer "git_stream", ^~~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:219:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:220:2: warning: excess elements in struct initializer bio_write, ^~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:220:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:221:2: warning: excess elements in struct initializer bio_read, ^~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:221:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:222:2: warning: excess elements in struct initializer bio_puts, ^~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:222:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:223:2: warning: excess elements in struct initializer bio_gets, ^~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:223:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:224:2: warning: excess elements in struct initializer bio_ctrl, ^~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:224:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:225:2: warning: excess elements in struct initializer bio_create, ^~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:225:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:226:2: warning: excess elements in struct initializer bio_destroy ^~~~~~~~~~~ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:226:2: note: (near initialization for 'git_stream_bio_method') /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c: In function 'verify_server_cert': /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:342:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] const char *name = (char *) ASN1_STRING_data(gn->d.ia5); ^~~~~ In file included from /usr/include/openssl/bn.h:31:0, from /usr/include/openssl/asn1.h:24, from /usr/include/openssl/objects.h:916, from /usr/include/openssl/evp.h:27, from /usr/include/openssl/x509.h:23, from /usr/include/openssl/ssl.h:50, from /rpmbuild/BUILD/libgit2-0.24.2/src/global.h:22, from /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:12: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:397:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] memcpy(peer_cn, ASN1_STRING_data(str), size); ^~~~~~ In file included from /usr/include/openssl/bn.h:31:0, from /usr/include/openssl/asn1.h:24, from /usr/include/openssl/objects.h:916, from /usr/include/openssl/evp.h:27, from /usr/include/openssl/x509.h:23, from /usr/include/openssl/ssl.h:50, from /rpmbuild/BUILD/libgit2-0.24.2/src/global.h:22, from /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:12: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c: At top level: /rpmbuild/BUILD/libgit2-0.24.2/src/openssl_stream.c:217:19: error: storage size of 'git_stream_bio_method' isn't known static BIO_METHOD git_stream_bio_method = { ^~~~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/libgit2_clar.dir/build.make:1936: CMakeFiles/libgit2_clar.dir/src/openssl_stream.c.o] Error 1 make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 23%] Building C object CMakeFiles/libgit2_clar.dir/src/pack.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/pack.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/pack.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 23%] Building C object CMakeFiles/libgit2_clar.dir/src/path.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/path.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/path.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[2]: Entering directory '/rpmbuild/BUILD/libgit2-0.24.2/build' [ 23%] Building C object CMakeFiles/libgit2_clar.dir/src/pack-objects.c.o /usr/bin/cc -DCLAR_FIXTURE_PATH=\"/rpmbuild/BUILD/libgit2-0.24.2/tests/resources/\" -DCLAR_RESOURCES=\"\" -DCLAR_TMPDIR=\"libgit2_tests\" -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_SSH -DGIT_SSH_MEMORY_CREDENTIALS -DGIT_THREADS -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -I/rpmbuild/BUILD/libgit2-0.24.2/src -I/rpmbuild/BUILD/libgit2-0.24.2/include -I/rpmbuild/BUILD/libgit2-0.24.2/tests -D_GNU_SOURCE -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-const-variable -Wno-unused-function -g -o CMakeFiles/libgit2_clar.dir/src/pack-objects.c.o -c /rpmbuild/BUILD/libgit2-0.24.2/src/pack-objects.c make[2]: Leaving directory '/rpmbuild/BUILD/libgit2-0.24.2/build' make[1]: *** [CMakeFiles/Makefile2:71: CMakeFiles/libgit2_clar.dir/all] Error 2 make: *** [Makefile:142: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.SpDzjP (%build) RPM build errors: user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root Bad exit status from /var/tmp/rpm-tmp.SpDzjP (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ mount.static -o remount,ro / ++ poweroff reboot: Power down Power off