Package Details: lib32-qt4 4.8.7-15

Git Clone URL: https://aur.archlinux.org/lib32-qt4.git (read-only, click to copy)
Package Base: lib32-qt4
Description: A cross-platform application and UI framework (32-bit)
Upstream URL: http://www.qt.io
Licenses: custom, GPL3, LGPL, FDL
Conflicts: lib32-qt
Replaces: lib32-qt
Submitter: arojas
Maintainer: None
Last Packager: WoefulDerelict
Votes: 51
Popularity: 0.000000
First Submitted: 2017-02-09 20:36 (UTC)
Last Updated: 2019-11-19 22:10 (UTC)

Pinned Comments

WoefulDerelict commented on 2017-03-07 19:07 (UTC) (edited on 2018-08-26 01:22 (UTC) by WoefulDerelict)

This package often requires special care to build. If building this with makepkg fails it will be necessary to construct the package in a clean chroot. Using an AUR helper is not recommended; however, aurutils does provide the option to build in the clean chroot.

The process of building this package in a clean chroot is rendered exceptionally simple with the help of scripts in the devtools package and can be completed via the following steps. These summarize the information provided by the Arch Linux DeveloperWiki and assume familiarity with git or the process of downloading a snapshot from the AUR and extracting the archive. Please refer to this article for more information about the devtools scripts and building in the clean chroot: [https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot]

Prerequisites: This process uses scripts in devtools to simplify the procedure: please install this package before beginning. The lib32-libmng package is required and must be built or downloaded from the Arch Linux Archive [https://wiki.archlinux.org/index.php/Arch_Linux_Archive]. QT 4 depends on this package and it is no longer found in the binary repositories.

  1. Clone the lib32-qt4 repository or extract the snapshot archive into a clean working directory.

  2. Enter the directory containing the package source. (PKGBUILD and patches.)

  3. Execute the following command, supplying the location of lib32-libmng: multilib-build -- -I /<somewhere>/lib32-libmng-2.0.3-1-x86_64.pkg.tar.xz

  4. Execute pacman with the -U flag to install the resulting package: just as one would with any other local package. Note: lib32-libmng would need to be installed in a similar fashion if it isn't already present on your system.

WoefulDerelict commented on 2017-02-25 15:52 (UTC) (edited on 2018-08-26 00:47 (UTC) by WoefulDerelict)

The QT 4 build system is prone to some odd behaviour: especially if the qtwebkit package is installed. [https://bbs.archlinux.org/viewtopic.php?id=132416] [https://bugreports.qt.io/browse/QTBUG-20236]

If your build fails with the following [error: expected class-name before ‘{’ token] when compiling please build in a clean chroot.

If your build fails with error messages about skipping incompatible files and being unable to find a specific file in a compatible format, especially while linking, you will need to build in a clean container to avoid issues.

Building this package in a clean chroot or other form of container will prevent unexpected issues.

All build errors will be ignored unless the build was performed inside a clean, properly configured container. For more information about building in a clean chroot see this article: [https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot]

Big thanks to int [at] arcor [dot] de for doing the legwork to track down the relevant issue reports and sending them my way.

The archlinuxgr repository contains a binary copy of this package courtesy of ranger.

[archlinuxgr] Server = http://archlinuxgr.tiven.org/archlinux/$arch

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 25 Next › Last »

WoefulDerelict commented on 2017-03-04 22:12 (UTC)

PhotonX: Thanks very much for sticking with me through this and being my guinea pig. I do believe that pins down the problem and I can issue a proper fixed update now. Your diligence in tracking this down with me has been much appreciated.

PhotonX commented on 2017-03-04 22:02 (UTC)

TF2 passed the test.

PhotonX commented on 2017-03-04 21:39 (UTC)

TF1 failed the test, now building TF2.

WoefulDerelict commented on 2017-03-04 20:58 (UTC)

PhotonX: I've uploaded two more tests with some changes attempting to resolve the issue introduced in the last test. TF1 and TF2. They are different from one another and do not include the same changes. I'm hoping one of them will work properly and resolve your issue.

PhotonX commented on 2017-03-04 20:51 (UTC)

Exactly, it builds correctly but Skype looks ugly. Let me know if you need more test runs to bisect the issue further!

WoefulDerelict commented on 2017-03-04 20:46 (UTC)

PhotonX: If it builds correctly but fails to render the GTK theme then it means you have helped me narrow down the offending batch of changes and I can investigate a much smaller body of code for the root of the issue and hopefully fix it which will allow me to publish a finished release that is safe to update to unlike release 8 which has be fraught with build errors due to interactions with qtwebkit and GTK themes.

PhotonX commented on 2017-03-04 20:37 (UTC)

So, mBase failed. What does it mean?

WoefulDerelict commented on 2017-03-04 20:34 (UTC)

PhotonX: Rebase is a mirror of the current deployment rebased on [Extra]. It should be the exact same as the resources here in the AUR and is the revision currently failing to incorporate your GTK themes properly. mBase is a step between GCC and Rebase where the statements from [Extra] are used; however, the additional patches are not incorporated. It should isolate the issue down to something one did to the PKGBUILD during the rebase or the code changes made by the patches from [Extra]

PhotonX commented on 2017-03-04 20:06 (UTC)

Sorry, read too late that GCC contains Reconfigure. Does it also contain Rebase? Anyway, GCC and Reconfigure are passed, now doing mBase.

WoefulDerelict commented on 2017-03-04 19:33 (UTC)

PhotonX: GCC contains Reconfigure. If GCC passed there is no point in doing the other two from the first set as the offending change will not be there. Try mBase instead.