Skip to content

Instantly share code, notes, and snippets.

@shtirlic
Created May 13, 2020 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shtirlic/9d6560531af0dd37186ee4ea8c3343bf to your computer and use it in GitHub Desktop.
Save shtirlic/9d6560531af0dd37186ee4ea8c3343bf to your computer and use it in GitHub Desktop.
Mock Version: 1.4.21
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/linux.spec'], chrootPath='/var/lib/mock/clear-linux/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/var/tmp/ccache', 'CCACHE_UMASK': '002'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fb7cd1a2640>timeout=0uid=1000gid=1000user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--console=pipe', '--bind=/tmp/mock-resolv.49hnctb4:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--console=pipe', '--bind=/tmp/mock-resolv.49hnctb4:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f4017fe7c2234aaf8f3c059883188b96', '-D', '/var/lib/mock/clear-linux/root', '-a', '--capability=cap_ipc_lock', '--console=pipe', '--bind=/tmp/mock-resolv.49hnctb4:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '--setenv=CCACHE_DIR=/var/tmp/ccache', '--setenv=CCACHE_UMASK=002', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/linux.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/var/tmp/ccache', 'CCACHE_UMASK': '002'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/linux-5.6.12-13373.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/linux.spec'], chrootPath='/var/lib/mock/clear-linux/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/var/tmp/ccache', 'CCACHE_UMASK': '002'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fb7cd1a2640>timeout=0uid=1000gid=1000user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--console=pipe', '--bind=/tmp/mock-resolv.49hnctb4:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--console=pipe', '--bind=/tmp/mock-resolv.49hnctb4:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '43c05a6019cf4a878e030aa03f985599', '-D', '/var/lib/mock/clear-linux/root', '-a', '--capability=cap_ipc_lock', '--console=pipe', '--bind=/tmp/mock-resolv.49hnctb4:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '--setenv=CCACHE_DIR=/var/tmp/ccache', '--setenv=CCACHE_UMASK=002', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/linux.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/var/tmp/ccache', 'CCACHE_UMASK': '002'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RgHwZs
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=en_US.UTF-8
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf linux-5.6.12
+ /usr/bin/xz -dc /builddir/build/SOURCES/linux-5.6.12.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd linux-5.6.12
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #101 (0101-i8042-decrease-debug-message-level-to-info.patch):
+ echo 'Patch #101 (0101-i8042-decrease-debug-message-level-to-info.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/input/serio/i8042.c
Patch #102 (0102-Increase-the-ext4-default-commit-age.patch):
+ echo 'Patch #102 (0102-Increase-the-ext4-default-commit-age.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file include/linux/jbd2.h
+ echo 'Patch #103 (0103-silence-rapl.patch):'
Patch #103 (0103-silence-rapl.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/powercap/intel_rapl_common.c
+ echo 'Patch #104 (0104-pci-pme-wakeups.patch):'
Patch #104 (0104-pci-pme-wakeups.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/pci/pci.c
+ echo 'Patch #105 (0105-ksm-wakeups.patch):'
Patch #105 (0105-ksm-wakeups.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file kernel/watchdog.c
patching file mm/ksm.c
+ echo 'Patch #106 (0106-intel_idle-tweak-cpuidle-cstates.patch):'
Patch #106 (0106-intel_idle-tweak-cpuidle-cstates.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/idle/intel_idle.c
+ echo 'Patch #107 (0107-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch):'
Patch #107 (0107-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file arch/x86/kernel/alternative.c
+ echo 'Patch #108 (0108-smpboot-reuse-timer-calibration.patch):'
Patch #108 (0108-smpboot-reuse-timer-calibration.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file arch/x86/kernel/tsc.c
Patch #109 (0109-raid6-add-Kconfig-option-to-skip-raid6-benchmarking.patch):
+ echo 'Patch #109 (0109-raid6-add-Kconfig-option-to-skip-raid6-benchmarking.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file lib/Kconfig
patching file lib/raid6/Kconfig
patching file lib/raid6/algos.c
+ echo 'Patch #110 (0110-Initialize-ata-before-graphics.patch):'
Patch #110 (0110-Initialize-ata-before-graphics.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/Makefile
Patch #111 (0111-give-rdrand-some-credit.patch):
+ echo 'Patch #111 (0111-give-rdrand-some-credit.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/char/random.c
+ echo 'Patch #112 (0112-ipv4-tcp-allow-the-memory-tuning-for-tcp-to-go-a-lit.patch):'
Patch #112 (0112-ipv4-tcp-allow-the-memory-tuning-for-tcp-to-go-a-lit.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file net/ipv4/tcp.c
+ echo 'Patch #113 (0113-kernel-time-reduce-ntp-wakeups.patch):'
Patch #113 (0113-kernel-time-reduce-ntp-wakeups.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file kernel/time/ntp.c
+ echo 'Patch #114 (0114-init-wait-for-partition-and-retry-scan.patch):'
Patch #114 (0114-init-wait-for-partition-and-retry-scan.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file init/do_mounts.c
+ echo 'Patch #115 (0115-print-fsync-count-for-bootchart.patch):'
Patch #115 (0115-print-fsync-count-for-bootchart.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file block/blk-core.c
patching file include/linux/sched.h
patching file kernel/sched/debug.c
+ echo 'Patch #116 (0116-Add-boot-option-to-allow-unsigned-modules.patch):'
Patch #116 (0116-Add-boot-option-to-allow-unsigned-modules.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file kernel/module.c
Patch #117 (0117-Enable-stateless-firmware-loading.patch):
+ echo 'Patch #117 (0117-Enable-stateless-firmware-loading.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/base/firmware_loader/main.c
+ echo 'Patch #118 (0118-Migrate-some-systemd-defaults-to-the-kernel-defaults.patch):'
Patch #118 (0118-Migrate-some-systemd-defaults-to-the-kernel-defaults.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/net/dummy.c
patching file include/uapi/linux/if_bonding.h
+ echo 'Patch #119 (0119-xattr-allow-setting-user.-attributes-on-symlinks-by-.patch):'
Patch #119 (0119-xattr-allow-setting-user.-attributes-on-symlinks-by-.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file fs/xattr.c
+ echo 'Patch #120 (0120-add-scheduler-turbo3-patch.patch):'
Patch #120 (0120-add-scheduler-turbo3-patch.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file arch/x86/kernel/itmt.c
patching file kernel/sched/fair.c
+ echo 'Patch #121 (0121-use-lfence-instead-of-rep-and-nop.patch):'
Patch #121 (0121-use-lfence-instead-of-rep-and-nop.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file arch/x86/include/asm/processor.h
Patch #122 (0122-do-accept-in-LIFO-order-for-cache-efficiency.patch):
+ echo 'Patch #122 (0122-do-accept-in-LIFO-order-for-cache-efficiency.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file include/linux/wait.h
patching file kernel/sched/wait.c
patching file net/ipv4/inet_connection_sock.c
+ echo 'Patch #123 (0123-locking-rwsem-spin-faster.patch):'
Patch #123 (0123-locking-rwsem-spin-faster.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file kernel/locking/rwsem.c
+ echo 'Patch #124 (0124-ata-libahci-ignore-staggered-spin-up.patch):'
Patch #124 (0124-ata-libahci-ignore-staggered-spin-up.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/ata/libahci.c
Patch #125 (0125-print-CPU-that-faults.patch):
+ echo 'Patch #125 (0125-print-CPU-that-faults.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file arch/x86/mm/fault.c
+ echo 'Patch #126 (0126-x86-microcode-Force-update-a-uCode-even-if-the-rev-i.patch):'
Patch #126 (0126-x86-microcode-Force-update-a-uCode-even-if-the-rev-i.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file arch/x86/kernel/cpu/microcode/core.c
patching file arch/x86/kernel/cpu/microcode/intel.c
+ echo 'Patch #127 (0127-x86-microcode-echo-2-reload-to-force-load-ucode.patch):'
Patch #127 (0127-x86-microcode-echo-2-reload-to-force-load-ucode.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file arch/x86/kernel/cpu/microcode/core.c
patching file arch/x86/kernel/cpu/microcode/intel.c
+ echo 'Patch #128 (0128-fix-bug-in-ucode-force-reload-revision-check.patch):'
Patch #128 (0128-fix-bug-in-ucode-force-reload-revision-check.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file arch/x86/kernel/cpu/microcode/intel.c
+ echo 'Patch #129 (0129-nvme-workaround.patch):'
Patch #129 (0129-nvme-workaround.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/nvme/host/core.c
+ echo 'Patch #130 (0130-Don-t-report-an-error-if-PowerClamp-run-on-other-CPU.patch):'
Patch #130 (0130-Don-t-report-an-error-if-PowerClamp-run-on-other-CPU.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file drivers/thermal/intel/intel_powerclamp.c
+ echo 'Patch #131 (0131-overload-on-wakeup.patch):'
Patch #131 (0131-overload-on-wakeup.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2
patching file kernel/sched/fair.c
+ cp /builddir/build/SOURCES/config .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Mt83Bu
+ umask 022
+ cd /builddir/build/BUILD
+ cd linux-5.6.12
+ LANG=en_US.UTF-8
+ export LANG
+ unset DISPLAY
+ unset PYTHONOPTIMIZE
+ CFLAGS='-O2 -g -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,-z,now,-z,relro,-z,max-page-size=0x1000,-z,separate-code -Wno-error -ftree-vectorize -ftree-slp-vectorize -Wl,--enable-new-dtags -fcf-protection=return -Wl,--build-id=sha1 -Wa,-mbranches-within-32B-boundaries -m64 -march=westmere -mtune=haswell -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wp,-D_REENTRANT'
+ export CFLAGS
+ http_proxy=http://127.0.0.1:9/
+ export http_proxy
+ https_proxy=http://127.0.0.1:9/
+ export https_proxy
+ ftp_proxy=http://127.0.0.1:9/
+ export ftp_proxy
+ no_proxy=localhost,127.0.0.1,0.0.0.0
+ export no_proxy
+ CXXFLAGS='-O2 -g -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,-z,now,-z,relro,-z,max-page-size=0x1000,-z,separate-code -Wno-error -ftree-vectorize -ftree-slp-vectorize -Wl,--enable-new-dtags -fcf-protection=return -Wl,--build-id=sha1 -Wa,-mbranches-within-32B-boundaries -m64 -march=westmere -mtune=haswell -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wp,-D_REENTRANT'
+ export CXXFLAGS
+ FFLAGS='-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -malign-data=abi -fno-semantic-interposition -ftree-vectorize -ftree-loop-vectorize -Wl,--enable-new-dtags -Wa,-mbranches-within-32B-boundaries '
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig
+ export PKG_CONFIG_LIBDIR
+ PATH=/usr/lib64/ccache/bin:/usr/local/bin:/usr/bin
+ export PATH
+ BuildKernel native
+ Target=native
+ Arch=x86_64
+ ExtraVer=-13373.native
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -13373.native/' Makefile
+ make O=native -s mrproper
+ cp config native/.config
+ make O=native -s ARCH=x86_64 olddefconfig
+ make O=native -s ARCH=x86_64 CONFIG_DEBUG_SECTION_MISMATCH=y -j8
../scripts/kallsyms.c: In function ‘read_symbol’:
../scripts/kallsyms.c:222:2: warning: ‘strcpy’ writing between 1 and 128 bytes into a region of size 0 [-Wstringop-overflow=]
222 | strcpy(sym_name(sym), name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../fs/notify/fdinfo.c: In function ‘show_mark_fhandle’:
../fs/notify/fdinfo.c:66:47: warning: array subscript ‘i’ is outside the bounds of an interior zero-length array ‘unsigned char[0]’ [-Wzero-length-bounds]
66 | seq_printf(m, "%02x", (int)f.handle.f_handle[i]);
| ~~~~~~~~~~~~~~~~~^~~
In file included from ../fs/notify/fdinfo.c:3:
../include/linux/fs.h:981:16: note: while referencing ‘f_handle’
981 | unsigned char f_handle[0];
| ^~~~~~~~
../kernel/bpf/core.c: In function ‘bpf_patch_insn_single’:
cc1: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=]
In file included from ../kernel/bpf/core.c:21:
../include/linux/filter.h:550:20: note: at offset 0 to object ‘insnsi’ with size 0 declared here
550 | struct bpf_insn insnsi[0];
| ^~~~~~
../arch/x86/kvm/../../../virt/kvm/kvm_main.c: In function ‘__kvm_gfn_to_hva_cache_init’:
../arch/x86/kvm/../../../virt/kvm/kvm_main.c:2236:42: error: ‘nr_pages_avail’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
2236 | for ( ; start_gfn <= end_gfn; start_gfn += nr_pages_avail) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [../scripts/Makefile.build:267: arch/x86/kvm/../../../virt/kvm/kvm_main.o] Error 1
make[2]: *** [../scripts/Makefile.build:505: arch/x86/kvm] Error 2
make[1]: *** [/builddir/build/BUILD/linux-5.6.12/Makefile:1683: arch/x86] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from ../fs/ext4/extents.c:32:
../fs/ext4/extents.c: In function ‘ext4_ext_convert_to_initialized’:
../fs/ext4/ext4_extents.h:226:8: warning: ‘zero_ex2.ee_start_lo’ may be used uninitialized in this function [-Wmaybe-uninitialized]
226 | block = le32_to_cpu(ex->ee_start_lo);
../fs/ext4/extents.c:3522:31: note: ‘zero_ex2.ee_start_lo’ was declared here
3522 | struct ext4_extent zero_ex1, zero_ex2;
| ^~~~~~~~
In file included from ../fs/ext4/extents.c:32:
../fs/ext4/ext4_extents.h:227:12: warning: ‘zero_ex2.ee_start_hi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
227 | block |= ((ext4_fsblk_t) le16_to_cpu(ex->ee_start_hi) << 31) << 1;
../fs/ext4/extents.c:3522:31: note: ‘zero_ex2.ee_start_hi’ was declared here
3522 | struct ext4_extent zero_ex1, zero_ex2;
| ^~~~~~~~
../fs/ext4/extents.c:3241:9: warning: ‘zero_ex2.ee_block’ may be used uninitialized in this function [-Wmaybe-uninitialized]
3241 | return ext4_es_insert_extent(inode, ee_block, ee_len, ee_pblock,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3242 | EXTENT_STATUS_WRITTEN);
| ~~~~~~~~~~~~~~~~~~~~~~
../fs/ext4/extents.c:3522:31: note: ‘zero_ex2.ee_block’ was declared here
3522 | struct ext4_extent zero_ex1, zero_ex2;
| ^~~~~~~~
In file included from ../fs/ext4/extents.c:32:
../fs/ext4/ext4_extents.h:226:8: warning: ‘zero_ex1.ee_start_lo’ may be used uninitialized in this function [-Wmaybe-uninitialized]
226 | block = le32_to_cpu(ex->ee_start_lo);
../fs/ext4/extents.c:3522:21: note: ‘zero_ex1.ee_start_lo’ was declared here
3522 | struct ext4_extent zero_ex1, zero_ex2;
| ^~~~~~~~
In file included from ../fs/ext4/extents.c:32:
../fs/ext4/ext4_extents.h:227:12: warning: ‘zero_ex1.ee_start_hi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
227 | block |= ((ext4_fsblk_t) le16_to_cpu(ex->ee_start_hi) << 31) << 1;
../fs/ext4/extents.c:3522:21: note: ‘zero_ex1.ee_start_hi’ was declared here
3522 | struct ext4_extent zero_ex1, zero_ex2;
| ^~~~~~~~
../fs/ext4/extents.c:3241:9: warning: ‘zero_ex1.ee_block’ may be used uninitialized in this function [-Wmaybe-uninitialized]
3241 | return ext4_es_insert_extent(inode, ee_block, ee_len, ee_pblock,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3242 | EXTENT_STATUS_WRITTEN);
| ~~~~~~~~~~~~~~~~~~~~~~
../fs/ext4/extents.c:3522:21: note: ‘zero_ex1.ee_block’ was declared here
3522 | struct ext4_extent zero_ex1, zero_ex2;
| ^~~~~~~~
../fs/udf/balloc.c: In function ‘udf_add_free_space.isra’:
../fs/udf/balloc.c:101:36: warning: array subscript 65535 is outside the bounds of an interior zero-length array ‘__le32[0]’ {aka ‘unsigned int[]’} [-Wzero-length-bounds]
101 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from ../fs/udf/udfdecl.h:7,
from ../fs/udf/balloc.c:22:
../fs/udf/ecma_167.h:363:11: note: while referencing ‘freeSpaceTable’
363 | __le32 freeSpaceTable[0];
| ^~~~~~~~~~~~~~
../fs/udf/balloc.c:101:36: warning: array subscript 65535 is outside the bounds of an interior zero-length array ‘__le32[0]’ {aka ‘unsigned int[]’} [-Wzero-length-bounds]
101 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from ../fs/udf/udfdecl.h:7,
from ../fs/udf/balloc.c:22:
../fs/udf/ecma_167.h:363:11: note: while referencing ‘freeSpaceTable’
363 | __le32 freeSpaceTable[0];
| ^~~~~~~~~~~~~~
In file included from ../include/linux/byteorder/little_endian.h:5,
from ../arch/x86/include/uapi/asm/byteorder.h:5,
from ../include/asm-generic/bitops/le.h:6,
from ../arch/x86/include/asm/bitops.h:395,
from ../include/linux/bitops.h:29,
from ../include/linux/kernel.h:12,
from ../include/linux/list.h:9,
from ../include/linux/wait.h:7,
from ../include/linux/wait_bit.h:8,
from ../include/linux/fs.h:6,
from ../fs/udf/udfdecl.h:10,
from ../fs/udf/super.c:41:
../fs/udf/super.c: In function ‘udf_count_free’:
../fs/udf/super.c:2521:26: warning: array subscript ‘(<unknown>) + 4294967295’ is outside the bounds of an interior zero-length array ‘__le32[0]’ {aka ‘unsigned int[]’} [-Wzero-length-bounds]
2521 | lvid->freeSpaceTable[part]);
../include/uapi/linux/byteorder/little_endian.h:34:51: note: in definition of macro ‘__le32_to_cpu’
34 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
../fs/udf/super.c:2520:12: note: in expansion of macro ‘le32_to_cpu’
2520 | accum = le32_to_cpu(
| ^~~~~~~~~~~
In file included from ../fs/udf/udfdecl.h:7,
from ../fs/udf/super.c:41:
../fs/udf/ecma_167.h:363:11: note: while referencing ‘freeSpaceTable’
363 | __le32 freeSpaceTable[0];
| ^~~~~~~~~~~~~~
make: *** [Makefile:180: sub-make] Error 2
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.Mt83Bu (%build)
Bad exit status from /var/tmp/rpm-tmp.Mt83Bu (%build)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace
result = func(*args, **kw)
File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 742, in do_with_status
raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed:
# /usr/bin/systemd-nspawn -q -M 43c05a6019cf4a878e030aa03f985599 -D /var/lib/mock/clear-linux/root -a --capability=cap_ipc_lock --console=pipe --bind=/tmp/mock-resolv.49hnctb4:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=en_US.UTF-8 --setenv=CCACHE_DIR=/var/tmp/ccache --setenv=CCACHE_UMASK=002 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/linux.spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment