You are not logged in.
Hello all,
I've been using Arch for almost a month now, and I really love it!
I'm trying to install qoennotes, so I did `pacaur -S qownnotes`,
and it gives me an error saying
compilation terminated.
make: *** [Makefile:1355: main.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build qownnotes package(s)
the same results when i do `yaourt -S qownnotes`
compilation terminated.
make: *** [Makefile:1355: main.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build qownnotes.
I might be asking a dumb question, but please, help me....
Thanks,
Offline
Your error is not in the installation, but in the building of the package. You need to find out what that error is. I would suggest manually trying to compile the package yourself to find the error.
Last edited by rdeckard (2017-02-26 02:52:15)
Offline
You cut off the relevant part of the output. Post the full output (in code tags).
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
This is an AUR package, so you should have posted this in the "AUR Issues, Discussion & PKGBUILD Requests" subforum. (A moderator can move the thread for you, as soon as one notices).
There don't seem to be any relevant comments on the AUR page for this package, so presumably it worked for everyone else... maybe you could try providing the full error message, rather than just the end of it, and someone might be able to figure out why makepkg can't build it for you?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
this is the main reason why I think that "lazy" aur helpers are the worst - their main user base are people that would benefit from not using them, rather than relying on them. at least the maintainer of pacaur somewhat acknowledges that it's supposed to be for "advanced users" but in reality, an advanced user would likely just script a basic helper.
I should avoid ranting too much.
you need to look into why it's failin to build. I don't have qownnotes, personally, but there's some activity on the AUR page for it. really, though, you should try manually making it and seeing what errors you get
Offline
Thank you so much!
This is my first time posting something to the arch linux forms, so I'm still learning....
and it is my bad that i posted something like this to a wrong place.....
and here is the full error messages.
:: Retrieving package(s)...
:: qownnotes build files are up-to-date -- skipping
[sudo] password for root:
:: Checking qownnotes integrity...
==> Making package: qownnotes 17.02.6-1 (Sat Feb 25 20:04:48 UTC 2017)
==> Retrieving sources...
-> Found qownnotes-17.02.6.tar.xz
==> Validating source files with sha256sums...
qownnotes-17.02.6.tar.xz ... Passed
:: Building qownnotes package(s)...
==> Making package: qownnotes 17.02.6-1 (Sat Feb 25 20:04:49 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Project MESSAGE: Currently in RELEASE mode.
Project MESSAGE: Warning: unknown QT: qml
g++ -c -m64 -pipe -fPIC -fpermissive -finline-functions -Wno-long-long -O2 -Wall -W -D_REENTRANT -DBOTAN_DLL= -DBOTAN_TARGET_OS_HAS_GETTIMEOFDAY -DBOTAN_HAS_ALLOC_MMAP -DBOTAN_HAS_ENTROPY_SRC_DEV_RANDOM -DBOTAN_HAS_ENTROPY_SRC_EGD -DBOTAN_HAS_ENTROPY_SRC_FTW -DBOTAN_HAS_ENTROPY_SRC_UNIX -DBOTAN_HAS_MUTEX_PTHREAD -DBOTAN_HAS_PIPE_UNIXFD_IO -DBOTAN_TARGET_OS_IS_LINUX -DBOTAN_TARGET_OS_HAS_CLOCK_GETTIME -DBOTAN_TARGET_OS_HAS_DLOPEN -DBOTAN_TARGET_OS_HAS_GMTIME_R -DBOTAN_TARGET_OS_HAS_POSIX_MLOCK -DBOTAN_HAS_DYNAMICALLY_LOADED_ENGINE -DBOTAN_HAS_DYNAMIC_LOADER -DBOTAN_BUILD_COMPILER_IS_GCC -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/mkspecs/linux-g++-64 -I. -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/include/QtCore -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/include/QtNetwork -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/include/QtGui -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/include/QtXml -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/include/QtXmlPatterns -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/include/QtSql -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/include/QtSvg -I/home/ryotakei/Canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/include -Ilibraries -Ilibraries/qmarkdowntextedit -Ilibraries/qmarkdowntextedit -Ilibraries/qmarkdowntextedit -Ilibraries/piwiktracker -Ilibraries -Ilibraries/qkeysequencewidget/qkeysequencewidget/src -Ilibraries/qttoolbareditor/src -I. -I. -o main.o main.cpp
In file included from mainwindow.h:19:0,
from main.cpp:2:
./services/scriptingservice.h:4:22: fatal error: QQmlEngine: No such file or directory
#include <QQmlEngine>
^
compilation terminated.
make: *** [Makefile:1355: main.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build qownnotes package(s)
Also, I tried to build from source code, but it didn't work....
Thank you all,
Offline
Looks like a missing dep. Report it to the maintainer.
Offline
okay! thank you!!
Offline
Moving to AUR issues.
Offline
is it possible foe me to move this without deleting and re-write the questions?
Offline
it was already moved.
Offline
It's not a missing dependency, it's a case-typo in the source file. It should include qqmlengine not QQmlEngine. The former is provided by qt5-declarative which is listed as a dependency.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
okay, so should i edit the include file?
Offline
First I'd be curious whether the header file was capitalized in previous versions of qt. If so, you might want to be sure the code will work with the current version. Then, I'd check with upstream: why do they type it with capitals? Does it build for them?
But for the short term fix, yes, you could "edit" the source. I'd use a sed line in the PKGBUILD:
sed -i 's/QQmlEngine/qqmlengine/' services/scriptingservice.h
However, given this difference, there might be others to patch up too.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I asked my friends (3people) to install qownnotes, and they all were able to install without any issues whatsoever.
so i guess it's not about typo.....
but i'll try what you suggested....thank you!
Offline
I tried what you suggested, but it didn't help....
so based on what i see, the issue is in my system, not QON.
i have no idea whats wrong with my system,(maybe missing file or something important)
let me know if you have any ideas, but for now, thank you all for helping me out
Offline
Sorry about that. This must be a C++ thing. In header names are case sensitive. It did build fine for me too. What command are you running to get that output? Are you fully up to date?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
No it's fine! Thanks your your time,
so I did
pacaur -S qownnotes
and it gave me the error saying its missing libraries.(the same results with yaourt -S qownnotes)
also i did try to build from source code, i followed http://www.qownnotes.org/installation this webpage. but it gave me the error message saying that it's missing libraries.
so here is what im thinking.....
im going to re-install arch on virtualbox, and try to install on it. it should work, but ill try. (But first, i have to figure out how to setup virtualbox on my arch)
Offline
**UPDATE**
when i did pacaur -S qonnotes today, i got something different....
/home/ryotakei/Enthought/Canopy_64bit/User/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
Project MESSAGE: Warning: unknown QT: qml
make: Warning: File 'QOwnNotes.pro' has modification time 27736 s in the future
/home/ryotakei/Enthought/Canopy_64bit/User/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
Project MESSAGE: Warning: unknown QT: qml
make: Warning: File 'QOwnNotes.pro' has modification time 27735 s in the future
/home/ryotakei/Enthought/Canopy_64bit/User/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
Project MESSAGE: Warning: unknown QT: qml
make: Warning: File 'QOwnNotes.pro' has modification time 27735 s in the future
/home/ryotakei/Enthought/Canopy_64bit/User/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
Project MESSAGE: Warning: unknown QT: qml
make: Warning: File 'QOwnNotes.pro' has modification time 27734 s in the future
/home/ryotakei/Enthought/Canopy_64bit/User/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
Project MESSAGE: Warning: unknown QT: qml
make: Warning: File 'QOwnNotes.pro' has modification time 27734 s in the future
/home/ryotakei/Enthought/Canopy_64bit/User/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
Project MESSAGE: Warning: unknown QT: qml
make: Warning: File 'QOwnNotes.pro' has modification time 27733 s in the future
/home/ryotakei/Enthought/Canopy_64bit/User/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
Project MESSAGE: Warning: unknown QT: qml
this message continues forever.......
Ive bever seen something like this.
and i noticed that it's saying /home/ryotakei/Enthought/Canopy_64bit/User/bin/qmake, so i removed Canopy to see what happens....
and this is what i got.
make: Warning: File 'QOwnNotes.pro' has modification time 27401 s in the future
/usr/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
make: Warning: File 'QOwnNotes.pro' has modification time 27401 s in the future
/usr/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
make: Warning: File 'QOwnNotes.pro' has modification time 27401 s in the future
/usr/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
make: Warning: File 'QOwnNotes.pro' has modification time 27400 s in the future
/usr/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
make: Warning: File 'QOwnNotes.pro' has modification time 27400 s in the future
/usr/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
make: Warning: File 'QOwnNotes.pro' has modification time 27400 s in the future
/usr/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
make: Warning: File 'QOwnNotes.pro' has modification time 27399 s in the future
/usr/bin/qmake -o Makefile QOwnNotes.pro
Project MESSAGE: Currently in RELEASE mode.
make: Warning: File 'QOwnNotes.pro' has modification time 27399 s in the future
/usr/bin/qmake -o Makefile QOwnNotes.pro
it dosent say missing libraries anymore, but i see some different results
Offline
**UPDATE**
Because i god some different results, I tried to build from source code,
i followed the webpage and it worked.....
don't know why but it worked...
Thank you all for helping me out,
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline