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: WoefulDerelict
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 2 3 4 5 6 7 8 9 .. 25 Next › Last »

JohnRobson commented on 2017-06-04 21:45 (UTC)

People, follow this, will work perfectly: https://gist.github.com/basilschneider/2422cebb355427d6f4063dfde52fb371

WoefulDerelict commented on 2017-05-27 13:29 (UTC) (edited on 2017-05-27 16:19 (UTC) by WoefulDerelict)

In order to appease a small group of users who've: commented here [severach], posted and immediately deleted comments (which I still get a copy of via e-mail) and even contacted me via e-mail requesting multilib support for legacy qtwebkit applications one has created lib32-qtwebkit. This works with applications like Skype 4.3.0.37 that are only distributed as 32-bit binaries. Of course not only does lib32-qtwebkit depend on lib32-qt4, as many users have already discovered with qtwebkit, it will also interfere with building lib32-qt4 once installed. This awkward situation, which will likely complicate future updates, can be resolved by building lib32-qt4 in a container. The Qt4 port of webkit takes about twice as long to build as the Qt4 blob without webkit. If you do not have the patience for a long build seek out a binary package in one of the unofficial repos.

WoefulDerelict commented on 2017-05-25 22:21 (UTC) (edited on 2017-05-25 22:22 (UTC) by WoefulDerelict)

biosin: Helpers do odd and stupid things sometimes. If the source is something you recognize you might be able to read through it and find out what pacaur is doing that causes the issue. Sadly, while these tools often make maintaining one's system easier the added complexity they introduce can lead to breakage during builds. If one's helper fails it is always best to fall back to using makepkg on a snapshot of the resources in the AUR. stefonarch: Not sure what's up there at all. There are now patches allowing this to build against OpenSSL 1.1 so lib32-openssl-1.0 was dropped as a dependency. It looks like it is in the webkit source which shouldn't be part of the build as it is explicitly disabled. There is likely something on your system interfering with the build. I can't reproduce the error in a clean chroot or on a dirty test box.

stefonarch commented on 2017-05-21 11:34 (UTC) (edited on 2017-05-21 11:36 (UTC) by stefonarch)

Same error as antoniovazquez on 2017-04-24 12:13: make[2]: *** [Makefile.WebKit:497627: .obj/release-static/MediaPlayer.o] Error 1 make[2]: uscita dalla directory "/tmp/makepkg/lib32-qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebCore" make[1]: *** [Makefile.WebKit:79: sub-WebCore-make_default-ordered] Error 2 make[1]: uscita dalla directory "/tmp/makepkg/lib32-qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source" make: *** [Makefile:747: sub-webkit-make_default-ordered] Error 2 yaourt -S lib32-openssl-1.0 solves for now.

<deleted-account> commented on 2017-05-21 09:37 (UTC)

I don't know why, but each time I let pacaur download it together with aria2c, it didn't work, there was just a small file in the end. I downloaded it manually (with aria2c) and could makepkg -oi, so it works...

WoefulDerelict commented on 2017-05-20 15:05 (UTC) (edited on 2017-05-20 15:12 (UTC) by WoefulDerelict)

biosin: Yes, the checksum in the PKGBUILD is correct. Perhaps try fetching the source from an alternate location. http://master.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz Unfortunately upstream hasn't provided any resources users can utilize to verify the authenticity or integrity of the archive; however, local testing yields the same sha512sum on a fresh download of the tarball.

<deleted-account> commented on 2017-05-20 11:14 (UTC)

I'm sorry but is the checksum correct for qt-everywhere-opensource-src-4.8.7.tar.gz? My download has b8085c86254cbe951aec73d8d2fedf9285fea94d487903bda40e3480193e68a55c63fc91d01635fcd5198c9d1555657eaede4961474a624137aa211193987a57 whereas in the PKGBUILD it says f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125. Unfortunately on the website there are only MD5 and SHA-{1,256} given.

derblub commented on 2017-05-19 23:30 (UTC)

What's going on? Compilation is taking hours..

samarch commented on 2017-05-17 15:41 (UTC)

Indeed, the compilation is a real pain and takes ages, having the binaries of this package would be nice.