You are not logged in.

#1 2015-05-29 10:37:23

Xelvet
Member
Registered: 2014-02-20
Posts: 88

Configuring Psi ... Verifying Qt 4 build environment ... fail

No idea what the hell else could that be. Please advise..

yaourt -S psi-plus-git

==> Starting build()...
Project name: Psi
Profile: psi.pro
Deps: qt4* buildmodeapp* idn* qca* zlib* qjdns* x11* universal qdbus webkit growl whiteboarding xss aspell enchant spell* plugins conf* recursiveprl*

'configure' written.
Configuring Psi ...
Verifying Qt 4 build environment ... fail

Reason: There was an error compiling 'conf'.  See conf.log for details.

Be sure you have a proper Qt 4.0 build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:

 1) --qtdir is set to the location of Qt
 2) $QTDIR is set to the location of Qt
 3) QtCore is in the pkg-config database
 4) qmake is in the $PATH

This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.

==> ERROR: A failure occurred in build().
    Aborting...
qtchooser --print-env
QT_SELECT="default"
QTTOOLDIR="/usr/lib/qt4/bin"
QTLIBDIR="/usr/lib"
qmake -v
QMake version 2.01a
Using Qt version 4.8.6 in /usr/lib

Last edited by Xelvet (2015-05-29 10:39:14)

Offline

#2 2015-05-29 10:45:37

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,650
Website

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

Do you have base-devel installed? What details are in conf.log?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-05-29 10:51:51

Xelvet
Member
Registered: 2014-02-20
Posts: 88

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

base-devel... sure.
have no clue
what on earth is written
in this src/psi/conf.log

/usr/lib/qt4/bin/moc -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. conf4.cpp -o conf4.moc
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -o conf4.o conf4.cpp
In file included from conf4.cpp:703:0:
buildmodeapp.qcm: In member function ‘virtual bool qc_buildmodeapp::exec()’:
buildmodeapp.qcm:48:8: warning: variable ‘staticmode’ set but not used [-Wunused-but-set-variable]
In file included from conf4.cpp:703:0:
qca.qcm: In function ‘bool qca_try(Conf*, const QString&, const QString&, const QString&, bool, bool, QString*)’:
qca.qcm:61:42: error: ‘class Conf’ has no member named ‘escapePath’
qca.qcm:61:68: error: ‘class Conf’ has no member named ‘escapePath’
In file included from conf4.cpp:703:0:
qdbus.qcm: In member function ‘virtual bool qc_qdbus::exec()’:
qdbus.qcm:33:17: warning: statement has no effect [-Wunused-value]
In file included from conf4.cpp:703:0:
whiteboarding.qcm: In member function ‘virtual bool qc_whiteboarding::exec()’:
whiteboarding.qcm:23:14: warning: zero-length gnu_printf format string [-Wformat-zero-length]
whiteboarding.qcm:24:14: warning: zero-length gnu_printf format string [-Wformat-zero-length]
In file included from conf4.cpp:703:0:
plugins.qcm: In member function ‘virtual bool qc_plugins::exec()’:
plugins.qcm:23:14: warning: zero-length gnu_printf format string [-Wformat-zero-length]
plugins.qcm:24:14: warning: zero-length gnu_printf format string [-Wformat-zero-length]
In file included from conf4.cpp:703:0:
recursiveprl.qcm: In member function ‘bool qc_recursiveprl::writeConf()’:
recursiveprl.qcm:95:37: error: ‘class Conf’ has no member named ‘escapedIncludes’
recursiveprl.qcm:97:30: error: ‘class Conf’ has no member named ‘escapedLibs’
In file included from conf4.cpp:703:0:
qca.qcm: At global scope:
qca.qcm:102:13: warning: ‘bool qca_try_framework(Conf*, const QString&, bool, bool, QString*)’ defined but not used [-Wunused-function]
Makefile:219: recipe for target 'conf4.o' failed
make: *** [conf4.o] Error 1

it used to build just fine
just a few mo ago. wtf.

Last edited by Xelvet (2015-05-29 11:00:40)

Offline

#4 2015-05-29 13:39:01

Xelvet
Member
Registered: 2014-02-20
Posts: 88

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

The project devs say it's related to qconf.
Not sure how though.

Offline

#5 2015-06-02 12:18:00

karel
Member
From: Czech republic
Registered: 2007-01-15
Posts: 17

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

I have same problem witg Qt and Psi.

Offline

#6 2015-06-03 03:41:53

modInfo
Member
From: Germany
Registered: 2012-06-08
Posts: 18
Website

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

I have to same problem

Offline

#7 2015-06-03 17:37:55

hcartiaux
Member
From: France
Registered: 2014-08-20
Posts: 7
Website

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

Same problem with psi-git.
I can compile if I revert all commits (related to qconf) after f3e6fe0230717f86322e083c9762095607842c91.
In the PKGBUILD, I've inserted this command at the line 41 (before the command conf):
  git checkout f3e6fe0230717f86322e083c9762095607842c91

Offline

#8 2015-06-03 17:48:56

hcartiaux
Member
From: France
Registered: 2014-08-20
Posts: 7
Website

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

I think the developers use qconf 1.5 from this git repo: https://github.com/psi-plus/qconf
We still have qconf 1.4 in the official repositories...

Last edited by hcartiaux (2015-06-03 17:49:10)

Offline

#9 2015-06-03 17:59:25

hcartiaux
Member
From: France
Registered: 2014-08-20
Posts: 7
Website

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

I've packaged qconf-git on AUR, it fixes the compilation errors.

Offline

#10 2015-06-03 18:48:11

modInfo
Member
From: Germany
Registered: 2012-06-08
Posts: 18
Website

Re: Configuring Psi ... Verifying Qt 4 build environment ... fail

Fixed:

psi-dev@conference.jabber.ru wrote:

[21:22:51] <rion☫> qt5 on arch is somehow broken afaik
[21:23:01] <rion☫> so you have to force qt4
[21:23:38] <rion☫> use QTDIR env var to point qt4 prefix

export PATH=/usr/lib/qt4/bin:$PATH
export QTDIR=/usr/lib/qt4/

---------------

hcartiaux wrote:

I've packaged qconf-git on AUR, it fixes the compilation errors.

yes, it fix this error, thanks! But...

Project name: Psi
Profile: psi.pro
Deps: qt4* buildmodeapp* idn* qca* zlib* qjdns* x11* universal qdbus webkit growl whiteboarding xss aspell enchant spell* plugins conf* recursiveprl*

'configure' written.
'configure.exe' written.
Configuring Psi ...
Verifying Qt 4 build environment ... ok
Checking for Qt >= 4.7.0 ... 5.4.1
Checking for LibIDN ... yes
Checking for QCA >= 2.0 ... yes
Checking for zlib ... yes
Checking for QJDns ... yes
Checking for QDBUS ... yes
Checking for the XScreenSaver extension ... yes
Checking for spellcheck engine ... aspell
Checking for Psi Plugin support ...

        !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!
        PLUGIN SUPPORT IS STILL UNFINISHED !!!
        THE PLUGIN INTERFACE /WILL/ CHANGE !!!
        USE AT YOUR OWN RISK !!!
 yes
Generating .prl files ... fail

Error: need Generate .prl files!

Last edited by modInfo (2015-06-03 19:41:53)

Offline

Board footer

Powered by FluxBB