Package Details: znotes 0.4.5-7

Git Clone URL: https://aur.archlinux.org/znotes.git (read-only)
Package Base: znotes
Description: Lightweight crossplatform application for notes managment with simple interface
Upstream URL: http://znotes.sourceforge.net
Licenses: GPL
Submitter: None
Maintainer: alium
Last Packager: alium
Votes: 14
Popularity: 0.458505
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

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

[FileDialog]
history=file:///home/alois/Plocha
lastVisited=file:///home/alois/Plocha
qtVersion=5.5.0
shortcuts=file:, file:///home/alois
sidebarWidth=81
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2\x44\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\x32\0\0\0\x1\0\0\0\0\0\0\0G\0\0\0\x1\0\0\0\0\0\0\0L\0\0\0\x1\0\0\0\0\0\0\0\x7f\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0)
viewMode=Detail


uffe commented on 2015-08-30 15:28

@alium:
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

@uffe:
Path on my system is:
/usr/lib/qt/mkspecs/linux-g++
/usr/lib/qt/mkspecs/linux-g++-32
/usr/lib/qt/mkspecs/linux-g++-64
/usr/lib/qt/mkspecs/linux-g++/qmake.conf
/usr/lib/qt/mkspecs/linux-g++/qplatformdefs.h
/usr/lib/qt/mkspecs/linux-g++-32/qmake.conf
/usr/lib/qt/mkspecs/linux-g++-32/qplatformdefs.h
/usr/lib/qt/mkspecs/linux-g++-64/qmake.conf
/usr/lib/qt/mkspecs/linux-g++-64/qplatformdefs.h

my strace: https://paste.ee/p/nZK1H
no double-referenced "mkspecs"

uffe commented on 2015-08-30 14:15

@alium:

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 -

Questions:
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

@uffe:
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

All comments