+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/kpty-5.80.0nb2/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/kpty-5.80.0nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for kpty-5.80.0nb2 [ 5%] Generating mo... [ 5%] Built target pofiles-cf92ad0c337f5d6dcfda1f2ad26e7b74 [ 11%] Generating ts... [ 11%] Built target tsfiles-cf92ad0c337f5d6dcfda1f2ad26e7b74 [ 17%] Automatic MOC for target KF5Pty [ 17%] Built target KF5Pty_autogen [ 23%] Automatic MOC for target kgrantpty [ 23%] Built target kgrantpty_autogen [ 29%] Building CXX object src/CMakeFiles/KF5Pty.dir/KF5Pty_autogen/mocs_compilation.cpp.o [ 35%] Building CXX object src/CMakeFiles/KF5Pty.dir/kpty.cpp.o /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp: In member function 'bool KPtyPrivate::chownpty(bool)': /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:159:31: error: 'QFile' has not been declared 159 | return !QProcess::execute(QFile::decodeName(CMAKE_INSTALL_PREFIX "/" KDE_INSTALL_LIBEXECDIR_KF5 "/kgrantpty"), | ^~~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:160:79: error: 'QString::QString(const char*)' is private within this context 160 | QStringList() << (grant ? "--grant" : "--revoke") << QString::number(masterFd)); | ^ In file included from /opt/local/qt5/include/QtCore/QString:1, from /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty_p.h:16, from /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:11: /opt/local/qt5/include/QtCore/qstring.h:973:5: note: declared private here 973 | QString(const char *ch); | ^~~~~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp: In member function 'bool KPty::open()': /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:255:33: error: 'class QString' has no member named 'sprintf'; did you mean 'asprintf'? 255 | ptyName = QString().sprintf("/dev/pty%c%c", *s3, *s4).toLatin1(); | ^~~~~~~ | asprintf /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:256:36: error: 'class QString' has no member named 'sprintf'; did you mean 'asprintf'? 256 | d->ttyName = QString().sprintf("/dev/tty%c%c", *s3, *s4).toLatin1(); | ^~~~~~~ | asprintf /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:283:5: error: 'QFileInfo' was not declared in this scope; did you mean 'QTypeInfo'? 283 | QFileInfo info(d->ttyName.data()); | ^~~~~~~~~ | QTypeInfo /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:284:10: error: 'info' was not declared in this scope; did you mean 'dlinfo'? 284 | if (!info.exists()) { | ^~~~ | dlinfo /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:289:28: error: 'QFile' has not been declared 289 | constexpr auto perms = QFile::ReadGroup | QFile::ExeGroup | QFile::ReadOther | QFile::WriteOther | QFile::ExeOther; | ^~~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:289:47: error: 'QFile' has not been declared 289 | constexpr auto perms = QFile::ReadGroup | QFile::ExeGroup | QFile::ReadOther | QFile::WriteOther | QFile::ExeOther; | ^~~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:289:65: error: 'QFile' has not been declared 289 | constexpr auto perms = QFile::ReadGroup | QFile::ExeGroup | QFile::ReadOther | QFile::WriteOther | QFile::ExeOther; | ^~~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:289:84: error: 'QFile' has not been declared 289 | constexpr auto perms = QFile::ReadGroup | QFile::ExeGroup | QFile::ReadOther | QFile::WriteOther | QFile::ExeOther; | ^~~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:289:104: error: 'QFile' has not been declared 289 | constexpr auto perms = QFile::ReadGroup | QFile::ExeGroup | QFile::ReadOther | QFile::WriteOther | QFile::ExeOther; | ^~~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:290:10: error: 'info' was not declared in this scope; did you mean 'dlinfo'? 290 | if ((info.ownerId() != getuid() || (info.permissions() & perms)) // | ^~~~ | dlinfo /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:292:155: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 292 | qCWarning(KPTY_LOG) << "chownpty failed for device " << ptyName << "::" << d->ttyName << "\nThis means the communication can be eavesdropped." << endl; | ^~~~ In file included from /opt/local/qt5/include/QtCore/qdebug.h:49, from /opt/local/qt5/include/QtCore/qloggingcategory.h:44, from /opt/local/qt5/include/QtCore/QLoggingCategory:1, from /home/pbulk/build/devel/kpty/work/kpty-5.80.0/_KDE_build/src/kpty_debug.h:6, from /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:14: /opt/local/qt5/include/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:292:155: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 292 | qCWarning(KPTY_LOG) << "chownpty failed for device " << ptyName << "::" << d->ttyName << "\nThis means the communication can be eavesdropped." << endl; | ^~~~ In file included from /opt/local/qt5/include/QtCore/qdebug.h:49, from /opt/local/qt5/include/QtCore/qloggingcategory.h:44, from /opt/local/qt5/include/QtCore/QLoggingCategory:1, from /home/pbulk/build/devel/kpty/work/kpty-5.80.0/_KDE_build/src/kpty_debug.h:6, from /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:14: /opt/local/qt5/include/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:298:5: error: 'revoke' was not declared in this scope 298 | revoke(d->ttyName.data()); | ^~~~~~ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp: In member function 'void KPty::login(const char*, const char*)': /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:494:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 494 | gettimeofday(&l_struct.ut_tv, 0); | ^ /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp: In member function 'void KPty::logout()': /home/pbulk/build/devel/kpty/work/kpty-5.80.0/src/kpty.cpp:597:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 597 | gettimeofday(&(ut->ut_tv), 0); | ^ *** [src/CMakeFiles/KF5Pty.dir/kpty.cpp.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/kpty/work/kpty-5.80.0/_KDE_build 1 error bmake[2]: stopped in /home/pbulk/build/devel/kpty/work/kpty-5.80.0/_KDE_build *** [src/CMakeFiles/KF5Pty.dir/all] Error code 2 bmake[1]: stopped in /home/pbulk/build/devel/kpty/work/kpty-5.80.0/_KDE_build 1 error bmake[1]: stopped in /home/pbulk/build/devel/kpty/work/kpty-5.80.0/_KDE_build *** [all] Error code 2 bmake: stopped in /home/pbulk/build/devel/kpty/work/kpty-5.80.0/_KDE_build 1 error bmake: stopped in /home/pbulk/build/devel/kpty/work/kpty-5.80.0/_KDE_build *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/kpty *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/kpty