Bug 1328923

Summary: Update AQEMU for QT5, new upstream
Product: [Fedora] Fedora Reporter: Stephen Gordon <sgordon>
Component: aqemuAssignee: Stephen Gordon <sgordon>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: high    
Version: rawhideCC: jgrulich, jreznik, projects.rg, rdieter, rnovacek, sgordon, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: aqemu-0.9.2-1.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1437247 (view as bug list) Environment:
Last Closed: 2016-06-21 19:26:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1437247    

Description Stephen Gordon 2016-04-20 15:23:17 UTC
Description of problem:

The original AQEMU upstream [1] is effectively dead and has been since at least 2013. As a result downstream users and packagers, including Fedora, are carrying an increasing number of patches [2].

Tobias Gla recently contacted me indicating that he has updated AQEMU for QT5 as well as applying the various downstream fixes folks were carrying and created a fork of the project [3] that he intends to keep active.

Originally in light of the dormancy of upstream I was intending to orphan the AEMU package in F25, given this new activity though I would like to instead move to packaging the new/updated repository. This bug is to track that desire, notwithstanding that I need to double check whether this is feasible from a process perspective.

[1] https://sourceforge.net/projects/aqemu/
[2] https://retracile.net/blog/2014/12/29/19.00
[3] https://github.com/tobimensch/aqemu

Comment 1 Stephen Gordon 2016-06-01 20:31:39 UTC
The keys to https://sourceforge.net/projects/aqemu/ have been given to a new maintainer (Tobias) who has been working on integrating the various out of tree patches into the project and has release a new version (0.9.1) as a tarball. As such we can now update the aqemu packaging to pick this up and remove most if not all of the Fedora-specific patches as they are now in master.

Comment 2 Fedora Update System 2016-06-02 14:51:57 UTC
aqemu-0.9.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f2ef5224c4

Comment 3 Fedora Update System 2016-06-03 09:26:32 UTC
aqemu-0.9.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f2ef5224c4

Comment 4 Raphael Groner 2016-06-08 19:47:19 UTC
Are you sure to build with Qt5 libraries? Commit 5e8f6c8 shows an additional BR: qt5-qtbase-devel but still wants also qt-devel. Cmake may prefer to build binaries for Qt4, at least you should remove BR: qt-devel .

Please build for Fedora 23, too. Thanks in advance!

Comment 5 Stephen Gordon 2016-06-08 21:09:42 UTC
(In reply to Raphael Groner from comment #4)
> Are you sure to build with Qt5 libraries? Commit 5e8f6c8 shows an additional
> BR: qt5-qtbase-devel but still wants also qt-devel. Cmake may prefer to
> build binaries for Qt4, at least you should remove BR: qt-devel .

I'll remove it in a subsequent patch but based on the build behaviour the project wont actually build with Qt4 anymore, so I doubt it is falling back to it.

> Please build for Fedora 23, too. Thanks in advance!

Fedora 23 is considered a Stable Release at this time and as such I am hesitant to push what I consider to be a fairly major rebase of the package to it. See also https://fedoraproject.org/wiki/Updates_Policy

Comment 6 Raphael Groner 2016-06-09 04:13:05 UTC
Your latest builds, without BR: qt-devel, failed. build.log says it does not find rcc, indeed it's part of qt-devel. Maybe we found a bug.

$ which rcc
/usr/bin/rcc
$ rpm -qf /usr/bin/rcc
qt-devel-4.8.7-17.fc24.x86_64
$ rcc 2>&1 |head -1
Qt resource compiler

Reassigning to Qt5 maintainers to ask why there's no rcc available in qt5-qtbase-devel.

Comment 7 Raphael Groner 2016-06-09 13:00:28 UTC
Use /usr/bin/rcc-qt5 from qt5-qtbase-devel instead of rcc. This may need a patch for CMakeLists.txt or the like.

Comment 8 Rex Dieter 2016-06-09 13:02:12 UTC
or prepend %{_qt5_bindir} (aka  %_libdir/qt5/bin ) to $PATH, so that the rcc binary there is found first.

Comment 9 Fedora Update System 2016-06-21 19:26:20 UTC
aqemu-0.9.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.