You are not logged in.

#1 2018-12-03 14:10:46

quellen
Member
Registered: 2017-11-23
Posts: 8

qtws-base: compilation error

hi,
i'm trying to compite qtws-base from AUR but it says error:

$ makepkg -si
==> Making package: qtws-base 0.9-1 (Mon Dec  3 15:08:30 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating qtws git repo...
Fetching origin
==> Validating source files with sha256sums...
    qtws ... Skipped
==> Extracting sources...
  -> Creating working copy of qtws git repo...
Previous HEAD position was 3184811 Added second parameter to open links
Switched to a new branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Note: checking out '0.9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 3184811 Added second parameter to open links
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:20:11: warning: unused variable 'urlToOpen' [-Wunused-variable]
     char* urlToOpen = nullptr;
           ^~~~~~~~~
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o qtws.o qtws.cpp
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o menuaction.o menuaction.cpp
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o mpris.o mpris.cpp
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o qtwswebpage.o qtwswebpage.cpp
qtwswebpage.cpp: In member function 'virtual QWebEnginePage* QtWSWebPage::createWindow(QWebEnginePage::WebWindowType)':
qtwswebpage.cpp:12:73: warning: unused parameter 'type' [-Wunused-parameter]
 QWebEnginePage *QtWSWebPage::createWindow(QWebEnginePage::WebWindowType type) {
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/bin/rcc -name qmake_qmake_immediate qmake_qmake_immediate.qrc -o qrc_qmake_qmake_immediate.cpp
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o qrc_qmake_qmake_immediate.o qrc_qmake_qmake_immediate.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB --include /tmp/qtws-base/src/qtws/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/tmp/qtws-base/src/qtws -I/usr/include/qt -I/usr/include/qt/QtWebEngineWidgets -I/usr/include/qt/QtWebEngineCore -I/usr/include/qt/QtQuick -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtDBus -I/usr/include/qt/QtWebChannel -I/usr/include/qt/QtQml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtPositioning -I/usr/include/qt/QtCore -I/usr/include/c++/8.2.1 -I/usr/include/c++/8.2.1/i686-pc-linux-gnu -I/usr/include/c++/8.2.1/backward -I/usr/lib/gcc/i686-pc-linux-gnu/8.2.1/include -I/usr/local/include -I/usr/lib/gcc/i686-pc-linux-gnu/8.2.1/include-fixed -I/usr/include mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp
/usr/bin/moc -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB --include /tmp/qtws-base/src/qtws/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/tmp/qtws-base/src/qtws -I/usr/include/qt -I/usr/include/qt/QtWebEngineWidgets -I/usr/include/qt/QtWebEngineCore -I/usr/include/qt/QtQuick -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtDBus -I/usr/include/qt/QtWebChannel -I/usr/include/qt/QtQml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtPositioning -I/usr/include/qt/QtCore -I/usr/include/c++/8.2.1 -I/usr/include/c++/8.2.1/i686-pc-linux-gnu -I/usr/include/c++/8.2.1/backward -I/usr/lib/gcc/i686-pc-linux-gnu/8.2.1/include -I/usr/local/include -I/usr/lib/gcc/i686-pc-linux-gnu/8.2.1/include-fixed -I/usr/include mpris.h -o moc_mpris.cpp
g++ -c -pipe -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DDBUS -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWebEngineWidgets -isystem /usr/include/qt/QtWebEngineCore -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWebChannel -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPositioning -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_mpris.o moc_mpris.cpp
g++ -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-rpath-link,/usr/lib -o qtws main.o mainwindow.o qtws.o menuaction.o mpris.o qtwswebpage.o qrc_qmake_qmake_immediate.o moc_mainwindow.o moc_mpris.o   -lQt5WebEngineWidgets -lQt5WebEngineCore -lQt5Quick -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5DBus -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Positioning -lQt5Core -lGL -lpthread 
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_free@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_connect@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_opendir@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_unlink@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_options_parse_config@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_get_error@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_init@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_userauth_password@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_open@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_seek64@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_attributes_free@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_get_error@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_free@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `privatekey_from_file@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_userauth_none@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_disconnect@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_rename@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_dir_eof@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_close@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_new@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_tell64@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_new@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_read@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_try_publickey_from_file@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_stat@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_write@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_userauth_autopubkey@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_rmdir@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_fstat@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_userauth_pubkey@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_userauth_list@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_readdir@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `sftp_closedir@LIBSSH_4_5_0'
/usr/bin/ld: /usr/lib/libavformat.so.58: undefined reference to `ssh_options_set@LIBSSH_4_5_0'
collect2: error: ld returned 1 exit status
make: *** [Makefile:266: qtws] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Offline

Board footer

Powered by FluxBB