Change:
Steps to reproduce the behavior: htcondor <details<summaryFull build log</summary<pre { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/x1sd75z5z8bjnv014vwd6wwa0n7z9357-source source root is source { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase { "action": "setPhase", "phase": "configurePhase" } Running phase: configurePhase fixing cmake files... cmake flags: -DCMAKEFINDUSESYSTEMPACKAGEREGISTRY=OFF -DCMAKEFINDUSEPACKAGEREGISTRY=OFF -DCMAKEEXPORTNOPACKAGEREGISTRY=ON -DCMAKEBUILDTYPE=Release -DBUILDTESTING=OFF -DCMAKEINSTALLLOCALEDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/share/locale -DCMAKEINSTALLLIBEXECDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/libexec -DCMAKEINSTALLLIBDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/lib -DCMAKEINSTALLDOCDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/share/doc/CONDOR -DCMAKEINSTALLINFODIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/share/info -DCMAKEINSTALLMANDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/share/man -DCMAKEINSTALLOLDINCLUDEDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/include -DCMAKEINSTALLINCLUDEDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/include -DCMAKEINSTALLSBINDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/sbin -DCMAKEINSTALLBINDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/bin -DCMAKEINSTALLNAMEDIR=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0/lib -DCMAKEPOLICYDEFAULTCMP0025=NEW -DCMAKEOSXSYSROOT= -DCMAKEFINDFRAMEWORK=LAST -DCMAKESTRIP=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/strip -DCMAKERANLIB=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/ranlib -DCMAKEAR=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/ar -DCMAKECCOMPILER=gcc -DCMAKECXXCOMPILER=g++ -DCMAKEINSTALLPREFIX=/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0 -DSYSTEMNAME=NixOS -DWITHPYTHONBINDINGS=false -- The C compiler identification is GNU 13.2.0 -- The CXX compiler identification is GNU 13.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- LINUXNAME=Unknown, LINUXVER=, SYSTEMNAME=NixOS -- **** -- System(unknown): LINUX(6.1.84) Arch=X8664 BitMode= BUILDID: -- install prefix:/nix/store/axf0m8k4gry342cbz167s9174h46yk83-htcondor-23.4.0 cmake version: 3.28.3 -- BEGINNING CONFIGURATION -- Could NOT find Python2 (missing: Python2EXECUTABLE Python2INCLUDEDIRS Python2LIBRARIES Interpreter Development Development.Module Development.Embed) Reason given by package: Interpreter: Wrong major version for the interpreter "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/bin/python" -- Found Python3: /nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/bin/python3.11 (found version "3.11.8") found components: Interpreter Development Development.Module Development.Embed -- Python3 library found at /nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3- -- Performing Test CMAKEHAVELIBCPTHREAD -- Performing Test CMAKEHAVELIBCPTHREAD - Success -- Found Threads: TRUE -- Found OpenMPC: -fopenmp (found version "4.5") -- Found OpenMPCXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Looking for include file sqlite3.h -- Looking for include file sqlite3.h - found -- Looking for resinit -- Looking for resinit - found -- Looking for TCPKEEPIDLE -- Looking for TCPKEEPIDLE - found -- Looking for TCPKEEPALIVE -- Looking for TCPKEEPALIVE - not found -- Looking for TCPKEEPCNT -- Looking for TCPKEEPCNT - found -- Looking for TCPKEEPINTVL, -- Looking for TCPKEEPINTVL, - not found -- Looking for include file linux/tcp.h -- Looking for include file linux/tcp.h - found -- Looking for TCPUSERTIMEOUT, -- Looking for TCPUSERTIMEOUT, - not found -- Looking for MSPRIVATE -- Looking for MSPRIVATE - found -- Looking for MSSHARED -- Looking for MSSHARED - found -- Looking for MSSLAVE -- Looking for MSSLAVE - found -- Looking for MSREC -- Looking for MSREC - found -- Looking for epollcreate1 -- Looking for epollcreate1 - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for clocknanosleep -- Looking for clocknanosleep - found -- Looking for clone -- Looking for clone - found -- Looking for euidaccess -- Looking for euidaccess - found -- Looking for fstat64 -- Looking for fstat64 - found -- Looking for fstati64 -- Looking for fstati64 - not found -- Looking for getdtablesize -- Looking for getdtablesize - found -- Looking for lstat -- Looking for lstat - found -- Looking for lstat64 -- Looking for lstat64 - found -- Looking for lstati64 -- Looking for lstati64 - not found -- Looking for include file sys/eventfd.h -- Looking for include file sys/eventfd.h - found -- Looking for innetgr -- Looking for innetgr - found -- Looking for stat64 -- Looking for stat64 - found -- Looking for stati64 -- Looking for stati64 - not found -- Looking for statfs -- Looking for statfs - found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strsignal -- Looking for strsignal - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for getifaddrs -- Looking for getifaddrs - found -- Looking for readdir64 -- Looking for readdir64 - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for unshare -- Looking for unshare - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file net/if.h -- Looking for include file net/if.h - found -- Looking for include file ostypes.h -- Looking for include file ostypes.h - not found -- Looking for include file resolv.h -- Looking for include file resolv.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file procfs.h -- Looking for include file procfs.h - not found -- Looking for include file sys/procfs.h -- Looking for include file sys/procfs.h - found -- Performing Test HAVEINOTIFY -- Performing Test HAVEINOTIFY - Success -- Performing Test HAVESTRUCTIFCONF -- Performing Test HAVESTRUCTIFCONF - Success -- Performing Test HAVESTRUCTIFREQ -- Performing Test HAVESTRUCTIFREQ - Success -- Performing Test HAVESTRUCTIFREQIFRHWADDR -- Performing Test HAVESTRUCTIFREQIFRHWADDR - Success -- Performing Test HAVESTRUCTSOCKADDRINSINLEN -- Performing Test HAVESTRUCTSOCKADDRINSINLEN - Failed -- Performing Test HAVESTRUCTSTATFSFFSTYPENAME -- Performing Test HAVESTRUCTSTATFSFFSTYPENAME - Failed -- Looking for schedsetaffinity -- Looking for schedsetaffinity - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of idt -- Check size of idt - done -- Check size of int64 -- Check size of int64 - failed -- Check size of int64t -- Check size of int64t - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Looking for SIOCETHTOOL -- Looking for SIOCETHTOOL - found -- Looking for SIOCGIFCONF -- Looking for SIOCGIFCONF - found -- Looking for include file linux/types.h -- Looking for include file linux/types.h - found -- Looking for include files linux/types.h, linux/ethtool.h -- Looking for include files linux/types.h, linux/ethtool.h - found -- Looking for include file linux/sockios.h -- Looking for include file linux/sockios.h - found -- Looking for include file X11/Xlib.h -- Looking for include file X11/Xlib.h - not found -- Looking for include file X11/extensions/scrnsaver.h -- Looking for include file X11/extensions/scrnsaver.h - not found -- Looking for include file systemd/sd-daemon.h -- Looking for include file systemd/sd-daemon.h - not found -- SYSTEMNAME: NixOS -- Boost components: -- Found Boost: /nix/store/12lq9ln40bjh22mc5nls90qaw6w7ipcw-boost-1.81.0-dev/lib/cmake/Boost- (found suitable version "1.81.0", minimum required is "1.66") -- external configured (BOOSTINCLUDE=/nix/store/12lq9ln40bjh22mc5nls90qaw6w7ipcw-boost-1.81.0-dev/include) version:(1.81.0) link directories () -- external configured (CURLFOUND=/nix/store/2v59zbb6i773c1b0mwwdqhw3nghfm6d9-curl-) -- openssl external configured -- external configured (PCRE2FOUND=/nix/store/5sqdrc4jpr4vjiiqycyw8q4v3zchpdka-pcre2-10.43/lib/libpcre2-8.so) -- Could not find libs(krb564;comerr64;gssapi64;xpprof64) -- dlopen /nix/store/li8plf2qixrlrlny7qhw5ylgq01h3z7q-libkrb5-, /nix/store/li8plf2qixrlrlny7qhw5ylgq01h3z7q-libkrb5-, /nix/store/li8plf2qixrlrlny7qhw5ylgq01h3z7q-libkrb5-, /nix/store/li8plf2qixrlrlny7qhw5ylgq01h3z7q-libkrb5- -- external configured (KRB5FOUND=) -- configured (CLASSADSFOUND= classad) -- external configured (LIBXML2FOUND=/nix/store/ii7r1shwrbl9rcv6nn6mfvih5qcb742p-libxml2-) -- external configured (LIBVIRTFOUND=/nix/store/f8d57vbfv75aywqf7d96qv0x1irwv3k7-libvirt-) -- external configured (MUNGEFOUND=/nix/store/3r01dgxc373h4iir55rd7sh3xi34md13-munge-) -- external configured (VOMSFOUND=/nix/store/45m2h6m0385120glq6w3isra0y6686jy-voms-unstable-2022-06-) -- safeopen done -- /build/source/src/safefile/safeopen.c/build/source/src/safefile/safefopen.c/build/source/src/safefile/safeispathtrusted.c/build/source/src/safefile/safeidrangelist.c -- Version: 10.1.0 -- Build type: RelWithDebInfo -- External configuration complete (dropping config.h) -- ----- Begin compiler options/flags check ----- -- Performing Test cWall -- Performing Test cWall - Success -- Performing Test cW -- Performing Test cW - Success -- Performing Test cWextra -- Performing Test cWextra - Success -- Performing Test cWfloatequal -- Performing Test cWfloatequal - Success -- Performing Test cWendiflabels -- Performing Test cWendiflabels - Success -- Performing Test cWpointerarith -- Performing Test cWpointerarith - Success -- Performing Test cWcastqual -- Performing Test cWcastqual - Success -- Performing Test cWcastalign -- Performing Test cWcastalign - Success -- Performing Test cWvolatileregistervar -- Performing Test cWvolatileregistervar - Success -- Performing Test cWunusedlocaltypedefs -- Performing Test cWunusedlocaltypedefs - Success -- Performing Test cWdeprecateddeclarations -- Performing Test cWdeprecateddeclarations - Success -- Performing Test cWnonnullcompare -- Performing Test cWnonnullcompare - Success -- Performing Test cfstackprotector -- Performing Test cfstackprotector - Success -- Performing Test crdynamic -- Performing Test crdynamic - Success -- Performing Test HAVECCSHARED -- Performing Test HAVECCSHARED - Success -- Looking for C++ include coroutine -- Looking for C++ include coroutine - found -- Looking for C++ include coroutine -- Looking for C++ include coroutine - found -- No additional flags needed for coroutines -- ----- End compiler options/flags check ----- -- ----- Begin CMake Var DUMP ----- -- CMAKESTRIP: /nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/strip -- LN: /nix/store/ifzwv2xqwdnv1gz87rxkizi67py5p3vj-coreutils-9.4/bin/ln -- SPHINXBUILD: SPHINXBUILD-NOTFOUND -- ----- Begin CMake Var DUMP ----- -- ENDING CONFIGURATION -- NOTE: birdwatcher targets will not be built WINDOWS= -- NOTE: condorkbdd will not be built, HAVEKBDD doesn't exist -- NOTE: Skipping man-pages -- Configuring done (10.6s) -- Generating done (0.3s) [33mCMake Warning: Manually-specified variables were not used by the project: CMAKEEXPORTNOPACKAGEREGISTRY CMAKEPOLICYDEFAULTCMP0025 [0m -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing { "action": "setPhase", "phase": "buildPhase" } Running phase: buildPhase build flags: -j8 SHELL=/nix/store/a1s263pmsci9zykm5xcdf7x9rv26w6d5-bash-5.2p26/bin/bash [ 2%] [32mBuilding CXX object [0m [ 2%] [32mBuilding C object [0m [ 2%] [32mBuilding CXX object [0m [ 2%] [32mBuilding CXX object [0m [ 2%] [32mBuilding C object [0m [ 2%] [34m[1mGenerating paraminfotables.h[0m [ 2%] [32mBuilding CXX object src/vendor/fmt-[0m [ 2%] [32mBuilding C object [0m [ 2%] [32m[1mLinking CXX static library libcondorversionobj.a[0m [ 2%] Built target condorversionobj [ 2%] [32mBuilding CXX object [0m [ 2%] [32mBuilding CXX object [0m [ 2%] [32mBuilding C object [0m [ 3%] [32mBuilding C object [0m generating paraminfo for platform=[generic] [ 3%] [32m[1mLinking C static library liblibbfunctions.a[0m [ 3%] Built target libbfunctions [ 3%] [32mBuilding C object [0m [ 3%] [32mBuilding C object [0m [ 3%] Built target utilsgenparams [ 3%] [32mBuilding CXX object [0m [ 3%] [32mBuilding CXX object [0m [ 3%] [32mBuilding CXX object [0m [ 3%] [32m[1mLinking C static library libchirpclient.a[0m [ 3%] Built target chirpclient [ 3%] [32mBuilding C object [0m [ 4%] [32m[1mLinking C shared library [0m [ 4%] Built target chirpclientshared [ 4%] [32mBuilding CXX object [0m [ 5%] [32mBuilding CXX object [0m [ 5%] [32mBuilding CXX object [0m [ 5%] [32mBuilding CXX object [0m [ 6%] [32mBuilding CXX object [0m [ 6%] [32mBuilding C object [0m [ 6%] [32mBuilding C object [0m [ 6%] [32mBuilding C object [0m [ 6%] [32mBuilding C object [0m [ 6%] [32mBuilding CXX object [0m [ 6%] [32m[1mLinking CXX executable condorchirp[0m [ 6%] Built target condorchirp [ 6%] [32mBuilding C object [0m [ 6%] [32m[1mLinking CXX executable dataplugin[0m [ 6%] Built target dataplugin [ 6%] [32mBuilding CXX object [0m [ 6%] [32mBuilding CXX object [0m [ 6%] [32mBuilding CXX object [0m [ 6%] [32mBuilding C object [0m [ 6%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32m[1mLinking CXX executable accountantlogfixer[0m [ 7%] [32mBuilding C object [0m [ 7%] Built target accountantlogfixer [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding CXX object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding CXX object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding CXX object src/vendor/fmt-[0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding C object [0m [ 7%] [32mBuilding CXX object [0m [ 8%] [32mBuilding C object [0m [ 8%] [32mBuilding CXX object [0m [ 9%] [32mBuilding CXX object [0m [ 9%] [32mBuilding CXX object [0m [ 9%] [32m[1mLinking CXX static library libfmt.a[0m [ 9%] [32m[1mLinking CXX static library liblibblahp.a[0m [ 9%] Built target fmt [ 10%] [32mBuilding CXX object [0m [ 10%] Built target libblahp [ 10%] [32mBuilding CXX object [0m [ 10%] [32mBuilding CXX object [0m [ 10%] [32mBuilding CXX object [0m [ 11%] [32m[1mLinking CXX executable condorpidnsinit[0m [ 11%] Built target condorpidnsinit [ 11%] [32mBuilding C object [0m [ 11%] [32m[1mLinking C executable exit37[0m [ 11%] Built target exit37 [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32m[1mLinking CXX executable giddalloc[0m [ 12%] Built target giddalloc [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32mBuilding CXX object [0m [ 12%] [32m[1mLinking CXX executable condormips[0m [ 12%] [32mBuilding CXX object [0m [ 12%] Built target condormips [ 12%] [32mBuilding CXX object [0m [ 12%] [32m[1mLinking CXX executable condorkflops[0m [ 12%] [32mBuilding CXX object [0m [ 12%] Built target condorkflops [ 12%] [32mBuilding CXX object [0m [ 12%] [32m[1mLinking CXX shared library [0m [ 12%] Built target libgetpwnam [ 12%] [32mBuilding C object [0m [ 12%] [32mBuilding CXX object [0m [ 13%] [32mBuilding C object [0m [ 13%] [32mBuilding C object [0m [ 13%] [32m[1mLinking CXX executable condorurlfetch[0m [ 13%] [32mBuilding C object [0m [ 13%] [32mBuilding CXX object [0m [ 13%] Built target condorurlfetch [ 13%] Built target condorsafeobjects [ 13%] [32mBuilding CXX object [0m [ 14%] [32mBuilding CXX object [0m [01m[[m[K In function '[01m[Kbool classad::[01;32m[Kregexphelper[m[K(const char, const char, const char, bool, std::string, Value&)[m[K': [01m[[m[K [01;31m[Kerror: [m[Kinvalid conversion from '[01m[Kconst PCRE2UCHAR8[m[K' {aka '[01m[Kconst unsigned char[m[K'} to '[01m[KPCRE2UCHAR8[m[K' {aka '[01m[Kunsigned char[m[K'} [[01;31m[K]8;;-fpermissive]8;;[m[K] 3180 | pcre2substringlistfree([01;31m[K(PCRE2SPTR ) groupspcre2[m[K); | [01;31m[K^~~[m[K [ 23%] [32mBuilding CXX object [0m [ 23%] [32mBuilding CXX object [0m [ 23%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 24%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 25%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 26%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 27%] [32mBuilding CXX object [0m [ 28%] [32mBuilding CXX object [0m [ 28%] [32mBuilding CXX object [0m [ 28%] Built target condorextra_objects make: [Makefile:156: all] Error 2 </pre</detailsAdd any other context about the problem here. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Built on commit . Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Fix is pending in upcomming release of htcondor 23.7, that is scheduled for 2024-05-09 .
Thank you for the speedy reply. I'm looking forward to the fix!

Discussion:
scitokens-cpp ]; <ins> env.CXXFLAGS = "-fpermissive"; </ins> cmakeFlags = [ "-DSYSTEM_NAME=NixOS" "-DWITH_PYTHON_BINDINGS=false" ];