You are not logged in.

#1 2017-02-26 02:35:22

JapJap
Member
Registered: 2017-02-26
Posts: 11

I'm trying to install packages, but i can't....

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

#2 2017-02-26 02:52:04

rdeckard
Wiki Maintainer
Registered: 2015-01-28
Posts: 137

Re: I'm trying to install packages, but i can't....

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

#3 2017-02-26 03:06:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: I'm trying to install packages, but i can't....

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

#4 2017-02-26 03:07:33

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: I'm trying to install packages, but i can't....

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

#5 2017-02-26 03:11:07

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: I'm trying to install packages, but i can't....

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

#6 2017-02-26 04:11:07

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

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

#7 2017-02-26 04:30:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: I'm trying to install packages, but i can't....

Looks like a missing dep. Report it to the maintainer.

Offline

#8 2017-02-26 04:59:35

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

okay! thank you!!

Offline

#9 2017-02-26 08:27:46

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: I'm trying to install packages, but i can't....

Moving to AUR issues.

Offline

#10 2017-02-27 15:47:52

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

is it possible foe me to move this without deleting and re-write the questions?

Offline

#11 2017-02-27 15:58:37

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: I'm trying to install packages, but i can't....

it was already moved.

Offline

#12 2017-02-27 17:37:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: I'm trying to install packages, but i can't....

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

#13 2017-02-27 17:51:34

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

okay, so should i edit the include file?

Offline

#14 2017-02-27 20:07:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: I'm trying to install packages, but i can't....

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

#15 2017-02-27 20:57:36

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

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

#16 2017-02-27 21:06:09

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

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

#17 2017-02-28 00:54:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: I'm trying to install packages, but i can't....

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

#18 2017-02-28 05:33:50

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

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

#19 2017-02-28 17:25:43

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

**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

#20 2017-02-28 17:37:10

JapJap
Member
Registered: 2017-02-26
Posts: 11

Re: I'm trying to install packages, but i can't....

**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

#21 2017-02-28 18:08:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: I'm trying to install packages, but i can't....

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB