Package Details: znotes 0.4.5-7

Git Clone URL: (read-only)
Package Base: znotes
Description: Lightweight crossplatform application for notes managment with simple interface
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: alium
Last Packager: alium
Votes: 13
Popularity: 0.090609
First Submitted: 2009-11-09 18:48
Last Updated: 2015-08-30 06:20

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

alium commented on 2015-08-30 15:51

@uffe: you are welcome

uffe commented on 2015-08-30 15:48

@alium: hmmm strange.

Anyway I'll keep the symlink - and see what else breaks
Thanks for your time :-)

alium commented on 2015-08-30 15:32

nothing, QtProject.conf have 462 bytes and nothing interestingly:

shortcuts=file:, file:///home/alois

uffe commented on 2015-08-30 15:28

Hmm strange... does your file /home/alois/.config/QtProject.conf contain something in respect to mkspecs location ? (I do not have that file)

alium commented on 2015-08-30 15:03

Path on my system is:

my strace:
no double-referenced "mkspecs"

uffe commented on 2015-08-30 14:15


I was able to make it work - with a hack:

I ran "strace -f qmake-qt5":
stat("/usr/lib/qt/mkspecs/mkspecs/linux-g++", 0x7fff76c533b0) = -1 ENOENT (No such file or directory)
write(2, "Could not find qmake configurati"..., 59Could not find qmake configuration file mkspecs/linux-g++.) = 59

Please note that the "mkspecs" is double-referenced and the real location is not:

REAL: /usr/lib/qt/mkspecs/linux-g++
FAIL: /usr/lib/qt/mkspecs/mkspecs/linux-g++

I created a symlink to compensate for the "mkspecs" double-reference:
# ln -s . /usr/lib/qt/mkspecs/mkspecs

and the build now works:

My quess is that setting QMAKESPEC or sililar on the qmake-qt5 command-line will also work.
But how come it does not find its own files per default ? (I have no .conf file or environment vars that tweaks QT)

It would be nice to get to the bottom of this problem as it seems to have nothing to do with zNotes:

During the strace of qmake-qt5 it tries to locate various .conf files - none of them exists on my system - and hence it falls back to some default that apparently has "mkspecs" double-referenced -

1) which of the above paths to you have on your system ?
2) do you have any .conf files that qmake-qt5 will use/load - and correct the (default) "mkspecs" double-referencing - try "strace -f qmake-qt5"

alium commented on 2015-08-30 06:18

I modified the PKGBUILD, can you please try it?

uffe commented on 2015-08-29 18:00

I have
qt5-base 5.5.0-2
qt5-declarative 5.5.0-2
qt5-location 5.5.0-2
qt5-sensors 5.5.0-2
qt5-svg 5.5.0-2
qt5-tools 5.5.0-2
qt5-translations 5.5.0-2
qt5-webchannel 5.5.0-2
qt5-webkit 5.5.0-2
qt5-xmlpatterns 5.5.0-2

uffe commented on 2015-08-29 18:00

The thing is that the mkspec is there - it just cannot fint it

Do you have any qmake.conf or something ?

alium commented on 2015-08-29 17:58

i have installed:
qt5 qt5-base
qt5 qt5-declarative
qt5 qt5-location
qt5 qt5-script
qt5 qt5-sensors
qt5 qt5-tools
qt5 qt5-translations
qt5 qt5-webchannel
qt5 qt5-webkit
qt5 qt5-x11extras
qt5 qt5-xmlpatterns

uffe commented on 2015-08-29 17:58

still same problem

alium commented on 2015-08-29 17:56

can you delete /tmp/makepkg/znotes and build znotes again?

alium commented on 2015-08-29 17:56

can you delete /tmp/makepkg/znotes and build znotres again?

uffe commented on 2015-08-29 17:55

Hmm that pkg is already installed here - also when I got the error...

alium commented on 2015-08-29 17:53

yes, sorry, need 'qt5-tools'. I update my PKGBUILD

uffe commented on 2015-08-29 17:25

Cannot build with yaourt - missing depsndency or ?

==> Building and installing package
==> Making package: znotes 0.4.5-6 (Sat Aug 29 19:21:44 CEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 118 0 118 0 0 176 0 --:--:-- --:--:-- --:--:-- 176
100 752k 0 752k 0 0 207k 0 --:--:-- 0:00:03 --:--:-- 279k
==> Validating source files with md5sums... ... Passed
==> Extracting sources...
-> Extracting with bsdtar
==> Starting build()...
Could not find qmake configuration file mkspecs/linux-g++.
Error processing project file: /tmp/yaourt-tmp-uj/aur-znotes/src/zNotes-master/
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build znotes.

alium commented on 2015-08-25 13:40

finally ported to qt5, switch to qt5!

alium commented on 2013-05-25 13:28

adopted, switch to master branch (GIT).

alium commented on 2012-10-27 23:16

compilation is broken!!

need patch to fix build with GCC 4.7!!

sosonok commented on 2012-10-25 11:26

Same error here.

Anonymous comment on 2012-07-11 14:51

Coundn't compile it with yaourt.
Here is the error messsge :

alium commented on 2012-04-17 07:05

can't build:

single_inst/qtlocalpeer.cpp: In constructor ‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’:
single_inst/qtlocalpeer.cpp:106:54: error: ‘::getuid’ has not been declared
single_inst/qtlocalpeer.cpp:106:54: note: suggested alternative:
In file included from single_inst/qtlockedfile_unix.cpp:49:0,
from single_inst/qtlocalpeer.cpp:70:
/usr/include/unistd.h:698:16: note: ‘QtLP_Private::getuid’
make: *** [build/qtlocalpeer.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/QtCore/QVector:1:0,
from highlightrulemodel.h:5,
from highlightrulemodel.cpp:1:
/usr/include/QtCore/qvector.h: In member function ‘void HighlightRuleModel::appendRow()’:
/usr/include/QtCore/qvector.h:343:3: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]

alium commented on 2011-02-05 13:49

need qt ad depend, not only as makedepend