Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 4.97.0: test suite is failing #273

Open
kloczek opened this issue Jan 17, 2023 · 15 comments
Open

[BUG] 4.97.0: test suite is failing #273

kloczek opened this issue Jan 17, 2023 · 15 comments
Assignees

Comments

@kloczek
Copy link

kloczek commented Jan 17, 2023

Describe the bug
Test suite is failing

To Reproduce

  • clone git repo
  • autoreconf -fiv; make; make check

Expected behavior
Test suite should not fail

Program output

+ cd lsof-4.97.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
bash check.bash linux

RUNTIME ENVIRONMENT INFORMATION
=============================================================================
linux
5.2.15(1)-release
autocd          off
assoc_expand_once       off
cdable_vars     off
cdspell         off
checkhash       off
checkjobs       off
checkwinsize    on
cmdhist         on
compat31        off
compat32        off
compat40        off
compat41        off
compat42        off
compat43        off
compat44        off
complete_fullquote      on
direxpand       off
dirspell        off
dotglob         off
execfail        off
expand_aliases  off
extdebug        off
extglob         off
extquote        on
failglob        off
force_fignore   on
globasciiranges on
globskipdots    on
globstar        off
gnu_errfmt      off
histappend      off
histreedit      off
histverify      off
hostcomplete    on
huponexit       off
inherit_errexit off
interactive_comments    on
lastpipe        off
lithist         off
localvar_inherit        off
localvar_unset  off
login_shell     off
mailwarn        off
no_empty_cmd_completion off
nocaseglob      off
nocasematch     off
noexpand_translation    off
nullglob        off
patsub_replacement      on
progcomp        on
progcomp_alias  off
promptvars      on
restricted_shell        off
shift_verbose   off
sourcepath      on
varredir_close  off
xpg_echo        off
declare -x AR="/usr/bin/gcc-ar"
declare -x ASMFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none"
declare -x CC="/usr/bin/gcc"
declare -x CFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\\\"5.19.12-200.fc36.x86_64\\\""
declare -x CONFIG_SITE="NONE"
declare -x CXX="/usr/bin/g++"
declare -x CXXFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
declare -x FC="/usr/bin/gfortran"
declare -x FCFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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"
declare -x FFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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"
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="10000"
declare -x HOME="/home/tkloczko"
declare -x HOSTNAME="pers-jacek"
declare -x LANG="C"
declare -x LDFLAGS="-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 -Wl,--build-id=sha1"
declare -x LESSOPEN="||/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="tkloczko"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:"
declare -x MAIL="/var/spool/mail/tkloczko"
declare -x MAKEFLAGS=" -j48 -Otarget --jobserver-auth=fifo:/tmp/GMfifo2953400 --sync-mutex=fnm:/tmp/GmJHV0uG -- VERBOSE=1 V=1"
declare -x MAKELEVEL="1"
declare -x MAKEOVERRIDES="\${-*-command-variables-*-}"
declare -x MAKE_TERMERR="/dev/pts/14"
declare -x MAKE_TERMOUT="/dev/pts/14"
declare -x MFLAGS="-j48 -Otarget --jobserver-auth=fifo:/tmp/GMfifo2953400 --sync-mutex=fnm:/tmp/GmJHV0uG"
declare -x MOTD_SHOWN="pam"
declare -x NM="/usr/bin/gcc-nm"
declare -x OLDPWD="/home/tkloczko/rpmbuild/BUILD"
declare -x PATH="/usr/bin:/usr/sbin:/usr/local/sbin"
declare -x PKG_CONFIG_PATH=":/usr/lib64/pkgconfig:/usr/share/pkgconfig"
declare -x PWD="/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0"
declare -x RANLIB="/usr/bin/gcc-ranlib"
declare -x RPM_ARCH="x86_64"
declare -x RPM_BUILD_DIR="/home/tkloczko/rpmbuild/BUILD"
declare -x RPM_BUILD_NCPUS="48"
declare -x RPM_BUILD_ROOT="/home/tkloczko/rpmbuild/BUILDROOT/lsof-4.97.0-2.fc35.x86_64"
declare -x RPM_DOC_DIR="/usr/share/doc"
declare -x RPM_LD_FLAGS="-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 -Wl,--build-id=sha1"
declare -x RPM_OPT_FLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection"
declare -x RPM_OS="linux"
declare -x RPM_PACKAGE_NAME="lsof"
declare -x RPM_PACKAGE_RELEASE="2.fc35"
declare -x RPM_PACKAGE_VERSION="4.97.0"
declare -x RPM_SOURCE_DIR="/home/tkloczko/rpmbuild/SOURCES"
declare -x SHELL="/usr/bin/bash"
declare -x SHLVL="3"
declare -x SSH_CLIENT="10.0.3.1 59222 22"
declare -x SSH_CONNECTION="10.0.3.1 59222 10.0.3.87 22"
declare -x SSH_TTY="/dev/pts/14"
declare -x TERM="xterm-256color"
declare -x USER="tkloczko"
declare -x V="1"
declare -x VALAFLAGS="-g"
declare -x VERBOSE="1"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SESSION_CLASS="user"
declare -x XDG_SESSION_ID="31"
declare -x XDG_SESSION_TYPE="tty"
declare -x which_declare="declare -f"
Linux
lsof version information:
    revision: 4.97.0
    copyright notice: Copyright 1998 Purdue Research Foundation. All rights reserved.
    latest revision: https://github.com/lsof-org/lsof
    latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ
    latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8
    constructed by and on: tkloczko@pers-jacek
    compiler: /usr/bin/gcc
    compiler version: 12.2.1 20221121 (Red Hat 12.2.1-4) (GCC)
    compiler flags: -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR="5.19.12-200.fc36.x86_64"
    loader flags: -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 -Wl,--build-id=sha1 -lselinux
    system info: Linux pers-jacek 5.19.12-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep 28 17:11:05 UTC 2022 x86_64 GNU/Linux
    features enabled: ipv6 ptyept selinux soopt sostate tasks uxsockept
    Anyone can list all files.
    /dev warnings are disabled.
    Kernel ID check is disabled.

STARTING TEST ( dialect neutral )
=============================================================================
case-00-hello ... ok
case-01-version ... ok
case-13-classic ... failed
case-14-classic-opt ... failed
case-20-exit-status ... ok
case-20-fd-only-inclusion ... ok
case-20-handle-missing-files ... ok
case-20-offset-field ... ok
case-20-repeat-count ... ok
case-21-exit-Q-status ... ok

STARTING TEST ( linux specific )
=============================================================================
case-00-linux-hello ... /usr/bin/ld: /tmp/ccia4h2n.lto.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: eventfd] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: /tmp/cc5830F3.lto.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: epoll] Error 1
/usr/bin/ld: /tmp/cceSdtTK.lto.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: pipe] Error 1
/usr/bin/ld: /tmp/ccB0ygK0.lto.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: pidfd] Error 1
/usr/bin/ld: /tmp/cc4Isi09.lto.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: mmap] Error 1
/usr/bin/ld: /tmp/ccKvSq15.lto.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: pty] Error 1
/usr/bin/ld: /tmp/cc7FsvAK.lto.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: ux] Error 1
/usr/bin/ld: /tmp/cccrNwex.lto.o: relocation R_X86_64_32S against `.data' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: open_with_flags] Error 1
failed
case-10-mqueue ... ok
case-10-ux-socket-state ... grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
grep: /proc/2953781/stack: Permission denied
ok
case-20-epoll ... failed
case-20-eventfd-endpoint ... failed
case-20-inet-socket-endpoint ... grep: warning: stray \ before -
ok
case-20-inet6-ffffffff-handling ... skipped
case-20-inet6-socket-endpoint ... ok
case-20-mmap ... grep: warning: stray \ before /
grep: warning: stray \ before /
skipped
case-20-mqueue-endpoint ... ok
case-20-open-flags-cx ... failed
case-20-open-flags-path ... failed
case-20-open-flags-tmpf ... failed
case-20-pidfd-pid ... failed
case-20-pipe-endpoint ... failed
case-20-pipe-no-close-endpoint ... failed
case-20-pty-endpoint ... failed
case-20-ux-socket-endpoint-unaccepted ... ./dialects/linux/tests/case-20-ux-socket-endpoint-unaccepted.bash: line 10: dialects/linux/tests/ux: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
ok
case-20-ux-socket-endpoint ... ok

TEST SUMMARY
=============================================================================
successful: 15
skipped: 2
failed: 12
12 of 29 cases are failed

[failed] /tmp/case-13-classic-2953403.report
-----------------------------------------------------------------------------
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` -c LTlib.c \
-o LTlib.o
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTbasic.c \
LTlib.o `cat config.xobj` -o LTbasic
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTszoff.c \
LTlib.o `cat config.xobj` -o LTszoff
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTnlink.c \
LTlib.o `cat config.xobj` -o LTnlink
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTunix.c \
LTlib.o `cat config.xobj` -o LTunix `cat config.ldflags`
/usr/bin/ld: LTlib.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:113: LTunix] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTsock.c \
LTlib.o `cat config.xobj` -o LTsock `cat config.ldflags`
/usr/bin/ld: LTlib.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:105: LTsock] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
------------------------------------
"LTbasic ... OK" is not found in the output
"LTnlink ... OK" is not found in the output
"LTsock ... OK" is not found in the output
"LTszoff ... OK" is not found in the output
"LTunix ... OK" is not found in the output

output
.............................................................................
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` -c LTlib.c \
-o LTlib.o
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTbasic.c \
LTlib.o `cat config.xobj` -o LTbasic
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTszoff.c \
LTlib.o `cat config.xobj` -o LTszoff
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTnlink.c \
LTlib.o `cat config.xobj` -o LTnlink
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTunix.c \
LTlib.o `cat config.xobj` -o LTunix `cat config.ldflags`
/usr/bin/ld: LTlib.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:113: LTunix] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTsock.c \
LTlib.o `cat config.xobj` -o LTsock `cat config.ldflags`
/usr/bin/ld: LTlib.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:105: LTsock] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'

[failed] /tmp/case-14-classic-opt-2953403.report
-----------------------------------------------------------------------------
"LTlock ... OK" is not found in the output

output
.............................................................................
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTdnlc.c \
LTlib.o `cat config.xobj` -o LTdnlc
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTlock.c \
LTlib.o `cat config.xobj` -o LTlock
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTnfs.c \
LTlib.o `cat config.xobj` -o LTnfs
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
`cat config.cc`  -I. -I.. `cat config.cflags` LTbigf.c \
LTlib.o `cat config.xobj` -o LTbigf
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests'

Optional tests:
LTbigf ... OK
LTdnlc ... /home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/tests found: 100.00%
           OK
LTlock ... lock mismatch: expected W, got " "
           lock mismatch: expected R, got " "
           lock mismatch: expected w, got " "
           lock mismatch: expected r, got " "
LTnfs ... ERROR!!!  test file ./config.LTnfs2953576 not found by lsof
          Hint: the temporary path generated by this test might
          not be on an NFS file system, or this test might be
          unable to create a file on the NFS file system.

          As a work-around use the -p option to specify a path to
          a regular file (not a directory) on an NFS file system
          to which this test will have read access.

          See 00FAQ and 00TEST for more information.
Failed tests: 2

Environment (please complete the following information):

  • Kernel: 5.19.12
  • OS: Linux
  • lsof Version: 4.97.0
  • Origin: autogenerated tar ball from git tag

Additional context
N/A

@jiegec jiegec self-assigned this Jan 17, 2023
@jiegec
Copy link
Contributor

jiegec commented Jan 17, 2023

/usr/bin/ld: /tmp/ccia4h2n.lto.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status

Seems to be PIE-related. Can you provide commands to reproduce the issue (rpm related)? Let me try building lsof in a docker container.

@kloczek
Copy link
Author

kloczek commented Jan 17, 2023

Here is set env variables which I'm injecting into configure env:

[tkloczko@devel-g2v SPECS]$ rpm -E %set_build_flags

ASMFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
CFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1";
VALAFLAGS="${VALAFLAGS:--g}" ; export VALAFLAGS ;
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 ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB;

/usr/lib/rpm/redhat/redhat-hardened-cc1 contains

[tkloczko@devel-g2v SPECS]$ cat /usr/lib/rpm/redhat/redhat-hardened-cc1
*cc1_options:
+ %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}}

It means that some files are not build with those env variables and ths is why some objects are not build with PIE.

Here is %build log

+ cd lsof-4.97.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
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:5: installing './compile'
configure.ac:8: installing './config.guess'
configure.ac:8: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Makefile.am:6: warning: wildcard tests/*.bash tests/*.c: non-POSIX variable name
Makefile.am:6: (probably a GNU make extension)
Makefile.am:6: warning: wildcard dialects/*/tests/*.bash: non-POSIX variable name
Makefile.am:6: (probably a GNU make extension)
Makefile.am:6: warning: wildcard dialects/*/tests/Makefile: non-POSIX variable name
Makefile.am:6: (probably a GNU make extension)
Makefile.am:6: warning: wildcard dialects/*/tests/*.c: non-POSIX variable name
Makefile.am:6: (probably a GNU make extension)
Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
+ ASMFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1'
+ VALAFLAGS=-g
+ export VALAFLAGS
+ 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 ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB
+ ./configure --bindir=/usr/bin --build=x86_64-redhat-linux-gnu --datadir=/usr/share --disable-dependency-tracking --exec-prefix=/usr --host=x86_64-redhat-linux-gnu --includedir=/usr/include --infodir=/usr/share/info --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --program-prefix= --runstatedir=/run --sbindir=/usr/sbin --sharedstatedir=/var/lib --sysconfdir=/etc
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 for x86_64-redhat-linux-gnu-gcc... /usr/bin/gcc
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/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 whether make supports the include directive... yes (GNU style)
checking dependency style of /usr/bin/gcc... none
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
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 rpc/rpc.h... no
checking for /usr/bin/gcc options needed to detect all undeclared functions... none needed
checking whether __GLIBC__ is declared... yes
checking whether AF_INET6 is declared... yes
checking for netinet6/in6.h... no
checking for netinet/in6.h... no
checking for netinet/ip6.h... yes
checking whether TCP_ESTABLISHED is declared... yes
checking for linux/sock_diag.h... yes
checking for linux/unix_diag.h... yes
checking whether TTYAUX_MAJOR is declared... yes
checking whether SS_CONNECTED is declared... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for strftime... yes
checking for selinux/selinux.h... yes
checking for utmpx.h... yes
checking for vm_memattr_t... no
checking whether doadump is declared... no
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether SBS_CANTSENDMORE is declared... no
checking for struct lockf_entry... no
checking for struct kinfo_proc.ki_numthreads... no
checking for struct inode.i_effnlink... no
checking for struct file.f_vnode... no
checking for struct filedescent... no
checking for wctype.h... yes
checking for struct inode.i_din2... no
checking for struct vnode.v_lockf... no
checking for fs/fdescfs/fdesc.h... no
checking for fs/nullfs/null.h... no
checking for struct xtcpcb.t_maxseg... no
checking for struct kinfo_file.kf_un.kf_sock.kf_sock_sendq... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating autotools/version.h
config.status: creating autotools/autotools.h
config.status: creating version
config.status: creating config.h
config.status: executing depfiles commands
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
/usr/bin/make  all-am
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
soelim < Lsof.8 > lsof.man
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-util.o `test -f 'util.c' || echo './'`util.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lib/lsof-pdvn.o `test -f 'lib/pdvn.c' || echo './'`lib/pdvn.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lib/lsof-isfn.o `test -f 'lib/isfn.c' || echo './'`lib/isfn.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lib/lsof-ckkv.o `test -f 'lib/ckkv.c' || echo './'`lib/ckkv.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lib/lsof-ptti.o `test -f 'lib/ptti.c' || echo './'`lib/ptti.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lib/lsof-rdev.o `test -f 'lib/rdev.c' || echo './'`lib/rdev.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lib/lsof-lkud.o `test -f 'lib/lkud.c' || echo './'`lib/lkud.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lib/lsof-dvch.o `test -f 'lib/dvch.c' || echo './'`lib/dvch.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lib/lsof-fino.o `test -f 'lib/fino.c' || echo './'`lib/fino.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-store.o `test -f 'store.c' || echo './'`store.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-node.o `test -f 'node.c' || echo './'`node.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o ./dialects/linux/lsof-dstore.o `test -f './dialects/linux/dstore.c' || echo './'`./dialects/linux/dstore.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o ./dialects/linux/lsof-dfile.o `test -f './dialects/linux/dfile.c' || echo './'`./dialects/linux/dfile.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-usage.o `test -f 'usage.c' || echo './'`usage.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o ./dialects/linux/lsof-dmnt.o `test -f './dialects/linux/dmnt.c' || echo './'`./dialects/linux/dmnt.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o ./dialects/linux/lsof-dnode.o `test -f './dialects/linux/dnode.c' || echo './'`./dialects/linux/dnode.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-proc.o `test -f 'proc.c' || echo './'`proc.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-print.o `test -f 'print.c' || echo './'`print.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-misc.o `test -f 'misc.c' || echo './'`misc.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-arg.o `test -f 'arg.c' || echo './'`arg.c
arg.c: In function 'enter_state_spec':
arg.c:1967:16: warning: unused variable 'len' [-Wunused-variable]
 1967 |         size_t len;
      |                ^~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o ./dialects/linux/lsof-dproc.o `test -f './dialects/linux/dproc.c' || echo './'`./dialects/linux/dproc.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o lsof-main.o `test -f 'main.c' || echo './'`main.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./dialects/linux -I./autotools -DAUTOTOOLS   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o ./dialects/linux/lsof-dsock.o `test -f './dialects/linux/dsock.c' || echo './'`./dialects/linux/dsock.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o lsof lsof-arg.o lsof-main.o lsof-misc.o lsof-node.o lsof-print.o lsof-proc.o lsof-store.o lsof-usage.o lsof-util.o lib/lsof-ptti.o lib/lsof-isfn.o lib/lsof-pdvn.o lib/lsof-lkud.o lib/lsof-rdev.o lib/lsof-dvch.o lib/lsof-ckkv.o lib/lsof-fino.o ./dialects/linux/lsof-dfile.o ./dialects/linux/lsof-dmnt.o ./dialects/linux/lsof-dnode.o ./dialects/linux/lsof-dproc.o ./dialects/linux/lsof-dsock.o ./dialects/linux/lsof-dstore.o    -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'

@kloczek
Copy link
Author

kloczek commented Jan 17, 2023

Looks like build target is OK and looks like check still is not fully adapted to use automake 🤔

@jiegec
Copy link
Contributor

jiegec commented Jan 17, 2023

Looks like build target is OK and looks like check still is not fully adapted to use automake 🤔

Yes, the check is borrowed from the original testsuite.

@kloczek
Copy link
Author

kloczek commented Jan 17, 2023

OK so it is only test suite issue 😄
I've disabled test suite in my lsof build procedure as looks like it is nothing urgent 😋

@jiegec
Copy link
Contributor

jiegec commented Jan 17, 2023

Tried to reproduce in CentOS, Fedora etc, but to no avail. Maybe a full RHEL hardened build setting is required to reproduce?

@kloczek
Copy link
Author

kloczek commented Jan 17, 2023

Do not waste time .. uwe YourDistribution ™️ 😄 and autoreconf -fiv; ./configure; make; make check.

@jiegec
Copy link
Contributor

jiegec commented Jan 18, 2023

I migrated the legacy tests to build by automake in master branch, could you please test?

@kloczek
Copy link
Author

kloczek commented Jan 18, 2023

Of course 😄
One sec ..

@kloczek
Copy link
Author

kloczek commented Jan 18, 2023

Here is the result

+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
/usr/bin/make  dialects/linux/tests/epoll dialects/linux/tests/eventfd dialects/linux/tests/mmap dialects/linux/tests/mq_fork dialects/linux/tests/mq_open dialects/linux/tests/open_with_flags dialects/linux/tests/pidfd dialects/linux/tests/pipe dialects/linux/tests/pty dialects/linux/tests/ux tests/LTbasic tests/LTbigf tests/LTdnlc tests/LTlock tests/LTnfs tests/LTnlink tests/LTsock tests/LTszoff tests/LTunix
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/eventfd.o dialects/linux/tests/eventfd.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/epoll.o dialects/linux/tests/epoll.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/pidfd.o dialects/linux/tests/pidfd.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/mmap.o dialects/linux/tests/mmap.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/mq_open.o dialects/linux/tests/mq_open.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/pty.o dialects/linux/tests/pty.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/open_with_flags.o dialects/linux/tests/open_with_flags.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/pipe.o dialects/linux/tests/pipe.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/ux.o dialects/linux/tests/ux.c
dialects/linux/tests/ux.c: In function 'main':
dialects/linux/tests/ux.c:87:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   87 |       (void) write(rendezvous[1], &b, 1);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.     -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o dialects/linux/tests/mq_fork.o dialects/linux/tests/mq_fork.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTbasic-LTbasic.o `test -f 'tests/LTbasic.c' || echo './'`tests/LTbasic.c
tests/LTbasic.c:39:13: warning: 'copyright' defined but not used [-Wunused-variable]
   39 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTbigf-LTbigf.o `test -f 'tests/LTbigf.c' || echo './'`tests/LTbigf.c
tests/LTbigf.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTnlink-LTnlink.o `test -f 'tests/LTnlink.c' || echo './'`tests/LTnlink.c
tests/LTnlink.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTbigf-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTszoff-LTszoff.o `test -f 'tests/LTszoff.c' || echo './'`tests/LTszoff.c
tests/LTszoff.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTdnlc-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTdnlc-LTdnlc.o `test -f 'tests/LTdnlc.c' || echo './'`tests/LTdnlc.c
tests/LTdnlc.c: In function 'main':
tests/LTdnlc.c:199:16: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  199 |         (void) system(lsbuf);
      |                ^~~~~~~~~~~~~
tests/LTdnlc.c: At top level:
tests/LTdnlc.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTnlink-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/eventfd dialects/linux/tests/eventfd.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/pidfd dialects/linux/tests/pidfd.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTsock-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTlock-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTlock-LTlock.o `test -f 'tests/LTlock.c' || echo './'`tests/LTlock.c
tests/LTlock.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTunix-LTunix.o `test -f 'tests/LTunix.c' || echo './'`tests/LTunix.c
tests/LTunix.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/mmap dialects/linux/tests/mmap.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTnfs-LTnfs.o `test -f 'tests/LTnfs.c' || echo './'`tests/LTnfs.c
tests/LTnfs.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/mq_open dialects/linux/tests/mq_open.o -lrt -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTnfs-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/epoll dialects/linux/tests/epoll.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTbasic-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTszoff-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/open_with_flags dialects/linux/tests/open_with_flags.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/pty dialects/linux/tests/pty.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/mq_fork dialects/linux/tests/mq_fork.o -lrt -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTsock-LTsock.o `test -f 'tests/LTsock.c' || echo './'`tests/LTsock.c
tests/LTsock.c: In function 'main':
tests/LTsock.c:352:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
  352 |     if (getsockname(Ssock, (struct sockaddr *)&ca, &sal)) {
      |                                                    ^~~~
      |                                                    |
      |                                                    int *
In file included from /usr/include/netinet/in.h:23,
                 from /usr/include/netdb.h:27,
                 from tests/LTsock.c:43:
/usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  117 |                         socklen_t *__restrict __len) __THROW;
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
tests/LTsock.c:406:71: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
  406 |     tsfd = FdPara[LT_SRVR].fd = accept(Ssock, (struct sockaddr *)&aa, &sal);
      |                                                                       ^~~~
      |                                                                       |
      |                                                                       int *
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
tests/LTsock.c: At top level:
tests/LTsock.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/pipe dialects/linux/tests/pipe.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\" -c -o tests/LTunix-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o dialects/linux/tests/ux dialects/linux/tests/ux.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTdnlc tests/LTdnlc-LTdnlc.o tests/LTdnlc-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTbigf tests/LTbigf-LTbigf.o tests/LTbigf-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTlock tests/LTlock-LTlock.o tests/LTlock-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTszoff tests/LTszoff-LTszoff.o tests/LTszoff-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTunix tests/LTunix-LTunix.o tests/LTunix-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTbasic tests/LTbasic-LTbasic.o tests/LTbasic-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTnlink tests/LTnlink-LTnlink.o tests/LTnlink-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTnfs tests/LTnfs-LTnfs.o tests/LTnfs-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/gcc -DLT_DIAL_linux -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_CC -DLT_VERS=519012 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0/lsof\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DLSOF_VSTR=\"5.19.12-200.fc36.x86_64\"  -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 -Wl,--build-id=sha1 -o tests/LTsock tests/LTsock-LTsock.o tests/LTsock-LTlib.o  -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
/usr/bin/make  check-TESTS
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/case-00-hello.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
SKIP: dialects/linux/tests/case-20-inet6-ffffffff-handling.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/case-20-handle-missing-files.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/case-01-version.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-open-flags-cx.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-open-flags-tmpf.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-pidfd-pid.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
SKIP: dialects/linux/tests/case-20-mmap.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/case-20-fd-only-inclusion.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-open-flags-path.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-epoll.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-ux-socket-endpoint-unaccepted.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/case-20-exit-status.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-pipe-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/case-21-exit-Q-status.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-pipe-no-close-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-mqueue-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-eventfd-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-pty-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/LTbasic
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/LTunix
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
SKIP: tests/LTnfs
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-10-mqueue.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/LTnlink
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/LTsock
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-inet-socket-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-ux-socket-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/LTbigf
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/LTszoff
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-20-inet6-socket-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
FAIL: tests/LTlock
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/LTdnlc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: tests/case-20-repeat-count.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
PASS: dialects/linux/tests/case-10-ux-socket-state.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.97.0'
===================================
   lsof 4.97.0: ./test-suite.log
===================================

# TOTAL: 34
# PASS:  30
# SKIP:  3
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: dialects/linux/tests/case-20-inet6-ffffffff-handling.bash
===============================================================

root privileged is needed to run case-20-inet6-ffffffff-handling.bash.
SKIP dialects/linux/tests/case-20-inet6-ffffffff-handling.bash (exit status: 77)

SKIP: dialects/linux/tests/case-20-mmap.bash
============================================

grep: warning: stray \ before /
grep: warning: stray \ before /
unshare: unshare failed: Operation not permitted
unshare is not supported on this platform, skipping
SKIP dialects/linux/tests/case-20-mmap.bash (exit status: 77)

FAIL: tests/LTlock
==================

LTlock ... lock mismatch: expected W, got " "
           lock mismatch: expected R, got " "
           lock mismatch: expected w, got " "
           lock mismatch: expected r, got " "
FAIL tests/LTlock (exit status: 1)

SKIP: tests/LTnfs
=================

LTnfs ... ERROR!!!  test file ./config.LTnfs4091742 not found by lsof
          Hint: the temporary path generated by this test might
          not be on an NFS file system, or this test might be
          unable to create a file on the NFS file system.

          As a work-around use the -p option to specify a path to
          a regular file (not a directory) on an NFS file system
          to which this test will have read access.

          See 00FAQ and 00TEST for more information.
SKIP tests/LTnfs (exit status: 77)

============================================================================
Testsuite summary for lsof 4.97.0
============================================================================
# TOTAL: 34
# PASS:  30
# SKIP:  3
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================

Additionally compile time warnings stats:

[tkloczko@pers-jacek SPECS]$ rpmbuild -ba --with check --with failing_tests lsof.spec --quiet 2>&1 | grep -- \\[-W | sed 's/.*\[//; s/\]//' | sort | uniq -c | sort -nr
     20 -Wunused-variable
      2 -Wunused-result
      2 -Wpointer-sign

And extracted stderr

[tkloczko@pers-jacek SPECS]$ rpmbuild -ba --with check --with failing_tests lsof.spec --quiet 2>&1
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
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:5: installing './compile'
configure.ac:10: installing './config.guess'
configure.ac:10: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Makefile.am:6: warning: wildcard tests/*.bash tests/*.c: non-POSIX variable name
Makefile.am:6: (probably a GNU make extension)
Makefile.am:6: warning: wildcard dialects/*/tests/*.bash: non-POSIX variable name
Makefile.am:6: (probably a GNU make extension)
Makefile.am:6: warning: wildcard dialects/*/tests/Makefile: non-POSIX variable name
Makefile.am:6: (probably a GNU make extension)
Makefile.am:6: warning: wildcard dialects/*/tests/*.c: non-POSIX variable name
Makefile.am:6: (probably a GNU make extension)
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory '.'
arg.c: In function 'enter_state_spec':
arg.c:1969:16: warning: unused variable 'len' [-Wunused-variable]
 1969 |         size_t len;
      |                ^~~
dialects/linux/dsock.c: In function 'check_tcpudp6':
dialects/linux/dsock.c:572:13: warning: unused variable 'h' [-Wunused-variable]
  572 |         int h;
      |             ^
1302 blocks
dialects/linux/tests/ux.c: In function 'main':
dialects/linux/tests/ux.c:87:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   87 |       (void) write(rendezvous[1], &b, 1);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/LTbigf.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTnfs.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTnlink.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTdnlc.c: In function 'main':
tests/LTdnlc.c:199:16: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  199 |         (void) system(lsbuf);
      |                ^~~~~~~~~~~~~
tests/LTdnlc.c: At top level:
tests/LTdnlc.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlock.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTsock.c: In function 'main':
tests/LTsock.c:352:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
  352 |     if (getsockname(Ssock, (struct sockaddr *)&ca, &sal)) {
      |                                                    ^~~~
      |                                                    |
      |                                                    int *
In file included from /usr/include/netinet/in.h:23,
                 from /usr/include/netdb.h:27,
                 from tests/LTsock.c:43:
/usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  117 |                         socklen_t *__restrict __len) __THROW;
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
tests/LTsock.c:406:71: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
  406 |     tsfd = FdPara[LT_SRVR].fd = accept(Ssock, (struct sockaddr *)&aa, &sal);
      |                                                                       ^~~~
      |                                                                       |
      |                                                                       int *
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
tests/LTsock.c: At top level:
tests/LTsock.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTszoff.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTbasic.c:39:13: warning: 'copyright' defined but not used [-Wunused-variable]
   39 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTunix.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
tests/LTlib.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable]
   36 | static char copyright[] =
      |             ^~~~~~~~~
make[2]: *** [Makefile:2137: test-suite.log] Error 1
make[1]: *** [Makefile:2245: check-TESTS] Error 2

@jiegec
Copy link
Contributor

jiegec commented Jan 18, 2023

I created a RHEL9 VM on aws and tried rpmbuild:

# on master branch
$ make dist && cp lsof-4.97.0.tar.gz ~/rpmbuild/SOURCES
$ cd ~/rpmbuild/SPECS
$ cat lsof.spec
Name:           lsof
Version:        4.97.0
Release:        1%{?dist}
Summary:        list open files

License:        Public
URL:            https://github.com/lsof-org/lsof
Source0:        lsof-%{version}.tar.gz

BuildRequires:  libtirpc
Requires:       libtirpc

%description


%prep
%autosetup


%build
%configure
%make_build
make check


%install
rm -rf $RPM_BUILD_ROOT
%make_install


%files
/usr/bin/lsof
/usr/lib/debug/usr/bin/lsof-4.97.0-1.el9.x86_64.debug
/usr/share/man/man8/lsof.8.gz
# %license add-license-file-here
# %doc add-docs-here



%changelog
* Wed Jan 18 2023 Cloud User
-
$ rpmbuild -bb lsof.spec

But it can pass without error. Full log:
log.txt

@kloczek
Copy link
Author

kloczek commented Nov 10, 2023

Just tested 4.99.0 and test suite still fails.
Here is result

+ cd lsof-4.99.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
/usr/bin/make  lib/dialects/linux/tests/epoll lib/dialects/linux/tests/eventfd lib/dialects/linux/tests/mmap lib/dialects/linux/tests/mq_fork lib/dialects/linux/tests/mq_open lib/dialects/linux/tests/open_with_flags lib/dialects/linux/tests/pidfd lib/dialects/linux/tests/pipe lib/dialects/linux/tests/pty lib/dialects/linux/tests/ux tests/LTbasic tests/LTbigf tests/LTdnlc tests/LTlock tests/LTnfs tests/LTnlink tests/LTsock tests/LTszoff tests/LTunix tests/LTbasic2
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/epoll.o lib/dialects/linux/tests/epoll.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/pidfd.o lib/dialects/linux/tests/pidfd.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/ux.o lib/dialects/linux/tests/ux.c
lib/dialects/linux/tests/ux.c: In function ‘main’:
lib/dialects/linux/tests/ux.c:74:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   74 |         (void)write(rendezvous[1], &b, 1);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/eventfd.o lib/dialects/linux/tests/eventfd.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/pipe.o lib/dialects/linux/tests/pipe.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/mmap.o lib/dialects/linux/tests/mmap.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/mq_fork.o lib/dialects/linux/tests/mq_fork.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/pty.o lib/dialects/linux/tests/pty.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTbasic2-LTbasic2.o `test -f 'tests/LTbasic2.c' || echo './'`tests/LTbasic2.c
tests/LTbasic2.c: In function ‘main’:
tests/LTbasic2.c:47:10: warning: unused variable ‘buffer’ [-Wunused-variable]
   47 |     char buffer[128];
      |          ^~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/mq_open.o lib/dialects/linux/tests/mq_open.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o lib/dialects/linux/tests/open_with_flags.o lib/dialects/linux/tests/open_with_flags.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTbigf-LTbigf.o `test -f 'tests/LTbigf.c' || echo './'`tests/LTbigf.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTbasic-LTbasic.o `test -f 'tests/LTbasic.c' || echo './'`tests/LTbasic.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTlock-LTlock.o `test -f 'tests/LTlock.c' || echo './'`tests/LTlock.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTunix-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTnfs-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTbigf-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTszoff-LTszoff.o `test -f 'tests/LTszoff.c' || echo './'`tests/LTszoff.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTbasic-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTdnlc-LTdnlc.o `test -f 'tests/LTdnlc.c' || echo './'`tests/LTdnlc.c
tests/LTdnlc.c: In function ‘main’:
tests/LTdnlc.c:183:15: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  183 |         (void)system(lsbuf);
      |               ^~~~~~~~~~~~~
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTsock-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTszoff-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTnfs-LTnfs.o `test -f 'tests/LTnfs.c' || echo './'`tests/LTnfs.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTunix-LTunix.o `test -f 'tests/LTunix.c' || echo './'`tests/LTunix.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTnlink-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTnlink-LTnlink.o `test -f 'tests/LTnlink.c' || echo './'`tests/LTnlink.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTsock-LTsock.o `test -f 'tests/LTsock.c' || echo './'`tests/LTsock.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTlock-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/gcc -DHAVE_CONFIG_H -I.    -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -c -o tests/LTdnlc-LTlib.o `test -f 'tests/LTlib.c' || echo './'`tests/LTlib.c
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/pidfd lib/dialects/linux/tests/pidfd.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/pidfd lib/dialects/linux/tests/pidfd.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/eventfd lib/dialects/linux/tests/eventfd.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/eventfd lib/dialects/linux/tests/eventfd.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/mq_fork lib/dialects/linux/tests/mq_fork.o -lrt -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/mq_fork lib/dialects/linux/tests/mq_fork.o  -lrt -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/epoll lib/dialects/linux/tests/epoll.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/epoll lib/dialects/linux/tests/epoll.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/pipe lib/dialects/linux/tests/pipe.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/pipe lib/dialects/linux/tests/pipe.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/mmap lib/dialects/linux/tests/mmap.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/mmap lib/dialects/linux/tests/mmap.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/mq_open lib/dialects/linux/tests/mq_open.o -lrt -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/mq_open lib/dialects/linux/tests/mq_open.o  -lrt -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/ux lib/dialects/linux/tests/ux.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/ux lib/dialects/linux/tests/ux.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/pty lib/dialects/linux/tests/pty.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/pty lib/dialects/linux/tests/pty.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/open_with_flags lib/dialects/linux/tests/open_with_flags.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -fvisibility=hidden -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o lib/dialects/linux/tests/open_with_flags lib/dialects/linux/tests/open_with_flags.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTbasic2 tests/LTbasic2-LTbasic2.o liblsof.la -ltirpc -lselinux
libtool: link: /usr/bin/gcc -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/.libs/LTbasic2 tests/LTbasic2-LTbasic2.o  ./.libs/liblsof.so -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTunix tests/LTunix-LTunix.o tests/LTunix-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTunix tests/LTunix-LTunix.o tests/LTunix-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTdnlc tests/LTdnlc-LTdnlc.o tests/LTdnlc-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTdnlc tests/LTdnlc-LTdnlc.o tests/LTdnlc-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTlock tests/LTlock-LTlock.o tests/LTlock-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTlock tests/LTlock-LTlock.o tests/LTlock-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTbigf tests/LTbigf-LTbigf.o tests/LTbigf-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTbigf tests/LTbigf-LTbigf.o tests/LTbigf-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTbasic tests/LTbasic-LTbasic.o tests/LTbasic-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTbasic tests/LTbasic-LTbasic.o tests/LTbasic-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTszoff tests/LTszoff-LTszoff.o tests/LTszoff-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTszoff tests/LTszoff-LTszoff.o tests/LTszoff-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTnfs tests/LTnfs-LTnfs.o tests/LTnfs-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTnfs tests/LTnfs-LTnfs.o tests/LTnfs-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTnlink tests/LTnlink-LTnlink.o tests/LTnlink-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTnlink tests/LTnlink-LTnlink.o tests/LTnlink-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc  -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTsock tests/LTsock-LTsock.o tests/LTsock-LTlib.o  -ltirpc -lselinux
libtool: link: /usr/bin/gcc -DLT_BIGF -D_FILE_OFFSET_BITS=64 -DLT_DEV64 -DLT_DIAL_linux -DLT_VERS=66000 -DLT_DEF_LSOF_PATH=\"/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0/lsof\" -I./include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"6.6.0-0.rc5.20231013git10a6e5feccb8.44.fc40.x86_64\" -I/usr/include/tirpc -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -o tests/LTsock tests/LTsock-LTsock.o tests/LTsock-LTlib.o  -ltirpc -lselinux
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
/usr/bin/make  check-TESTS
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-00-hello.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
SKIP: lib/dialects/linux/tests/case-10-ux-socket-state.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
SKIP: lib/dialects/linux/tests/case-20-inet-socket-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
SKIP: lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-20-handle-missing-files.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
SKIP: lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-01-version.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
SKIP: lib/dialects/linux/tests/case-20-mmap.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-open-flags-cx.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-open-flags-tmpf.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-open-flags-path.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-pidfd-pid.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/LTbasic2
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-epoll.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-20-fd-only-inclusion.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-20-offset-field.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-ux-socket-endpoint-unaccepted.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-20-exit-status.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-pipe-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-21-exit-Q-status.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-pipe-no-close-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-eventfd-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-mqueue-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-20-pty-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/LTbasic
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
SKIP: tests/LTnfs
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/LTunix
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-22-empty-process-name.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: lib/dialects/linux/tests/case-10-mqueue.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
SKIP: lib/dialects/linux/tests/case-20-inet6-socket-endpoint.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/LTnlink
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/LTsock
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/LTbigf
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/LTszoff
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
FAIL: tests/LTlock
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/LTdnlc
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
PASS: tests/case-20-repeat-count.bash
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
===================================
   lsof 4.99.0: ./test-suite.log
===================================

# TOTAL: 37
# PASS:  29
# SKIP:  7
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: lib/dialects/linux/tests/case-10-ux-socket-state.bash
===========================================================

nc does not support unix socket, skipping
SKIP lib/dialects/linux/tests/case-10-ux-socket-state.bash (exit status: 77)

SKIP: lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash
===================================================================

root privileged is needed to run case-20-inet6-ffffffff-handling.bash.
SKIP lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash (exit status: 77)

SKIP: lib/dialects/linux/tests/case-20-inet6-socket-endpoint.bash
=================================================================

Maybe ipv6 stack is not available on this system, skipping
SKIP lib/dialects/linux/tests/case-20-inet6-socket-endpoint.bash (exit status: 77)

SKIP: lib/dialects/linux/tests/case-20-inet-socket-endpoint.bash
================================================================

grep: warning: stray \ before -
nc does not support -4 option, skipping
SKIP lib/dialects/linux/tests/case-20-inet-socket-endpoint.bash (exit status: 77)

SKIP: lib/dialects/linux/tests/case-20-mmap.bash
================================================

grep: warning: stray \ before /
./lib/dialects/linux/tests/case-20-mmap.bash: line 21: ps: command not found
grep: warning: stray \ before /
unshare: unshare failed: Operation not permitted
unshare is not supported on this platform, skipping
SKIP lib/dialects/linux/tests/case-20-mmap.bash (exit status: 77)

SKIP: lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash
==============================================================

nc does not support unix socket, skipping
SKIP lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash (exit status: 77)

FAIL: tests/LTlock
==================

LTlock ... lock mismatch: expected W, got " "
           lock mismatch: expected R, got " "
           lock mismatch: expected w, got " "
           lock mismatch: expected r, got " "
FAIL tests/LTlock (exit status: 1)

SKIP: tests/LTnfs
=================

LTnfs ... ERROR!!!  test file ./config.LTnfs645646 not found by lsof
          Hint: the temporary path generated by this test might
          not be on an NFS file system, or this test might be
          unable to create a file on the NFS file system.

          As a work-around use the -p option to specify a path to
          a regular file (not a directory) on an NFS file system
          to which this test will have read access.

          See 00FAQ and 00TEST for more information.
SKIP tests/LTnfs (exit status: 77)

============================================================================
Testsuite summary for lsof 4.99.0
============================================================================
# TOTAL: 37
# PASS:  29
# SKIP:  7
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
make[2]: *** [Makefile:4083: test-suite.log] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lsof-4.99.0'
make[1]: *** [Makefile:4191: check-TESTS] Error 2
make: *** [Makefile:4655: check-am] Error 2

@jiegec
Copy link
Contributor

jiegec commented Nov 11, 2023

Which file system are you using?

@kloczek
Copy link
Author

kloczek commented Nov 17, 2023

btrfs

@jiegec
Copy link
Contributor

jiegec commented Nov 18, 2023

btrfs

That's a known problem, see #152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants