Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Arch Linux: Multiple errors during compilation #61

Open
halian opened this issue Sep 7, 2020 · 7 comments
Open

Arch Linux: Multiple errors during compilation #61

halian opened this issue Sep 7, 2020 · 7 comments

Comments

@halian
Copy link

halian commented Sep 7, 2020

When attempting to add theShell to my Arch Linux installation, I get the following compilation errors, which cause compilation to fail:

/usr/include/qt/QtCore/qcborstreamreader.h: In member function ‘bool QCborStreamReader::isFalse() const’:
/usr/include/qt/QtCore/qcborstreamreader.h:143:76: error: expected unqualified-id before numeric constant
  143 |     bool isFalse() const            { return isSimpleType(QCborSimpleType::False); }
      |                                                                            ^~~~~
/usr/include/qt/QtCore/qcborstreamreader.h: In member function ‘bool QCborStreamReader::isTrue() const’:
/usr/include/qt/QtCore/qcborstreamreader.h:144:76: error: expected unqualified-id before numeric constant
  144 |     bool isTrue() const             { return isSimpleType(QCborSimpleType::True); }
      |                                                                            ^~~~
In file included from /usr/include/qt/QtCore/qcborstream.h:47,
                 from /usr/include/qt/QtCore/QtCore:41,
                 from /usr/include/qt/QtConcurrent/QtConcurrentDepends:3,
                 from /usr/include/qt/QtConcurrent/QtConcurrent:3,
                 from apps/appslistmodel.h:37,
                 from menu.h:41,
                 from mainwindow.h:41,
                 from background.h:36,
                 from background.cpp:21:
/usr/include/qt/QtCore/qcborstreamreader.h: In member function ‘bool QCborStreamReader::toBool() const’:
/usr/include/qt/QtCore/qcborstreamreader.h:161:80: error: expected primary-expression before ‘int’
  161 |     bool toBool() const                 { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
      |                                                                                ^~~
/usr/include/qt/QtCore/qcborstreamreader.h:161:79: error: expected ‘;’ before ‘int’
  161 |     bool toBool() const                 { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
      |                                                                               ^~~~
      |                                                                               ;
/usr/include/qt/QtCore/qcborstreamreader.h:161:80: error: expected primary-expression before ‘int’
  161 |     bool toBool() const                 { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
      |                                                                                ^~~
In file included from endsessionwait.h:24,
                 from menu.h:35,
                 from mainwindow.h:41,
                 from background.h:36,
                 from background.cpp:21:
/usr/include/qt/QtCore/qcborstreamwriter.h: In member function ‘void QCborStreamWriter::append(bool)’:
/usr/include/qt/QtCore/qcborstreamwriter.h:96:59: error: expected unqualified-id before numeric constant
   96 |     void append(bool b)     { append(b ? QCborSimpleType::True : QCborSimpleType::False); }
      |                                                           ^~~~
In file included from /usr/include/qt/QtCore/qcborstream.h:51,
                 from /usr/include/qt/QtCore/QtCore:41,
                 from /usr/include/qt/QtConcurrent/QtConcurrentDepends:3,
                 from /usr/include/qt/QtConcurrent/QtConcurrent:3,
                 from apps/appslistmodel.h:37,
                 from menu.h:41,
                 from mainwindow.h:41,
                 from background.h:36,
                 from background.cpp:21:
/usr/include/qt/QtCore/qcborstreamwriter.h:96:57: error: expected ‘:’ before numeric constant
   96 |     void append(bool b)     { append(b ? QCborSimpleType::True : QCborSimpleType::False); }
      |                                                         ^
      |                                                         :
@foxsouns
Copy link

foxsouns commented Dec 3, 2020

ive been experiencing the same thing! trying to compile on my arch linux installation brought up this near the end:

make[1]: *** [Makefile:2154: background.o] Error 1
make[1]: Leaving directory '/home/karkat/git/theshell/src/theshell-8.0.1/shell'
make: *** [Makefile:50: sub-shell-make_first] Error 2

there were also many errors involving package dependencies, in which i had to go through and download around 10 or so of them because it wouldnt do so automatically. i think it needs to be updated, maybe? not sure.

@foxsouns
Copy link

foxsouns commented Dec 3, 2020

heres the compilation after a retry.
https://pastebin.com/bB7WCa0c

@vicr123
Copy link
Owner

vicr123 commented Dec 3, 2020

Hey, thanks for letting me know. I've fixed compilation errors on the blueprint version of theShell, so give the theshell-blueprint package a go and let me know if it works.

I'd also like to draw your attention to theDesk, which is under active development and will be replacing theShell in the future: https://github.com/vicr123/thedesk

@halian
Copy link
Author

halian commented Dec 10, 2020

@vicr123 Blueprint doesn't work, unfortunately; it fails due to a missing file, to wit:

In file included from networkmanager/connectioneditor/devicesettingsmodel.cpp:30:
networkmanager/connectioneditor/panes/simpinpane.h:24:10: fatal error: modem.h: No such file or directory
   24 | #include <modem.h>
      |          ^~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1101: devicesettingsmodel.o] Error 1
make[2]: Leaving directory '/home/halian/.cache/yay/theshell-blueprint/src/theshell-blueprint-repo/statuscenter/NetworkPane'
make[1]: *** [Makefile:182: sub-NetworkPane-make_first] Error 2
make[1]: Leaving directory '/home/halian/.cache/yay/theshell-blueprint/src/theshell-blueprint-repo/statuscenter'
make: *** [Makefile:103: sub-statuscenter-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: theshell-blueprint

@vicr123
Copy link
Owner

vicr123 commented Dec 11, 2020

Hey there, check if modemmanager-qt is installed. Should be a dependency but I think I might have missed it.

@halian
Copy link
Author

halian commented Dec 11, 2020

Hey there, check if modemmanager-qt is installed. Should be a dependency but I think I might have missed it.

It was not installed, so it was missed as a dependency in the AUR; now that it is, synaptics-properties.h is missing, causing a compilation failure on Input/mousepane.cpp.

@vicr123
Copy link
Owner

vicr123 commented Dec 13, 2020

xf86-input-synaptics is the package you need :)

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

No branches or pull requests

3 participants