You are not logged in.
I am trying to install twinkle-qt5 from AUR.
Here's my error:
CMake Error at /usr/lib64/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake:99 (find_package):
Could not find a configuration file for package "Qt5Script" that is
compatible with requested version "5.7.1".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/Qt5Script/Qt5ScriptConfig.cmake, version: 5.7.0
Call Stack (most recent call first):
CMakeLists.txt:45 (find_package)
I'm confused.
Will it help to paste .cache/pacaur/twinkle-qt5/src/twinkle/build/CMakeFiles/CMakeOutput.log ? (Neither Qt5Declarative nor Qt5Script show up in this log.)
Last edited by MountainX (2016-07-13 04:34:18)
Offline
EDIT: Ignore this post. See below.
Next I tried installing qt5-script-git.
pacaur -S qt5-script-git
(removed qt5-script)
The new error is:
CMake Error at /usr/lib64/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake:99 (find_package):
Could not find a configuration file for package "Qt5Sql" that is compatible
with requested version "5.7.1".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/Qt5Sql/Qt5SqlConfig.cmake, version: 5.7.0
Call Stack (most recent call first):
CMakeLists.txt:45 (find_package)
Last edited by MountainX (2016-07-13 03:27:19)
Offline
EDIT: Ignore this post. See next one directly below.
There seems to be a conflicting files error. After a lot of troubleshooting, I got stuck at this error:
error: failed to commit transaction (conflicting files)
/usr/lib/qt/bin/qdoc exists in filesystem
Last edited by MountainX (2016-07-13 03:27:37)
Offline
Here is my makepkg log:
==> Making package: twinkle-qt5 1.9.0-1 (Tue Jul 12 23:02:12 EDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating twinkle git repo...
Fetching origin
==> Validating source files with md5sums...
twinkle ... Skipped
==> Extracting sources...
-> Creating working copy of twinkle git repo...
Reset branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- libmagic version: 5.28
-- Found LibSndfile: /usr/lib64/libsndfile.so
-- Found commoncpp includes: /usr/include/commoncpp/config.h
-- Found commoncpp library: /usr/lib64/libcommoncpp.so
-- Found ccrtp includes: /usr/include/ccrtp/rtp.h
-- Found ccrtp library: /usr/lib64/libccrtp.so
-- Found ucommon includes: /usr/include/ucommon/ucommon.h
-- Found ucommon library: /usr/lib64/libucommon.so;/usr/lib64/libusecure.so
CMake Error at /usr/lib64/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake:99 (find_package):
Could not find a configuration file for package "Qt5Script" that is
compatible with requested version "5.7.1".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/Qt5Script/Qt5ScriptConfig.cmake, version: 5.7.0
Call Stack (most recent call first):
CMakeLists.txt:45 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/computeruser/.cache/pacaur/twinkle-qt5/src/twinkle/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...
additional info on related packages:
local/qt5-base 5.7.0-1 (qt qt5)
A cross-platform application and UI framework
local/qt5-declarative 5.7.0-2 (qt qt5)
Classes for QML and JavaScript languages
local/qt5-quick1 5.7.0-2
Qt Declarative is provided for Qt 4 compatibility
local/qt5-script 5.7.0-1 (qt qt5)
Classes for making Qt applications scriptable. Provided for Qt 4.x compatibility
local/qt5-tools 5.7.0-1 (qt qt5)
A cross-platform application and UI framework (Development Tools, QtHelp)
Offline
pacman -Qs qt5
Offline
$ pacman -Qs qt5
local/attica-qt5 5.23.0-1 (kf5)
Qt5 library that implements the Open Collaboration Services API
local/kimageformats 5.23.0-1 (kf5)
Image format plugins for Qt5
local/libaccounts-qt 1.14-2
Qt5-based client library for accessing the online accounts database
local/libdbusmenu-qt5 0.9.3+16.04.20160218-1
A library that provides a Qt implementation of the DBusMenu spec
local/phonon-qt5 4.9.0-1
The multimedia framework for KF5
local/phonon-qt5-vlc 0.9.0-1
Phonon VLC backend for Qt5
local/plasma-framework 5.23.0-1 (kf5)
Plasma library and runtime components based upon KF5 and Qt5
local/polkit-qt5 0.112.0+git20160226-1
A library that allows developers to access PolicyKit API with a nice Qt-style API
local/poppler-qt5 0.42.0-1
Poppler Qt5 bindings
local/pyqt5-common 5.6-1
Common PyQt files shared between python-pyqt5 and python2-pyqt5
local/python-pyqt5 5.6-1
A set of Python 3.x bindings for the Qt5 toolkit
local/python2-pyqt5 5.6-1
A set of Python 2.x bindings for the Qt5 toolkit
local/qca-qt5 2.1.1-5
Qt Cryptographic Architecture
local/qt5-base 5.7.0-1 (qt qt5)
A cross-platform application and UI framework
local/qt5-declarative 5.7.0-2 (qt qt5)
Classes for QML and JavaScript languages
local/qt5-graphicaleffects 5.7.0-1 (qt qt5)
Graphical effects for use with Qt Quick 2
local/qt5-imageformats 5.7.0-1 (qt qt5)
Plugins for additional image formats: TIFF, MNG, TGA, WBMP
local/qt5-location 5.7.0-1 (qt qt5)
Provides access to position, satellite and area monitoring classes
local/qt5-multimedia 5.7.0-1 (qt qt5)
Classes for audio, video, radio and camera functionality
local/qt5-quick1 5.7.0-2
Qt Declarative is provided for Qt 4 compatibility
local/qt5-quickcontrols 5.7.0-1 (qt qt5)
Reusable Qt Quick based UI controls to create classic desktop-style user interfaces
local/qt5-script 5.7.0-1 (qt qt5)
Classes for making Qt applications scriptable. Provided for Qt 4.x compatibility
local/qt5-sensors 5.7.0-1 (qt qt5)
Provides access to sensor hardware and motion gesture recognition
local/qt5-svg 5.7.0-1 (qt qt5)
Classes for displaying the contents of SVG files
local/qt5-tools 5.7.0-1 (qt qt5)
A cross-platform application and UI framework (Development Tools, QtHelp)
local/qt5-webchannel 5.7.0-1 (qt qt5)
Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript
clients
local/qt5-webkit 5.7.0-1 (qt qt5)
Classes for a WebKit2 based implementation and a new QML API
local/qt5-x11extras 5.7.0-1 (qt qt5)
Provides platform-specific APIs for X11
local/qt5-xmlpatterns 5.7.0-1 (qt qt5)
Support for XPath, XQuery, XSLT and XML schema validation
local/signond 8.59-1
A D-Bus service which performs user authentication on behalf of its clients
local/sonnet 5.23.0-2 (kf5)
Spelling framework for Qt5
Offline
Ah, the problem is because the qt5-quick1 package in the AUR sucks. It's what's causing your problems.
Offline
Ah, the problem is because the qt5-quick1 package in the AUR sucks. It's what's causing your problems.
Thanks. And how might I work around that (especially if I want to install this today)?
Offline
change the branch in the source entry, instead of building from the 5.7 branch, build from the 5.7.0 branch. Ideally, it should be building from a specific tag or commit, but this simple change should get things working.
Offline
change the branch in the source entry, instead of building from the 5.7 branch, build from the 5.7.0 branch. Ideally, it should be building from a specific tag or commit, but this simple change should get things working.
Let me see if I understand the steps...
First, I assume I need to edit this file: /usr/lib64/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake
Do I just change the referenced line (99), or do I change every occurrence in that file of 5.7.1 to 5.7.0?
Offline
No, edit the PKGBUILD for qt5-quick1. That's what's screwed up.
Offline
No, edit the PKGBUILD for qt5-quick1. That's what's screwed up.
It seems like I had to edit both because I still got the error when I only edited the PKGBUILD for qt5-quick1. Editing both resolved that. (Now I have a new minor error.)
Offline
Editing the PKGBUILD, then rebuilding and reinstalling the package should have given you 5.7.0 in the file you mentioned. If it doesn't you may have missed a step.
Offline
Editing the PKGBUILD, then rebuilding and reinstalling the package should have given you 5.7.0 in the file you mentioned. If it doesn't you may have missed a step.
I edited the PKGBUILD and replaced 5.7 with 5.7.0. Here is the edited file:
# Maintainer: AudioLinux <audiolinux AT fastmail DOT fm>
# Contributor: almack
pkgname=qt5-quick1
pkgver=5.7.0
_pkgver=5.7.0
pkgrel=2
arch=('i686' 'x86_64')
url='http://qt-project.org/'
pkgdesc='Qt Declarative is provided for Qt 4 compatibility'
license=('LGPL2.1' 'GPL3')
#options=("debug")
depends=('qt5-webkit' 'qt5-script')
makedepends=('git')
source=("git+https://code.qt.io/qt/qtquick1.git#branch=5.7.0")
sha1sums=('SKIP')
_prlfix() {
# Fix wrong path in prl files
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
}
prepare() {
cd qtquick1
if [ ! -d include ]; then
syncqt.pl-qt5 -version 5.7.0 sync.profile
fi
}
build() {
cd qtquick1
mkdir -p build
cd build
qmake-qt5 ..
make
make docs
}
package() {
cd qtquick1/build
make INSTALL_ROOT="${pkgdir}" install
make INSTALL_ROOT="${pkgdir}" install_docs
_prlfix
# create some symlinks in /usr/bin, postfixed with -qt5
install -d "${pkgdir}"/usr/bin
for i in $(ls ${pkgdir}/usr/lib/qt5/bin); do
ln -s /usr/lib/qt5/bin/${i} ${pkgdir}/usr/bin/${i}-qt5
done
install -D -m644 ../LGPL_EXCEPTION.txt \
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
Then I ran
makepkg -sri
Here is the result.
CMake Error at /usr/lib64/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake:99 (find_package):
Could not find a configuration file for package "Qt5Script" that is
compatible with requested version "5.7.1".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/Qt5Script/Qt5ScriptConfig.cmake, version: 5.7.0
/usr/lib64/cmake/Qt5Script/Qt5ScriptConfig.cmake, version: 5.7.0
Call Stack (most recent call first):
CMakeLists.txt:45 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/computeruser/.cache/pacaur/twinkle-qt5/src/twinkle/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...
Offline
I just built from the PKGBUILD you posted, and nowhere in usr/lib/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake does it say 5.7.1. It always lists 5.7.0
Edit: just realized from your other thread, you likely didn't clear the source dir before building.
Last edited by Scimmia (2016-07-13 04:12:14)
Offline
I just built from the PKGBUILD you posted, and nowhere in usr/lib/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake does it say 5.7.1. It always lists 5.7.0
OK, thanks for checking that. I think I should start over from scratch. What is the best way to get rid of all these related packages and start clean?
Offline
The twinkle-qt5 install completed successfully now. Thank you!
Offline
twinkle isn't starting after update.
libreadline.so.6: cannot open shared object file: No such file or directory
So I tried to reinstall twinkle and get same (above mentioned) error
CMake Error at /usr/lib64/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake:99 (find_package):
Could not find a configuration file for package "Qt5Script" that is
compatible with requested version "5.7.1".The following configuration files were considered but not accepted:
/usr/lib64/cmake/Qt5Script/Qt5ScriptConfig.cmake, version: 5.7.0
Offline