I got an error; I am doing something wrong?
src/main.cpp:49:10: fatal error: tidy/tidy.h: No such file or directory
#include <tidy/tidy.h>
Git Clone URL: | https://aur.archlinux.org/nixnote2-git.git (read-only, click to copy) |
---|---|
Package Base: | nixnote2-git |
Description: | Evernote clone (formerly Nevernote) - git checkout |
Upstream URL: | https://github.com/robert7/nixnote2 |
Keywords: | evernote nixnote notes |
Licenses: | GPL3 |
Conflicts: | nixnote2-appimage |
Provides: | nixnote, nixnote2 |
Replaces: | nevernote, nixnote, nixnote-beta |
Submitter: | twa022 |
Maintainer: | Ataraxy |
Last Packager: | Ataraxy |
Votes: | 12 |
Popularity: | 0.017783 |
First Submitted: | 2017-09-02 16:02 (UTC) |
Last Updated: | 2023-06-27 13:47 (UTC) |
I got an error; I am doing something wrong?
src/main.cpp:49:10: fatal error: tidy/tidy.h: No such file or directory
#include <tidy/tidy.h>
I can now confirm this package builds correctly in a chroot
so all the makedepends are correct.
Thanks for the positive report @michaldybczak.
I'm using make -j $(nproc)
to build using all available cores, so the 100% across the board is expected. Did it make your system too sluggish?
I switched to different AUR helper to avoid old cache (this time I used yay) and the package compiled correctly! :) The only weird thing about it was it used on 100% all of my 8 CPU threads. I have never seen such high CPU usage - ever. Even Firefox compilation wasn't so intense, there are always some threads below 100%, but not this time. However, in overall nixnote20git compilation took only a few minutes so it's not bad. Thanks, @Ataraxy.
@ljubacanoa I've added makedepends
boost
which should solve your problem, and also gcc
for completeness. Sorry for the iterations - I'm still working out how to do a chroot
build assuming no pre-installed dependencies.
@michaldybczak I just tried building after deleting my cache and it was fine. Perhaps you could try the same?
Still nothing on my end, the problem seems to be the same but different files are missing:
'CONTRIBUTING.md' and 'debian/changelog'
:: Processing package changes... (1/1) installing qt5-tools [######################] 100% Optional dependencies for qt5-tools clang: for qdoc qt5-webkit: for Qt Assistant [installed] :: Running post-transaction hooks... (1/3) Updating icon theme caches... (2/3) Arming ConditionNeedsUpdate... (3/3) Updating the desktop file MIME type cache... ==> Making package: nixnote2-git 2.1.0.beta4g.r17.g2065b702-4 (Thu 11 Oct 2018 07:16:36 AM -05) ==> Retrieving sources... -> Updating nixnote2 git repo... Fetching origin remote: Enumerating objects: 12, done. remote: Counting objects: 100% (12/12), done. remote: Compressing objects: 100% (3/3), done. remote: Total 12 (delta 10), reused 11 (delta 9), pack-reused 0 Unpacking objects: 100% (12/12), done. From https://github.com/robert7/nixnote2 faedc935..115a2c06 develop -> develop f97fcb70..1a5f63d4 feature/rc1 -> feature/rc1 t [tag update] continuous-develop -> continuous-develop ==> Validating source files with sha256sums... nixnote2 ... Skipped ==> Cleaning up... ==> Making package: nixnote2-git 2.1.0.beta4g.r17.g2065b702-4 (Thu 11 Oct 2018 07:16:39 AM -05) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating nixnote2 git repo... Fetching origin ==> Validating source files with sha256sums... nixnote2 ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of nixnote2 git repo... Cloning into 'nixnote2'... done. ==> Starting pkgver()... ==> Sources are ready. ==> Making package: nixnote2-git 2.1.0.beta4g.r17.g2065b702-4 (Thu 11 Oct 2018 07:16:43 AM -05) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Starting build()... Info: creating stash file /home/ljuba/.cache/yay/nixnote2-git/src/nixnote2/.qmake.stash Project MESSAGE: nixnote2: Release build! Project MESSAGE: nixnote2: Compiler version 8 Project MESSAGE: nixnote2: Adding compiler config g++8 Project MESSAGE: Target binary: qmake-build-release/nixnote2 ./development/create-build-version.sh qmake-build-release /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_cs_CZ.ts -qm qmake-build-release/translations/nixnote2_cs_CZ.qm /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_de.ts -qm qmake-build-release/translations/nixnote2_de.qm /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_en_GB.ts -qm qmake-build-release/translations/nixnote2_en_GB.qm ./development/create-build-version.sh: DESTDIR=qmake-build-release Version: 2.1.0-beta4g Git hash: 2065b702 /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_ca.ts -qm qmake-build-release/translations/nixnote2_ca.qm Updating 'qmake-build-release/translations/nixnote2_en_GB.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_en_GB.qm'... Updating 'qmake-build-release/translations/nixnote2_cs_CZ.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_cs_CZ.qm'... Generated 882 translation(s) (882 finished and 0 unfinished) Ignored 50 untranslated source text(s) Updating 'qmake-build-release/translations/nixnote2_de.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_de.qm'... /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_da.ts -qm qmake-build-release/translations/nixnote2_da.qm Updating 'qmake-build-release/translations/nixnote2_ca.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_ca.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 932 untranslated source text(s) Generated 661 translation(s) (661 finished and 0 unfinished) Ignored 194 untranslated source text(s) Generated 773 translation(s) (773 finished and 0 unfinished) Ignored 114 untranslated source text(s) /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_es.ts -qm qmake-build-release/translations/nixnote2_es.qm /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_ja.ts -qm qmake-build-release/translations/nixnote2_ja.qm /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_pt.ts -qm qmake-build-release/translations/nixnote2_pt.qm Updating 'qmake-build-release/translations/nixnote2_da.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_da.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 932 untranslated source text(s) /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_sk.ts -qm qmake-build-release/translations/nixnote2_sk.qm Updating 'qmake-build-release/translations/nixnote2_es.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_es.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 932 untranslated source text(s) /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_zh_TW.ts -qm qmake-build-release/translations/nixnote2_zh_TW.qm Updating 'qmake-build-release/translations/nixnote2_ja.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_ja.qm'... Updating 'qmake-build-release/translations/nixnote2_pt.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_pt.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 932 untranslated source text(s) Generated 462 translation(s) (462 finished and 0 unfinished) Ignored 381 untranslated source text(s) /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_fr.ts -qm qmake-build-release/translations/nixnote2_fr.qm /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_pl.ts -qm qmake-build-release/translations/nixnote2_pl.qm Updating 'qmake-build-release/translations/nixnote2_sk.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_sk.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 932 untranslated source text(s) /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_ru.ts -qm qmake-build-release/translations/nixnote2_ru.qm Updating 'qmake-build-release/translations/nixnote2_zh_TW.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_zh_TW.qm'... Updating 'qmake-build-release/translations/nixnote2_fr.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_fr.qm'... Generated 499 translation(s) (499 finished and 0 unfinished) Ignored 356 untranslated source text(s) /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_zh_CN.ts -qm qmake-build-release/translations/nixnote2_zh_CN.qm Generated 532 translation(s) (532 finished and 0 unfinished) Ignored 295 untranslated source text(s) g++ -c -pipe -std=c++11 -g -O2 -Wformat -Werror=format-security -fstack-protector-strong -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem /usr/include/hunspell -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWebKitWidgets -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtWebKit -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtSql -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -Iqmake-build-release -isystem /usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o qmake-build-release/application.o src/application.cpp Updating 'qmake-build-release/translations/nixnote2_ru.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_ru.qm'... Updating 'qmake-build-release/translations/nixnote2_pl.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_pl.qm'... Generated 315 translation(s) (315 finished and 0 unfinished) Ignored 559 untranslated source text(s) Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 932 untranslated source text(s) g++ -c -pipe -std=c++11 -g -O2 -Wformat -Werror=format-security -fstack-protector-strong -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem /usr/include/hunspell -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWebKitWidgets -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtWebKit -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtSql -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -Iqmake-build-release -isystem /usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o qmake-build-release/global.o src/global.cpp g++ -c -pipe -std=c++11 -g -O2 -Wformat -Werror=format-security -fstack-protector-strong -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem /usr/include/hunspell -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWebKitWidgets -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtWebKit -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtSql -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -Iqmake-build-release -isystem /usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o qmake-build-release/main.o src/main.cpp Updating 'qmake-build-release/translations/nixnote2_zh_CN.qm'... Removing translations equal to source text in 'qmake-build-release/translations/nixnote2_zh_CN.qm'... Generated 833 translation(s) (833 finished and 0 unfinished) Ignored 86 untranslated source text(s) g++ -c -pipe -std=c++11 -g -O2 -Wformat -Werror=format-security -fstack-protector-strong -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem /usr/include/hunspell -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWebKitWidgets -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtWebKit -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtSql -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -Iqmake-build-release -isystem /usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o qmake-build-release/nixnote.o src/nixnote.cpp src/nixnote.cpp:77:10: fatal error: boost/shared_ptr.hpp: No such file or directory #include <boost shared_ptr.hpp=""> ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: [Makefile:4848: qmake-build-release/nixnote.o] Error 1 make: Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build(). Aborting... Error making: nixnote2-git</boost>
@ljubacanoa /usr/bin/lrelease
comes from qt5-tools
. I've added it as a makedepend.
:: Parsing SRCINFO (1/1): nixnote2-git ==> Making package: nixnote2-git 2.1.0.beta4g.r17.g2065b702-3 (Wed 10 Oct 2018 08:56:46 AM -05) ==> Retrieving sources... -> Updating nixnote2 git repo... Fetching origin ==> Validating source files with sha256sums... nixnote2 ... Skipped ==> Cleaning up... ==> Making package: nixnote2-git 2.1.0.beta4g.r17.g2065b702-3 (Wed 10 Oct 2018 08:56:49 AM -05) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating nixnote2 git repo... Fetching origin ==> Validating source files with sha256sums... nixnote2 ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of nixnote2 git repo... Cloning into 'nixnote2'... done. ==> Starting pkgver()... ==> Sources are ready. ==> Making package: nixnote2-git 2.1.0.beta4g.r17.g2065b702-3 (Wed 10 Oct 2018 08:56:53 AM -05) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Starting build()... Info: creating stash file /home/ljuba/.cache/yay/nixnote2-git/src/nixnote2/.qmake.stash Project MESSAGE: nixnote2: Release build! Project MESSAGE: nixnote2: Compiler version 8 Project MESSAGE: nixnote2: Adding compiler config g++8 Project MESSAGE: Target binary: qmake-build-release/nixnote2 ./development/create-build-version.sh qmake-build-release /usr/bin/lrelease -compress -nounfinished -removeidentical translations/nixnote2_cs_CZ.ts -qm qmake-build-release/translations/nixnote2_cs_CZ.qm make: /usr/bin/lrelease: Command not found make: [Makefile:1553: qmake-build-release/translations/nixnote2_cs_CZ.qm] Error 127 make: Waiting for unfinished jobs.... ./development/create-build-version.sh: DESTDIR=qmake-build-release Version: 2.1.0-beta4g Git hash: 2065b702 ==> ERROR: A failure occurred in build(). Aborting... Error making: nixnote2-git
@michaldybczak Upstream changed the doco files. Updated to match.
@ljubacanoa added qt5-base makedepend.
Please vote if you find this package useful. Cheers!
Still can't update it. I'm not a technical user so I can't fix PKGBUILD on my own as I don't understand the nature of those problems, but this package was working fine and now it just won't update. The error changed thou: cat install.sh >install chmod a+x install make[1]: Leaving directory '/make/nixnote2-git/src/nixnote2' cat install.sh >install chmod a+x install install: can't execute stat on 'docs/shortcuts-howto.md': No such file or directory install: an't execute stat on 'docs/CHANGELOG.md': No such file or directory ==> ERROR: There is error in package(). Aborting... :: Unable to build nixnote2-git - makepkg exited with code: 4
Pinned Comments
Ataraxy commented on 2022-01-28 14:12 (UTC) (edited on 2023-06-26 17:35 (UTC) by Ataraxy)
For much faster builds, I suggest you use ccache.