Advertisement
foxsouns

Errors from theShell compiling on Arch Linux

Dec 3rd, 2020
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.42 KB | None | 0 0
  1. [karkat@karmiarch ~]$ cd ~/git/theshell && makepkg -sri
  2. ==> Making package: theshell 8.0.1-0 (Thu Dec 3 14:05:58 2020)
  3. ==> Checking runtime dependencies...
  4. ==> Checking buildtime dependencies...
  5. ==> Retrieving sources...
  6. -> Updating theshell-8.0.1 git repo...
  7. Fetching origin
  8. ==> Validating source files with md5sums...
  9. theshell-8.0.1 ... Skipped
  10. ==> Extracting sources...
  11. -> Creating working copy of theshell-8.0.1 git repo...
  12. Reset branch 'makepkg'
  13. ==> Removing existing $pkgdir/ directory...
  14. ==> Starting build()...
  15. Project MESSAGE: Configuring theShell to be built as stable
  16. cd shell/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /home/karkat/git/theshell/src/theshell-8.0.1/shell/shell.pro ) && make -f Makefile
  17. make[1]: Entering directory '/home/karkat/git/theshell/src/theshell-8.0.1/shell'
  18. g++ -c -pipe -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++1y -Wall -Wextra -D_REENTRANT -fPIC -DTS_VERSION=\"8.0.1\" -DSHAREDIR=\"/usr/share/theshell/\" -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_POSITIONING_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/polkit-qt5-1 -I/usr/include/qt/QtCore -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtSvg -I/usr/include/qt/QtCharts -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtX11Extras -I/usr/include/qt/the-libs -I/usr/include/qt/QtDBus -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtXml -I/usr/include/qt/QtPositioning -I/usr/include/qt/QtConcurrent -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o background.o background.cpp
  19. In file included from endsessionwait.h:24,
  20. from menu.h:35,
  21. from mainwindow.h:41,
  22. from background.h:36,
  23. from background.cpp:21:
  24. /usr/include/qt/QtCore/qcborstreamreader.h: In member function 'bool QCborStreamReader::isFalse() const':
  25. /usr/include/qt/QtCore/qcborstreamreader.h:143:76: error: expected unqualified-id before numeric constant
  26. 143 | nst { return isSimpleType(QCborSimpleType::False); }
  27. | ^~~~~
  28.  
  29. /usr/include/qt/QtCore/qcborstreamreader.h: In member function 'bool QCborStreamReader::isTrue() const':
  30. /usr/include/qt/QtCore/qcborstreamreader.h:144:76: error: expected unqualified-id before numeric constant
  31. 144 | nst { return isSimpleType(QCborSimpleType::True); }
  32. | ^~~~
  33.  
  34. In file included from /usr/include/qt/QtCore/qcborstream.h:47,
  35. from /usr/include/qt/QtCore/QtCore:41,
  36. from /usr/include/qt/QtConcurrent/QtConcurrentDepends:3,
  37. from /usr/include/qt/QtConcurrent/QtConcurrent:3,
  38. from apps/appslistmodel.h:37,
  39. from menu.h:41,
  40. from mainwindow.h:41,
  41. from background.h:36,
  42. from background.cpp:21:
  43. /usr/include/qt/QtCore/qcborstreamreader.h: In member function 'bool QCborStreamReader::toBool() const':
  44. /usr/include/qt/QtCore/qcborstreamreader.h:161:80: error: expected primary-expression before 'int'
  45. 161 | { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
  46. | ^~~
  47.  
  48. /usr/include/qt/QtCore/qcborstreamreader.h:161:79: error: expected ';' before 'int'
  49. 161 | { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
  50. | ^~~~
  51. | ;
  52. /usr/include/qt/QtCore/qcborstreamreader.h:161:80: error: expected primary-expression before 'int'
  53. 161 | { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
  54. | ^~~
  55.  
  56. In file included from endsessionwait.h:24,
  57. from menu.h:35,
  58. from mainwindow.h:41,
  59. from background.h:36,
  60. from background.cpp:21:
  61. /usr/include/qt/QtCore/qcborstreamwriter.h: In member function 'void QCborStreamWriter::append(bool)':
  62. /usr/include/qt/QtCore/qcborstreamwriter.h:96:59: error: expected unqualified-id before numeric constant
  63. 96 | id append(bool b) { append(b ? QCborSimpleType::True : QCborSimpleType::False); }
  64. | ^~~~
  65.  
  66. In file included from /usr/include/qt/QtCore/qcborstream.h:51,
  67. from /usr/include/qt/QtCore/QtCore:41,
  68. from /usr/include/qt/QtConcurrent/QtConcurrentDepends:3,
  69. from /usr/include/qt/QtConcurrent/QtConcurrent:3,
  70. from apps/appslistmodel.h:37,
  71. from menu.h:41,
  72. from mainwindow.h:41,
  73. from background.h:36,
  74. from background.cpp:21:
  75. /usr/include/qt/QtCore/qcborstreamwriter.h:96:57: error: expected ':' before numeric constant
  76. 96 | void append(bool b) { append(b ? QCborSimpleType::True : QCborSimpleType::False); }
  77. | ^
  78. | :
  79. background.cpp: In lambda function:
  80. background.cpp:147:55: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
  81. 147 | qsrand(QDateTime::currentMSecsSinceEpoch());
  82. | ^
  83. In file included from /usr/include/qt/QtGui/qtguiglobal.h:43,
  84. from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
  85. from /usr/include/qt/QtWidgets/qdialog.h:43,
  86. from /usr/include/qt/QtWidgets/QDialog:1,
  87. from background.h:24,
  88. from background.cpp:21:
  89. /usr/include/qt/QtCore/qglobal.h:1278:81: note: declared here
  90. 1278 | VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
  91. | ^~~~~~
  92.  
  93. background.cpp:150:35: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
  94. 150 | int index = qrand() % arr.count();
  95. | ^
  96. In file included from /usr/include/qt/QtGui/qtguiglobal.h:43,
  97. from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
  98. from /usr/include/qt/QtWidgets/qdialog.h:43,
  99. from /usr/include/qt/QtWidgets/QDialog:1,
  100. from background.h:24,
  101. from background.cpp:21:
  102. /usr/include/qt/QtCore/qglobal.h:1279:80: note: declared here
  103. 1279 | TED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
  104. | ^~~~~
  105.  
  106. background.cpp: In member function 'void Background::loadCommunityBackgroundMetadata()':
  107. background.cpp:221:47: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
  108. 221 | qsrand(QDateTime::currentMSecsSinceEpoch());
  109. | ^
  110. In file included from /usr/include/qt/QtGui/qtguiglobal.h:43,
  111. from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
  112. from /usr/include/qt/QtWidgets/qdialog.h:43,
  113. from /usr/include/qt/QtWidgets/QDialog:1,
  114. from background.h:24,
  115. from background.cpp:21:
  116. /usr/include/qt/QtCore/qglobal.h:1278:81: note: declared here
  117. 1278 | VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
  118. | ^~~~~~
  119.  
  120. background.cpp:222:50: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
  121. 222 | QString background = allBackgrounds.at(qrand() % allBackgrounds.count());
  122. | ^
  123. In file included from /usr/include/qt/QtGui/qtguiglobal.h:43,
  124. from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
  125. from /usr/include/qt/QtWidgets/qdialog.h:43,
  126. from /usr/include/qt/QtWidgets/QDialog:1,
  127. from background.h:24,
  128. from background.cpp:21:
  129. /usr/include/qt/QtCore/qglobal.h:1279:80: note: declared here
  130. 1279 | TED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
  131. | ^~~~~
  132.  
  133. background.cpp: In member function 'void Background::setCommunityBackground(QString)':
  134. background.cpp:365:61: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
  135. 365 | int width = painter.fontMetrics().width(name);
  136. | ^
  137. In file included from /usr/include/qt/QtWidgets/qwidget.h:50,
  138. from /usr/include/qt/QtWidgets/qdialog.h:44,
  139. from /usr/include/qt/QtWidgets/QDialog:1,
  140. from background.h:24,
  141. from background.cpp:21:
  142. /usr/include/qt/QtGui/qfontmetrics.h:106:9: note: declared here
  143. 106 | int width(const QString &, int len = -1) const;
  144. | ^~~~~
  145. background.cpp:377:65: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
  146. 377 | int width = painter.fontMetrics().width(location) + height;
  147. | ^
  148.  
  149. In file included from /usr/include/qt/QtWidgets/qwidget.h:50,
  150. from /usr/include/qt/QtWidgets/qdialog.h:44,
  151. from /usr/include/qt/QtWidgets/QDialog:1,
  152. from background.h:24,
  153. from background.cpp:21:
  154. /usr/include/qt/QtGui/qfontmetrics.h:106:9: note: declared here
  155. 106 | int width(const QString &, int len = -1) const;
  156. | ^~~~~
  157. background.cpp:388:63: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
  158. 388 | int width = painter.fontMetrics().width(author);
  159. | ^
  160.  
  161. In file included from /usr/include/qt/QtWidgets/qwidget.h:50,
  162. from /usr/include/qt/QtWidgets/qdialog.h:44,
  163. from /usr/include/qt/QtWidgets/QDialog:1,
  164. from background.h:24,
  165. from background.cpp:21:
  166. /usr/include/qt/QtGui/qfontmetrics.h:106:9: note: declared here
  167. 106 | int width(const QString &, int len = -1) const;
  168. | ^~~~~
  169. background.cpp: In member function 'void Background::on_graphicsView_customContextMenuRequested(const QPoint&)':
  170. background.cpp:464:75: warning: unused parameter 'pos' [-Wunused-parameter]
  171. 464 | ::on_graphicsView_customContextMenuRequested(const QPoint &pos)
  172. | ~~~~~~~~~~~~~~^~~
  173.  
  174. background.cpp: In member function 'void Background::on_actionOpen_System_Settings_triggered()':
  175. background.cpp:480:46: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations]
  176. 480 | QProcess::startDetached("systemsettings5");
  177. | ^
  178. In file included from /usr/include/qt/QtCore/QProcess:1,
  179. from mainwindow.h:27,
  180. from background.h:36,
  181. from background.cpp:21:
  182. /usr/include/qt/QtCore/qprocess.h:280:17: note: declared here
  183. 280 | static bool startDetached(const QString &command);
  184. | ^~~~~~~~~~~~~
  185. background.cpp: In member function 'virtual void Background::paintEvent(QPaintEvent*)':
  186. background.cpp:507:42: warning: unused parameter 'event' [-Wunused-parameter]
  187. 507 | void Background::paintEvent(QPaintEvent *event) {
  188. | ~~~~~~~~~~~~~^~~~~
  189. make[1]: *** [Makefile:2154: background.o] Error 1
  190. make[1]: Leaving directory '/home/karkat/git/theshell/src/theshell-8.0.1/shell'
  191. make: *** [Makefile:50: sub-shell-make_first] Error 2
  192. ==> ERROR: A failure occurred in build().
  193. Aborting...
  194. [karkat@karmiarch theshell]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement