dmtcp icon indicating copy to clipboard operation
dmtcp copied to clipboard

2.6.0: build fails

Open kloczek opened this issue 3 years ago • 9 comments

Source tree configured with:

%configure \
        --disable-debug \
        --disable-logging \
        --disable-test-suite \
        --disable-unique-checkpoint-filenames \
        --enable-delta-compression \
        --enable-fast-restart \
        --enable-forked-checkpointing \
        --enable-infiniband-support \
        --enable-openmp \
        --enable-pthread-mutex-wrappers \
        --enable-quiet \
        --enable-realtime-ckpt-signal \
        --enable-timing \

and it fails with:

[tkloczko@barrel dmtcp-2.6.0]$ make
DMTCP version: 2.6.0
Date built:    Sat 13 Mar 18:54:37 GMT 2021
config.log:    ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --disable-silent-rules --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-debug --disable-logging --disable-test-suite --disable-unique-checkpoint-filenames --enable-delta-compression --enable-fast-restart --enable-forked-checkpointing --enable-infiniband-support --enable-openmp --enable-pthread-mutex-wrappers --enable-quiet --enable-realtime-ckpt-signal --enable-timing
Fedora release 35 (Rawhide)
Linux barrel 5.11.0-155.fc35.x86_64 #1 SMP Mon Feb 15 21:33:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
libc version: ldd (GNU libc) 2.33.9000
Compiler:  /usr/bin/gcc
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20210210 (Red Hat 11.0.0-0) (GCC)
CFLAGS: -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none
CXXFLAGS: -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none
CPPFLAGS:
LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment 18.9 (build 11.0.10+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9, mixed mode, sharing)
javac 11.0.10

/usr/bin/mkdir -p ./bin
/usr/bin/mkdir -p ./lib/dmtcp
rm -f src/config.h
cd src && make
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src'
Making all in mtcp
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src/mtcp'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src/mtcp'
Making all in plugin
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src/plugin'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src/plugin'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src'
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src'
cd plugin && make
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/plugin'
/usr/bin/g++ -DHAVE_CONFIG_H -I. -I../include  -I../include -I../jalib  -fPIC -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o pathvirt.o `test -f 'pathvirt/pathvirt.cpp' || echo './'`pathvirt/pathvirt.cpp
pathvirt/pathvirt.cpp: In function ‘dmtcp::string resolve_symlink(const char*)’:
pathvirt/pathvirt.cpp:738:20: error: ‘_STAT_VER’ was not declared in this scope
  738 |   if (_real_lxstat(_STAT_VER, path, &statBuf) == 0
      |                    ^~~~~~~~~
make[1]: *** [Makefile:988: pathvirt.o] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/plugin'
make: *** [Makefile:117: plugin] Error 2

kloczek avatar Mar 13 '21 18:03 kloczek

Hi @kloczek, We've now pushed into the 2.6 branch the fix for the STAT problem that you mention. Please use git to pull the latest from the 2.6 branch. (This was already pushed into our master branch (upcoming 3.0 version).) It is an issue with modifications in the recent glibc-2.34.

We intend to release dmtcp-2.6.1 soon based on the current 2.6 branch.

Concerning Rawhide, we have a DMTCP package intended for Fedora 34 and for Rawhide. The package has passed its review, and we are setting up a Fedora git repo, to include 'dmtcp', roughly with most of the same commits as the 2.6 branch. It should then be available for Fedora 34 and later.

Long-term, we would also like to provide the dmtcp-3.0 version (master branch) to Fedora. But it seems safer to first see dmtcp-2.6.1 available in Fedora.

gc00 avatar Mar 26 '21 19:03 gc00

Just added to my dmtcp.spec all patches from 2.x branch and still build fails. This time in configure after autoreconf.

[tkloczko@barrel SPECS]$ rpmbuild -ba --with check dmtcp.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wfKGBm
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf dmtcp-2.6.0
+ /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/dmtcp-2.6.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dmtcp-2.6.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Update-changelog.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Update-debian-changelog.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Temporarily-remove-Debian-support-for-i386.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Update-debian-compat-to-10-and-debian-rules.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Remove-armhf-and-arm64-from-debian-control-for-now.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Del-armhf-aarch64-at-Arch-in-deb-control-dmtcp-dbg.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-changeLog-for-Debian-dmtcp-2.6.0-2.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Removed-MAP_GROWSDOWN-for-mtcp_restore-stack-area.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Disabled-posix-mq2-test-for-now.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Do-not-fail-if-a-fd-owner-has-exited.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Minor-polishing-756-dmtcp_restart.cpp-only.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Minor-polishing-777.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fixed-some-serialization-data-types.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Bug-fix-for-.-configure-enable-m32.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Add-configure-enable-multilib-32-64-bit-mode.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Add-test-dmtcp1-32-32-bit-test-for-multilib-case.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-epoll1.c-for-epoll2-test-Was-silently-failing.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fixes-for-aarch64.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-autotest.py-for-both-Python3-and-Python2.6-2.7.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Bug-fix-for-b43623a4.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-autotest.py-fix-commit-fc0af37-for-syscall-tester.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-g-9.2-compiler-warning-in-src-util_exec.cpp.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-some-minor-typos-spelling-var.-names.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-More-intutitive-autotest-format-new-process.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-connectionrewirer-Fix-bug-in-creation-of-restore-soc.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Accept-Python3-or-Python2-for-all-python-scripts.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-jsocket.cpp-bzero-memset.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-for-DMTCP-Makefile.in-for-Python3.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Add-volatile-to-int-dummy-1-while-dummy.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-syscall-tester.c-tmpnam-mkstemp.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-aarch64-fixes-for-src-mtcp-directory.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Saving-and-restoring-more-RLIMIT_XXX-values.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-configure-autotest-hellompich-n-12-test-MPICH3.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Complete-make-display-build-env-before-the-build.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Configure.ac-multilib-check-if-32-bit-libs-avail.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-maintaining-include-shareddata.h-format-like-3.0.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-SharedData-fixed-header-packing-and-member-sizes.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Rlimit-handle-RLIM_INFINITY.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-commit-83f1da9c-.-configure-enable-debug.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-jalib-jalloc.cpp-_blockSize-not-initialized-to-0.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-autotest.py-syscall-tester-ckpt-w-xc-no-resume.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Coord-Change-xc-ckpt-exit-to-Kc-kill.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fedora-dmtcp.spec-for-dmtcp-2.6.1-rc1-release-0.1.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Lower-case-single-letters-no-caps-for-coord-API.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-dup2-dup3-now-check-if-they-re-copying-to-prot.-fd.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Comment-include-dmtcp.h-dmtcp_checkpoint-blocks.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-stdin-ctty-w-cat-FILE-dmtcp_restart-ckpt-dmtp.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Remove-compiler-warnings-from-processinfo.cpp.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Disable-vim-plugins-for-make-check.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Compiler-warnings-w-m32-for-coordinatorapi.cpp.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-MtcpHeader-size_t-uint64_t-w-enable-multilib.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-restore_size-restore_len-like-restoreBufLen-mmap.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-commit-83f1da9c-DPRINTF-DEBUG-LOGGING.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-warning-test-syscall-tester.c.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-ps-long-form-to-show-port-of-coordinator.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Minor-fix-to-fedora-dmtcp.spec.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-dmtcp_coordinator.cpp-Add-missing-sys-prctl.h.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Added-dmtcp_get_libc_addr-libc_fnc-in-dmtcp.h.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Define-mtcp_strrchr-Fix-mtcp_strcpy-final-0.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Revert-Added-dmtcp_get_libc_addr-libc_fnc-in-dmtcp.h.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-test-openmp-2-Increase-POST_LAUNCH_SLEEP.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Add-POST_LAUNCH_SLEEP-for-slow-restart-w-emacs.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Improved-gdb-add-symbol-fies-all-call-w-no-args.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-CMD-.-save-symbol-files-to-gdb-script.py-PID.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-gdb-add-symbol-files-all-fixup.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-util-gdb-add-symbol-files-all-extended-polished.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-util-gdb-dmtcp-utils-Add-gdb-dmtcp-procfd-more.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-JASSERT-if-writeAll-fails-writing-memory-at-ckpt.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Fix-for-test-epoll1.c-Fixing-commit-4d22e55449.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Define-mtcp_strrchr-Fix-mtcp_strcpy-final-0-1.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Minor-bug-fix-for-a0567cbd-and-improved-text.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-glibc-2.33-syscallsreal.c-__xstat-stat-etc.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-glibc-2.33-src-plugin-pid-__xstat-stat-etc.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-glibc-2.33-src-plugin-ipc-file-__xstat-stat.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-glibc-2.33-plugin-pathvirt-__xstat-stat-etc.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-github-.travis.yml-If-jassert-cat-stack-trace.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-include-decl-s-sys-errno.h-errno.h.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Add-include-files-required-by-POSIX.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-autotest.py-Fix-params-for-script-bash-etc.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Add-parallel-option-to-autotest.py.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-dmtcp_coordinator.cpp-use-standard-formatting.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-Add-timeout-param-to-coord-use-it-in-autotest.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/dmtcp-autotest.py-Check-for-low-disk-space-in-tmp.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9F5Cd7
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd dmtcp-2.6.0
+ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:25: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:25: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...
configure.ac:25: the top level
configure.ac:57: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
configure.ac:59: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
configure.ac:225: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:225: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.ac:225: the top level
configure.ac:461: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:461: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.ac:461: the top level
configure.ac:475: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:475: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.ac:475: the top level
configure.ac:493: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:493: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.ac:493: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
plugin/Makefile.am:64: warning: source file 'batch-queue/discover_dmtcpinput.cpp' is in a subdirectory,
plugin/Makefile.am:64: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
plugin/Makefile.am:64: warning: source file 'batch-queue/discover_resources.cpp' is in a subdirectory,
plugin/Makefile.am:64: but option 'subdir-objects' is disabled
plugin/Makefile.am:64: warning: source file 'batch-queue/discover_slurm.cpp' is in a subdirectory,
plugin/Makefile.am:64: but option 'subdir-objects' is disabled
plugin/Makefile.am:64: warning: source file 'batch-queue/discover_torque.cpp' is in a subdirectory,
plugin/Makefile.am:64: but option 'subdir-objects' is disabled
plugin/Makefile.am:64: warning: source file 'batch-queue/dmtcp_discover_rm.cpp' is in a subdirectory,
plugin/Makefile.am:64: but option 'subdir-objects' is disabled
plugin/Makefile.am:72: warning: source file 'batch-queue/slurm_helper.cpp' is in a subdirectory,
plugin/Makefile.am:72: but option 'subdir-objects' is disabled
plugin/Makefile.am:72: warning: source file 'batch-queue/dmtcp_srun_helper.cpp' is in a subdirectory,
plugin/Makefile.am:72: but option 'subdir-objects' is disabled
plugin/Makefile.am:48: warning: source file 'batch-queue/rm_main.cpp' is in a subdirectory,
plugin/Makefile.am:48: but option 'subdir-objects' is disabled
plugin/Makefile.am:48: warning: source file 'batch-queue/rm_torque.cpp' is in a subdirectory,
plugin/Makefile.am:48: but option 'subdir-objects' is disabled
plugin/Makefile.am:48: warning: source file 'batch-queue/rm_slurm.cpp' is in a subdirectory,
plugin/Makefile.am:48: but option 'subdir-objects' is disabled
plugin/Makefile.am:48: warning: source file 'batch-queue/rm_utils.cpp' is in a subdirectory,
plugin/Makefile.am:48: but option 'subdir-objects' is disabled
plugin/Makefile.am:48: warning: source file 'batch-queue/rm_pmi.cpp' is in a subdirectory,
plugin/Makefile.am:48: but option 'subdir-objects' is disabled
plugin/Makefile.am:48: warning: source file 'batch-queue/slurm_helper.cpp' is in a subdirectory,
plugin/Makefile.am:48: but option 'subdir-objects' is disabled
plugin/Makefile.am:85: warning: source file 'modify-env/modify-env.c' is in a subdirectory,
plugin/Makefile.am:85: but option 'subdir-objects' is disabled
plugin/Makefile.am:85: warning: source file 'modify-env/warning.cpp' is in a subdirectory,
plugin/Makefile.am:85: but option 'subdir-objects' is disabled
plugin/Makefile.am:122: warning: source file 'pathvirt/pathvirt.cpp' is in a subdirectory,
plugin/Makefile.am:122: but option 'subdir-objects' is disabled
plugin/Makefile.am:113: warning: source file 'unique-ckpt/unique-ckpt.cpp' is in a subdirectory,
plugin/Makefile.am:113: but option 'subdir-objects' is disabled
src/Makefile.am:87: warning: source file '$(jalibdir)/jalib.cpp' is in a subdirectory,
src/Makefile.am:87: but option 'subdir-objects' is disabled
src/Makefile.am:87: warning: source file '$(jalibdir)/jassert.cpp' is in a subdirectory,
src/Makefile.am:87: but option 'subdir-objects' is disabled
src/Makefile.am:87: warning: source file '$(jalibdir)/jbuffer.cpp' is in a subdirectory,
src/Makefile.am:87: but option 'subdir-objects' is disabled
src/Makefile.am:87: warning: source file '$(jalibdir)/jfilesystem.cpp' is in a subdirectory,
src/Makefile.am:87: but option 'subdir-objects' is disabled
src/Makefile.am:87: warning: source file '$(jalibdir)/jserialize.cpp' is in a subdirectory,
src/Makefile.am:87: but option 'subdir-objects' is disabled
src/Makefile.am:87: warning: source file '$(jalibdir)/jsocket.cpp' is in a subdirectory,
src/Makefile.am:87: but option 'subdir-objects' is disabled
src/Makefile.am:87: warning: source file '$(jalibdir)/jtimer.cpp' is in a subdirectory,
src/Makefile.am:87: but option 'subdir-objects' is disabled
src/Makefile.am:87: warning: source file '$(jalibdir)/jalloc.cpp' is in a subdirectory,
src/Makefile.am:87: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:60: warning: source file 'ipc/ssh/util_ssh.cpp' is in a subdirectory,
src/plugin/Makefile.am:60: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:112: warning: source file 'ipc/ssh/dmtcp_ssh.cpp' is in a subdirectory,
src/plugin/Makefile.am:112: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:119: warning: source file 'ipc/ssh/dmtcp_sshd.cpp' is in a subdirectory,
src/plugin/Makefile.am:119: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:39: warning: source file 'alloc/mallocwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:39: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:39: warning: source file 'alloc/mmapwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:39: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:50: warning: source file 'dl/dlwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:50: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/connection.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/connectionidentifier.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/connectionlist.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/ipc.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/event/eventconnection.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/event/eventconnlist.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/event/eventwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/event/util_descriptor.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/file/fileconnection.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/file/fileconnlist.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/file/filewrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/file/posixipcwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/socket/connectionrewirer.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/socket/kernelbufferdrainer.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/socket/socketconnection.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/socket/socketconnlist.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/socket/socketwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/ssh/ssh.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:67: warning: source file 'ipc/ssh/sshdrainer.cpp' is in a subdirectory,
src/plugin/Makefile.am:67: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:129: warning: source file 'pid/pid.cpp' is in a subdirectory,
src/plugin/Makefile.am:129: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:129: warning: source file 'pid/pid_filewrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:129: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:129: warning: source file 'pid/pid_miscwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:129: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:129: warning: source file 'pid/pid_syscallsreal.c' is in a subdirectory,
src/plugin/Makefile.am:129: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:129: warning: source file 'pid/pidwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:129: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:129: warning: source file 'pid/sched_wrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:129: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:129: warning: source file 'pid/virtualpidtable.cpp' is in a subdirectory,
src/plugin/Makefile.am:129: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:141: warning: source file 'pid/pid_mutexwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:141: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:151: warning: source file 'svipc/sysvipc.cpp' is in a subdirectory,
src/plugin/Makefile.am:151: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:151: warning: source file 'svipc/sysvipcwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:151: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:162: warning: source file 'timer/timer_create.cpp' is in a subdirectory,
src/plugin/Makefile.am:162: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:162: warning: source file 'timer/timerlist.cpp' is in a subdirectory,
src/plugin/Makefile.am:162: but option 'subdir-objects' is disabled
src/plugin/Makefile.am:162: warning: source file 'timer/timerwrappers.cpp' is in a subdirectory,
src/plugin/Makefile.am:162: but option 'subdir-objects' is disabled
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin'
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --disable-silent-rules --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-debug --disable-logging --disable-test-suite --disable-unique-checkpoint-filenames --enable-delta-compression --enable-fast-restart --enable-forked-checkpointing --enable-infiniband-support --enable-openmp --enable-pthread-mutex-wrappers --enable-quiet --enable-realtime-ckpt-signal --enable-timing
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-gnu-ranlib... /usr/bin/gcc-ranlib
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether /usr/bin/g++ accepts -g... yes
checking for /usr/bin/g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /usr/bin/g++... none
checking for x86_64-redhat-linux-gnu-gcc... /usr/bin/gcc
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to enable C11 features... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking dependency style of /usr/bin/gcc... none
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for /usr/bin/gcc option to support OpenMP... -fopenmp
checking for /usr/bin/g++ option to support OpenMP... -fopenmp
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/epoll.h... yes
checking for sys/eventfd.h... yes
checking for sys/signalfd.h... yes
checking for sys/inotify.h... yes
checking for infiniband/verbs.h... yes
checking if this is WSL (Windows Subystem for Linux)... no
checking whether GNU_HASH is supported for ELF... DT_GNU_HASH: 1879047925
yes
checking whether PR_SET_PTRACER is an option for prctl()... yes
checking if process_vm_readv/process_vm_writev (CMA) available... yes
checking if epoll_create1 available... checking for epoll_create1... yes

checking for readline in -lreadline... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for ps... yes
checking for python... no
checking for dash... no
checking for tcsh... yes
checking for zsh... yes
checking for vim... no
checking for vim... no
checking for emacs... no
checking for emacs-nox... no
checking for script... yes
checking for screen... yes
checking for screen... /usr/bin/screen
checking for strace... yes
checking for gdb... yes
checking for java... yes
checking for javac... yes
checking for cilkc... no
checking for cilkc... no
checking for gcl... no
checking for gcl... no
checking for matlab... no
checking for matlab... no
checking for linux/version.h... yes
checking for gzip... yes
Checking for password-less 'ssh localhost'... yes
checking for mpicc... yes
checking for mpirun... yes
checking for mpiexec... yes
checking for mpicc.openmpi... no
checking for mpicc... /usr/bin/mpicc
checking for mpirun.openmpi... no
checking for mpirun... /usr/bin/mpirun
checking for /usr/bin/gcc atomic builtins... yes
checking for __WAIT_STATUS type... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/ckptfile/Makefile
config.status: creating contrib/infiniband/Makefile
config.status: creating plugin/Makefile
config.status: creating src/Makefile
config.status: creating src/mtcp/Makefile
config.status: creating src/plugin/Makefile
config.status: error: cannot find input file: `include/dmtcp/version.h.in'

kloczek avatar Mar 26 '21 19:03 kloczek

Just in case I'm using autoconf 2.71 so it is possible to sort out autoreconf warnings (without breaking use oulder aoutoconf)

kloczek avatar Mar 26 '21 19:03 kloczek

So, we're discussing two different targets here: using Fedora's rpmbuild -ba --with check dmtcp.spec and building as we do upstream: ./configure && make -j

On Fedora Rawhide, I've only tested rpmbuild -ba --with check dmtcp.spec on the source rpm package that we created. The commits are mostly the same, but not entirely. (Further, we commented out some of the tests of make check because the build on Rawhide allowed less time for the builds to complete.) Once the existing dmtcp package is in Fedora (as dmtcp-2.6.1-rc1), we do want to upgrade it to dmtcp-2.6.1 (and then to dmtcp-3.0).

For Rawhide, wouldn't it work to use the reviewed DMTCP that has been approved, at: https://bugzilla.redhat.com/show_bug.cgi?id=1856005#c24 Or else to simply verify that: ./configure && make -j works on Rawhide for the latest 2.6 version.

Anyway, I'm curious to repeat your experiment on Fedora Rawhide to see if we can reproduce it -- when I get a chance. If that produces a bug, I'll want to fix it.

gc00 avatar Mar 26 '21 20:03 gc00

Nope. I'm not using Fedora. I';m usimg my own distribution in which only less than 20% is still from Fedora (WIP). Fadora still is not usimg autoconf 2.71.

Thi sissu ehas nothing to do with %check. This about %build. So in my spec in %build I have:

%build
autoreconf -fiv
%configure \
        --disable-debug \
        --disable-logging \
        --disable-test-suite \
        --disable-unique-checkpoint-filenames \
        --enable-delta-compression \
        --enable-fast-restart \
        --enable-forked-checkpointing \
        --enable-infiniband-support \
        --enable-openmp \
        --enable-pthread-mutex-wrappers \
        --enable-quiet \
        --enable-realtime-ckpt-signal \
        --enable-timing \
        %{nil}
%make_build

kloczek avatar Mar 26 '21 20:03 kloczek

Good. I'll try that dmtcp.spec with the latest 2.6 branch, and tell you what I see on Rawhide.

gc00 avatar Mar 26 '21 21:03 gc00

@kloczek , Thanks for catching this. This seems to be a bug in our configure.ac. Our old configure still works, but autoreconf exposes the bug(s) in configure.ac, and we haven't done a full 'autoreconf' in a while. I have a fixed up configure.ac that you can try out:

git clone https://github.com/gc00/dmtcp.git dmtcp-gc00
cd dmtcp-gc00
git checkout 2.6-fix-configure.ac
autoreconf
./configure

I'll wait until I hear that this also works in your system. If this also works for you, then I'll push in the commit for both the dmtcp-2.6 and dmtcp-master branches.

Thanks again.

gc00 avatar Mar 27 '21 06:03 gc00

OK so that patch fixed ac issue :) (THx)

However master + eabcfa2b now fails in new places :)

[tkloczko@barrel dmtcp-2.6.0]$ make -k
DMTCP version: 2.6.0
Date built:    Sat 27 Mar 10:29:45 GMT 2021
config.log:    ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --disable-silent-rules --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-debug --disable-logging --disable-test-suite --disable-unique-checkpoint-filenames --enable-delta-compression --enable-fast-restart --enable-forked-checkpointing --enable-infiniband-support --enable-openmp --enable-pthread-mutex-wrappers --enable-quiet --enable-realtime-ckpt-signal --enable-timing
32-bit build:  gcc -m32
Fedora release 35 (Rawhide)
Linux barrel 5.11.0-155.fc35.x86_64 #1 SMP Mon Feb 15 21:33:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
libc version: ldd (GNU libc) 2.33.9000
Compiler:  /usr/bin/gcc
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20210210 (Red Hat 11.0.0-0) (GCC)
CFLAGS: -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none
CXXFLAGS: -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none
CPPFLAGS:
LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment 18.9 (build 11.0.10+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9, mixed mode, sharing)
javac 11.0.10

/usr/bin/mkdir -p ./bin
/usr/bin/mkdir -p ./lib/dmtcp
rm -f src/config.h
cd src && make
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src'
Making all in mtcp
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src/mtcp'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src/mtcp'
Making all in plugin
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src/plugin'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src/plugin'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src'
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/src'
cd plugin && make
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/plugin'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/plugin'
cd contrib && make
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/contrib'
cd infiniband && make
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/contrib/infiniband'
/usr/bin/gcc -I../../jalib -I../../include  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -c -o infinibandwrappers.o  infinibandwrappers.c
infinibandwrappers.c:87:5: error: conflicting types for ‘ibv_query_port’; have ‘int(struct ibv_context *, uint8_t,  struct ibv_port_attr *)’ {aka ‘int(struct ibv_context *, unsigned char,  struct ibv_port_attr *)’}
   87 | int ibv_query_port(struct ibv_context *context, uint8_t port_num,
      |     ^~~~~~~~~~~~~~
In file included from ibvctx.h:30,
                 from infinibandwrappers.c:11:
/usr/include/infiniband/verbs.h:2317:5: note: previous declaration of ‘ibv_query_port’ with type ‘int(struct ibv_context *, uint8_t,  struct _compat_ibv_port_attr *)’ {aka ‘int(struct ibv_context *, unsigned char,  struct _compat_ibv_port_attr *)’}
 2317 | int ibv_query_port(struct ibv_context *context, uint8_t port_num,
      |     ^~~~~~~~~~~~~~
infinibandwrappers.c:122:10: error: conflicting types for ‘ibv_get_device_guid’; have ‘uint64_t(struct ibv_device *)’ {aka ‘long unsigned int(struct ibv_device *)’}
  122 | uint64_t ibv_get_device_guid(struct ibv_device *device)
      |          ^~~~~~~~~~~~~~~~~~~
In file included from ibvctx.h:30,
                 from infinibandwrappers.c:11:
/usr/include/infiniband/verbs.h:2248:8: note: previous declaration of ‘ibv_get_device_guid’ with type ‘__be64(struct ibv_device *)’ {aka ‘long long unsigned int(struct ibv_device *)’}
 2248 | __be64 ibv_get_device_guid(struct ibv_device *device);
      |        ^~~~~~~~~~~~~~~~~~~
infinibandwrappers.c:166:16: error: expected declaration specifiers or ‘...’ before ‘__builtin_constant_p’
  166 | struct ibv_mr *ibv_reg_mr(struct ibv_pd *pd, void *addr,
      |                ^~~~~~~~~~
make[2]: *** [Makefile:119: infinibandwrappers.o] Error 1
/usr/bin/gcc -I../../jalib -I../../include  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -c -o ibvctx.o  ibvctx.c
ibvctx.c: In function ‘post_restart’:
ibvctx.c:621:61: warning: passing argument 3 of ‘(({...}))’ from incompatible pointer type [-Wincompatible-pointer-types]
  621 |                                              mapping->port, &port_attr);
      |                                                             ^~~~~~~~~~
      |                                                             |
      |                                                             struct ibv_port_attr *
ibvctx.c:621:61: note: expected ‘struct _compat_ibv_port_attr *’ but argument is of type ‘struct ibv_port_attr *’
ibvctx.c: In function ‘refill’:
ibvctx.c:1021:9: warning: implicit declaration of function ‘update_ud_send_restart’; did you mean ‘update_rkey_restart’? [-Wimplicit-function-declaration]
 1021 |         update_ud_send_restart(copy_wr);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         update_rkey_restart
ibvctx.c: In function ‘_open_device’:
ibvctx.c:1504:63: warning: passing argument 3 of ‘(({...}))’ from incompatible pointer type [-Wincompatible-pointer-types]
 1504 |       ret = NEXT_IBV_FNC(ibv_query_port)(ctx->real_ctx, port, &port_attr);
      |                                                               ^~~~~~~~~~
      |                                                               |
      |                                                               struct ibv_port_attr *
ibvctx.c:1504:63: note: expected ‘struct _compat_ibv_port_attr *’ but argument is of type ‘struct ibv_port_attr *’
ibvctx.c:1551:51: error: ‘struct ibv_context_ops’ has no member named ‘query_device’
 1551 |   UPDATE_FUNC_ADDR(query_device, ctx->user_ctx.ops.query_device);
      |                                                   ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1551:51: error: ‘struct ibv_context_ops’ has no member named ‘query_device’
 1551 |   UPDATE_FUNC_ADDR(query_device, ctx->user_ctx.ops.query_device);
      |                                                   ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1552:49: error: ‘struct ibv_context_ops’ has no member named ‘query_port’
 1552 |   UPDATE_FUNC_ADDR(query_port, ctx->user_ctx.ops.query_port);
      |                                                 ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1552:49: error: ‘struct ibv_context_ops’ has no member named ‘query_port’
 1552 |   UPDATE_FUNC_ADDR(query_port, ctx->user_ctx.ops.query_port);
      |                                                 ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1553:48: error: ‘struct ibv_context_ops’ has no member named ‘alloc_pd’; did you mean ‘alloc_mw’?
 1553 |   UPDATE_FUNC_ADDR(alloc_pd, ctx->user_ctx.ops.alloc_pd);
      |                                                ^~~~~~~~
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1553:48: error: ‘struct ibv_context_ops’ has no member named ‘alloc_pd’; did you mean ‘alloc_mw’?
 1553 |   UPDATE_FUNC_ADDR(alloc_pd, ctx->user_ctx.ops.alloc_pd);
      |                                                ^~~~~~~~
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1554:50: error: ‘struct ibv_context_ops’ has no member named ‘dealloc_pd’; did you mean ‘dealloc_mw’?
 1554 |   UPDATE_FUNC_ADDR(dealloc_pd, ctx->user_ctx.ops.dealloc_pd);
      |                                                  ^~~~~~~~~~
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1554:50: error: ‘struct ibv_context_ops’ has no member named ‘dealloc_pd’; did you mean ‘dealloc_mw’?
 1554 |   UPDATE_FUNC_ADDR(dealloc_pd, ctx->user_ctx.ops.dealloc_pd);
      |                                                  ^~~~~~~~~~
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1555:45: error: ‘struct ibv_context_ops’ has no member named ‘reg_mr’
 1555 |   UPDATE_FUNC_ADDR(reg_mr, ctx->user_ctx.ops.reg_mr);
      |                                             ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1555:45: error: ‘struct ibv_context_ops’ has no member named ‘reg_mr’
 1555 |   UPDATE_FUNC_ADDR(reg_mr, ctx->user_ctx.ops.reg_mr);
      |                                             ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1556:47: error: ‘struct ibv_context_ops’ has no member named ‘dereg_mr’
 1556 |   UPDATE_FUNC_ADDR(dereg_mr, ctx->user_ctx.ops.dereg_mr);
      |                                               ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1556:47: error: ‘struct ibv_context_ops’ has no member named ‘dereg_mr’
 1556 |   UPDATE_FUNC_ADDR(dereg_mr, ctx->user_ctx.ops.dereg_mr);
      |                                               ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1558:48: error: ‘struct ibv_context_ops’ has no member named ‘resize_cq’
 1558 |   UPDATE_FUNC_ADDR(resize_cq, ctx->user_ctx.ops.resize_cq);
      |                                                ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1558:48: error: ‘struct ibv_context_ops’ has no member named ‘resize_cq’
 1558 |   UPDATE_FUNC_ADDR(resize_cq, ctx->user_ctx.ops.resize_cq);
      |                                                ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1559:49: error: ‘struct ibv_context_ops’ has no member named ‘destroy_cq’
 1559 |   UPDATE_FUNC_ADDR(destroy_cq, ctx->user_ctx.ops.destroy_cq);
      |                                                 ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1559:49: error: ‘struct ibv_context_ops’ has no member named ‘destroy_cq’
 1559 |   UPDATE_FUNC_ADDR(destroy_cq, ctx->user_ctx.ops.destroy_cq);
      |                                                 ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1560:49: error: ‘struct ibv_context_ops’ has no member named ‘create_srq’
 1560 |   UPDATE_FUNC_ADDR(create_srq, ctx->user_ctx.ops.create_srq);
      |                                                 ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1560:49: error: ‘struct ibv_context_ops’ has no member named ‘create_srq’
 1560 |   UPDATE_FUNC_ADDR(create_srq, ctx->user_ctx.ops.create_srq);
      |                                                 ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1561:49: error: ‘struct ibv_context_ops’ has no member named ‘modify_srq’
 1561 |   UPDATE_FUNC_ADDR(modify_srq, ctx->user_ctx.ops.modify_srq);
      |                                                 ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1561:49: error: ‘struct ibv_context_ops’ has no member named ‘modify_srq’
 1561 |   UPDATE_FUNC_ADDR(modify_srq, ctx->user_ctx.ops.modify_srq);
      |                                                 ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1562:48: error: ‘struct ibv_context_ops’ has no member named ‘query_srq’
 1562 |   UPDATE_FUNC_ADDR(query_srq, ctx->user_ctx.ops.query_srq);
      |                                                ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1562:48: error: ‘struct ibv_context_ops’ has no member named ‘query_srq’
 1562 |   UPDATE_FUNC_ADDR(query_srq, ctx->user_ctx.ops.query_srq);
      |                                                ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1563:50: error: ‘struct ibv_context_ops’ has no member named ‘destroy_srq’
 1563 |   UPDATE_FUNC_ADDR(destroy_srq, ctx->user_ctx.ops.destroy_srq);
      |                                                  ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1563:50: error: ‘struct ibv_context_ops’ has no member named ‘destroy_srq’
 1563 |   UPDATE_FUNC_ADDR(destroy_srq, ctx->user_ctx.ops.destroy_srq);
      |                                                  ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1564:48: error: ‘struct ibv_context_ops’ has no member named ‘create_qp’
 1564 |   UPDATE_FUNC_ADDR(create_qp, ctx->user_ctx.ops.create_qp);
      |                                                ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1564:48: error: ‘struct ibv_context_ops’ has no member named ‘create_qp’
 1564 |   UPDATE_FUNC_ADDR(create_qp, ctx->user_ctx.ops.create_qp);
      |                                                ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1565:47: error: ‘struct ibv_context_ops’ has no member named ‘query_qp’
 1565 |   UPDATE_FUNC_ADDR(query_qp, ctx->user_ctx.ops.query_qp);
      |                                               ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1565:47: error: ‘struct ibv_context_ops’ has no member named ‘query_qp’
 1565 |   UPDATE_FUNC_ADDR(query_qp, ctx->user_ctx.ops.query_qp);
      |                                               ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1566:48: error: ‘struct ibv_context_ops’ has no member named ‘modify_qp’
 1566 |   UPDATE_FUNC_ADDR(modify_qp, ctx->user_ctx.ops.modify_qp);
      |                                                ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1566:48: error: ‘struct ibv_context_ops’ has no member named ‘modify_qp’
 1566 |   UPDATE_FUNC_ADDR(modify_qp, ctx->user_ctx.ops.modify_qp);
      |                                                ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1567:49: error: ‘struct ibv_context_ops’ has no member named ‘destroy_qp’
 1567 |   UPDATE_FUNC_ADDR(destroy_qp, ctx->user_ctx.ops.destroy_qp);
      |                                                 ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1567:49: error: ‘struct ibv_context_ops’ has no member named ‘destroy_qp’
 1567 |   UPDATE_FUNC_ADDR(destroy_qp, ctx->user_ctx.ops.destroy_qp);
      |                                                 ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1568:48: error: ‘struct ibv_context_ops’ has no member named ‘create_ah’
 1568 |   UPDATE_FUNC_ADDR(create_ah, ctx->user_ctx.ops.create_ah);
      |                                                ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1568:48: error: ‘struct ibv_context_ops’ has no member named ‘create_ah’
 1568 |   UPDATE_FUNC_ADDR(create_ah, ctx->user_ctx.ops.create_ah);
      |                                                ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c:1569:49: error: ‘struct ibv_context_ops’ has no member named ‘destroy_ah’
 1569 |   UPDATE_FUNC_ADDR(destroy_ah, ctx->user_ctx.ops.destroy_ah);
      |                                                 ^
ibvctx.c:113:24: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  113 |     _real_ibv_##func = addr;         \
      |                        ^~~~
ibvctx.c:1569:49: error: ‘struct ibv_context_ops’ has no member named ‘destroy_ah’
 1569 |   UPDATE_FUNC_ADDR(destroy_ah, ctx->user_ctx.ops.destroy_ah);
      |                                                 ^
ibvctx.c:114:5: note: in definition of macro ‘UPDATE_FUNC_ADDR’
  114 |     addr = _##func;              \
      |     ^~~~
ibvctx.c: In function ‘_query_port’:
ibvctx.c:1606:60: warning: passing argument 3 of ‘(({...}))’ from incompatible pointer type [-Wincompatible-pointer-types]
 1606 |     return NEXT_IBV_FNC(ibv_query_port)(context, port_num, port_attr);
      |                                                            ^~~~~~~~~
      |                                                            |
      |                                                            struct ibv_port_attr *
ibvctx.c:1606:60: note: expected ‘struct _compat_ibv_port_attr *’ but argument is of type ‘struct ibv_port_attr *’
ibvctx.c:1610:48: warning: passing argument 3 of ‘(({...}))’ from incompatible pointer type [-Wincompatible-pointer-types]
 1610 |                                      port_num, port_attr);
      |                                                ^~~~~~~~~
      |                                                |
      |                                                struct ibv_port_attr *
ibvctx.c:1610:48: note: expected ‘struct _compat_ibv_port_attr *’ but argument is of type ‘struct ibv_port_attr *’
ibvctx.c: In function ‘_dereg_mr’:
ibvctx.c:1804:21: warning: unused variable ‘e’ [-Wunused-variable]
 1804 |   struct list_elem *e;
      |                     ^
At top level:
ibvctx.c:241:6: warning: ‘query_qp_info’ defined but not used [-Wunused-function]
  241 | void query_qp_info()
      |      ^~~~~~~~~~~~~
make[2]: *** [Makefile:119: ibvctx.o] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/dmtcp-2.6.0/contrib/infiniband'
make[1]: *** [Makefile:45: infiniband] Error 2

kloczek avatar Mar 27 '21 10:03 kloczek

Hi. I'm also having same problem (infiniband compilation error). I have tried to fix this verbs.h mismatch errors but it comes more error :(. Is there any solution or update?

JunyeonL avatar Apr 02 '21 06:04 JunyeonL