Package Details: lib32-qt4 4.8.7-14

Git Clone URL: https://aur.archlinux.org/lib32-qt4.git (read-only)
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<=4.8.4
Submitter: arojas
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 51
Popularity: 0.206919
First Submitted: 2017-02-09 20:36
Last Updated: 2018-07-10 17:40

Sources (13)

Pinned Comments

WoefulDerelict commented on 2017-03-07 19:07

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

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 ... 11 12 13 14 15 16 17 18 19 20 21 ... Next › Last »

vongoom commented on 2017-02-22 16:10

I use this package, and I think most of us do, just because it's a requisite for Skype. Since Skype is working well with an old version, I'm not taking the hassle to compile this new version which doesn't build.

olsonpm commented on 2017-02-22 15:50

fyi - cleaning the package cache didn't work for me (meephz mentioned it did for them)

I plan on providing the info for my machine tonight. The combination of my not having used 'chroot', nor any of those arch helper scripts caused for slow progress based off the instructions/feedback here. That is my own fault for being a noob :)

Thanks so much for this package btw. I have no idea what it does but I know I've benefited from it.

ranger commented on 2017-02-22 14:15

@WoefulDerelict

So I tried again to build in my main pc (i7-3537U, ssd, 8GB RAM, using /tmp)
First try, I killed my DE and X and tried to build from terminal (150 MB used) but still using /tmp. Failed like before.

Then I started the system normally and tried to build in my ~, without using /tmp. Again failed at the same point.

So at least we know it has nothing to do with building in RAM, it's something in my setup. I don't know why I had no problem with -7...

tc1384 commented on 2017-02-22 12:19

It builds OK on
Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
MemTotal: 16372612 kB

pacman -Q lib32-qt4
lib32-qt4 4.8.7-8

Build FAILS on my laptop
Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz
MemTotal: 8166864 kB

.cache/pacaur/lib32-qt4/src/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap/libbootstrap.a(qmalloc.o)' is incompatible with i386:x86-64 output

.cache/pacaur/lib32-qt4/src/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap/libbootstrap.a(qdir.o): In function `QDir::cleanPath(QString const&)':
qdir.cpp:(.text+0x12ae): undefined reference to `qMalloc(unsigned long)'

...

qvector.cpp:(.text+0xba): undefined reference to `qReallocAligned(void*, unsigned long, unsigned long, unsigned long)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:118: ../../../bin/moc] Error 1

ZeroBit commented on 2017-02-22 12:08

@WoefulDerelict
Please, let me know when you downloaded and I will delete this file allout.tar.gz

ZeroBit commented on 2017-02-22 11:45

Sorry I could not upload logs to pasterbin. I put it here
https://dl.dropboxusercontent.com/u/932514/temp/allout.tar.gz

Tomek80Bytom commented on 2017-02-22 07:26

@ranger gave us the best solution for this issue. Thank you very much. You are great man! :-)

@WoefulDerelict
Unfortunately... I have not read this page before my third attemp to build this package (collection of resources). In the future I will try to look into AUR much earlier, to avoid simmilar issues. Sorry. :-)

mwz commented on 2017-02-21 22:10

make[1]: *** No rule to make target 'util/qabstractsystemtrayiconsys.cpp', needed by '.obj/release-shared/qabstractsystemtrayiconsys.o'. Stop.
make[1]: Leaving directory '~/.cache/pacaur/lib32-qt4/src/qt-everywhere-opensource-src-4.8.7/src/gui'
make: *** [Makefile:423: sub-gui-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build lib32-qt4 package(s)

WoefulDerelict commented on 2017-02-21 21:12

ZeroBit: Preferably the entire output of makepkg hosted on a paste site. See the URLs in posts made by meepzh, plebian and billypilgrim.

ZeroBit commented on 2017-02-21 20:02

@WoefulDerelict
Can you provide the list of command the output of which you are interested of?