It is necessary to add the patch for gcc11.
Search Criteria
Package Details: lib32-qt4 4.8.7-15
Package Actions
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.012471 |
First Submitted: | 2017-02-09 20:36 (UTC) |
Last Updated: | 2019-11-19 22:10 (UTC) |
Dependencies (27)
- lib32-alsa-lib (lib32-alsa-lib-minimal-git, lib32-alsa-lib-git)
- lib32-dbus (lib32-dbus-nosystemd-git)
- lib32-fontconfig (lib32-fontconfig-git)
- lib32-glib2 (lib32-glib2-git)
- lib32-libgl (lib32-nvidia-340xx-utils, lib32-libglvnd-git, lib32-amdgpu-pro-libgl-cfe, lib32-amdgpu-pro-libgl, lib32-libglvnd)
- lib32-libmng
- lib32-libpng (lib32-libpng-minimal-git)
- lib32-libsm
- lib32-libtiff (lib32-libtiff-git)
- lib32-libxi
- lib32-libxrandr
- lib32-libxv
- lib32-openssl (lib32-openssl-hardened)
- lib32-sqlite (lib32-sqlite-git)
- qt4 (qt4-bin, qt4-revert80e3108)
- cups (cups-noudev, cups-nosystemd, cups-git) (make)
- gcc-multilib (gccrs-git, gccrs-libs-git, gccrs-fortran-git, gccrs-objc-git, gccrs-ada-git, gccrs-go-git, gcc-git, gcc-libs-git, gcc-fortran-git, gcc-objc-git, gcc-ada-git, gcc-go-git, gcc) (make)
- lib32-gtk2 (lib32-gtk2-git, lib32-gtk2-minimal-git) (make)
- lib32-icu (lib32-icu-git) (make)
- lib32-libcups (make)
- Show 7 more dependencies...
Required by (19)
- 5up (make)
- bin32-edb-debugger
- bin32-lightscribe-labeler
- crayonphysicsdeluxe-hib
- lib32-ibus-qt
- lib32-libdbusmenu-qt
- lib32-libqxt
- lib32-libqxt (make)
- lib32-qjson
- lib32-qt4pas
- lib32-qtwebkit
- lib32-sni-qt
- lib32-sni-qt-eplus-bzr
- lib32-sni-qt-patched-git
- packettracer61
- shadowrunhongkong-gog
- simplicitystudio (optional)
- simplicitystudio5-bin (optional)
- xnretro
Sources (15)
- disable-sslv3.patch
- glib-honor-ExcludeSocketNotifiers-flag.diff
- https://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
- improve-cups-support.patch
- kde4-settings.patch
- kubuntu_14_systemtrayicon.diff
- l-qclipboard_delay.patch
- l-qclipboard_fix_recursive.patch
- moc-boost-workaround.patch
- qt4-gcc6.patch
- qt4-gcc8.patch
- qt4-gcc9.patch
- qt4-glibc-2.25.patch
- qt4-icu59.patch
- qt4-openssl-1.1.patch
Latest Comments
tioguda commented on 2022-06-17 20:48 (UTC)
Mipster commented on 2021-09-06 08:42 (UTC) (edited on 2021-09-06 08:42 (UTC) by Mipster)
My default compiler is clang, and it won't compile the source as is because clang defines a statement like this as an error
if(pointer > 0)
and it appears in the source
here is a link to an issue in mac ports for the same issue with a fix
https://trac.macports.org/ticket/54183
they give the solution made in the original project
this is a patch with the same solution, worked for me locally:
https://pastebin.com/EZVjSyVv
I'll mention it to be sure, but I don't think that it matters that much
I am running manjaro and not pure arch
Alkaris commented on 2021-02-23 22:51 (UTC)
This package fails with 404, because 4.8.7 does not exist in the directory → https://download.qt.io/archive/qt/4.8/
take a look and you will see it doesn't exist, you will need to either replace it with a different version or change the host where it can be downloaded.
bkb commented on 2021-02-04 08:32 (UTC)
It's even worse now, it's 404'ed
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading https://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
Aborting...
error: failed to download sources for 'lib32-qt4-4.8.7-15':
bkb commented on 2021-01-30 11:19 (UTC)
paru
commented on 2021-01-30 11:16 (UTC)
How do you install this using terminal?
China: http://mirrors.sohu.com/qt-all/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
USA: https://ftp.osuosl.org/pub/blfs/conglomeration/qt4/qt-everywhere-opensource-src-4.8.7.tar.gz
bkb commented on 2021-01-25 09:03 (UTC) (edited on 2021-01-25 09:07 (UTC) by bkb)
curl: (22) The requested URL returned error: 403 Forbidden
==> ERROR: Failure while downloading https://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
Maintainer hasn't done anything since 2 years, I have no hope for him to correct that
Alkaris commented on 2021-01-25 00:43 (UTC)
Seems to be an issue while downloading package with Error 403 Forbidden. URL must be outdated, or download server permissions have been changed.
MCOfficer commented on 2021-01-20 12:32 (UTC)
Because download.qt.io seems to be down and most mirrors only host 5.x and 6.x, here are two alternative URLs for the current version (4.8.7). The usual disclaimers apply.
China: http://mirrors.sohu.com/qt-all/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
USA: https://ftp.osuosl.org/pub/blfs/conglomeration/qt4/qt-everywhere-opensource-src-4.8.7.tar.gz
commented on 2020-04-06 16:26 (UTC)
0ffline packages: http://s.go.ro/f8rzjz29
slav commented on 2019-11-21 07:11 (UTC)
@Kalinda Thank you a lot.
Kalinda commented on 2019-11-20 23:04 (UTC)
Hey guys,
For anyone who has trouble building this huge package, I am providing it in my repo. You can find the info at https://aur.andontie.net
slav commented on 2019-11-20 22:17 (UTC)
Guys can you provide build lib32-qt4 4.8.7-15-x86_64.pkg.tar.xz file? Regards, Slav
WoefulDerelict commented on 2019-11-19 22:13 (UTC)
bitspyer: This should now be corrected.
PedroHLC: It does seem that way. Including the patches used by qt4 results in a successful build on my test box in a clean chroot.
bitspyer commented on 2019-11-14 11:00 (UTC)
lib32-qt4 wont build, also in clean chroot, as discribed in the pinned commentary.
Building always stops with this Message (in clean chroot and normal system):
dialogs/qpagesetupdialog_unix.cpp:553:12: error: ‘class Ui::QPageSetupWidget’ has no member named ‘paperHeight’ 553 | widget.paperHeight->setValue(m_paperSize.height() / m_currentMultiplier); | ^~~~~~~~~~~ compiling dialogs/qabstractpagesetupdialog.cpp dialogs/qpagesetupdialog_unix.cpp: At global scope: dialogs/qpagesetupdialog_unix.cpp:70:13: warning: ‘void populatePaperSizes(QComboBox)’ defined but not used [-Wunused-function] 70 | static void populatePaperSizes(QComboBox cb) | ^~~~~~~~~~~~~~~~~~ make[1]: [Makefile:129212: .obj/release-shared/qpagesetupdialog_unix.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: Leaving directory '/build/lib32-qt4/src/qt-everywhere-opensource-src-4.8.7/src/gui' make: *** [Makefile:421: sub-gui-make_default-ordered] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
PedroHLC commented on 2019-09-27 15:09 (UTC)
Looks like that patches are required to build with GCC9
medicineman25 commented on 2018-07-09 04:52 (UTC) (edited on 2018-07-09 04:54 (UTC) by medicineman25)
Hey there, thanks for doing this package. Please update the qt source to: http://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
Or if this package is using a newer version of Qt, then we can just change the version number :)
Cheers!!
sam-cavalcanti commented on 2018-07-03 03:42 (UTC)
Please change http://download.qt.io/official_releases/qt/4.8/${pkgver}/${_pkgfqn}.tar.gz for http://download.qt.io/archive/qt/4.8/${pkgver}/${_pkgfqn}.tar.gz
WoefulDerelict commented on 2018-06-13 18:05 (UTC)
8XA: I do not encounter any issues when using the official download URL. If you're unable to successfully download the tarball from the URL in the source array I'd suggest http://master.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz as the best alternative.
8XA commented on 2018-06-13 05:56 (UTC)
The source has an error, I put this link instead: http://qt.mirror.constant.com/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz Then, everything went OK.
WoefulDerelict commented on 2018-01-27 23:34 (UTC)
ArnaudNux: I can not reproduce that error in a clean chroot. Please read the pinned comments and retry your build in a clean chroot.
ArnaudNux commented on 2018-01-27 20:52 (UTC)
graphicsview/qgraphicswidget.cpp:1443:5: note: here case QEvent::GraphicsSceneMouseMove: ^~~~ graphicsview/qgraphicswidget.cpp: In member function 'virtual void QGraphicsWidget::changeEvent(QEvent*)': graphicsview/qgraphicswidget.cpp:1484:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (d->layout) ^~ graphicsview/qgraphicswidget.cpp:1486:5: note: here case QEvent::FontChange: ^~~~ moc graphicsview/qgraphicswidget.h compiling graphicsview/qgraphicswidget_p.cpp compiling graphicsview/qgridlayoutengine.cpp compiling graphicsview/qsimplex_p.cpp compiling graphicsview/qgraphicsanchorlayout_p.cpp compiling graphicsview/qgraphicsanchorlayout.cpp compiling util/qsystemtrayicon.cpp moc util/qcompleter.h compiling util/qcompleter.cpp moc util/qdesktopservices.cpp compiling util/qdesktopservices.cpp compiling util/qundogroup.cpp compiling util/qundostack.cpp moc util/qundoview.cpp compiling util/qundoview.cpp make[1]: No rule to make target 'util/qabstractsystemtrayiconsys.cpp', needed by '.obj/release-shared/qabstractsystemtrayiconsys.o'. Stop. make[1]: Leaving directory '/home/arnaud/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...
WoefulDerelict commented on 2018-01-26 09:43 (UTC)
I've merged the changes made in [Extra] to mend issues caused by ICU 60.1 and ensured lib32-icu is properly invited to the party if ICU is going to jump in and break the build.
ghthor commented on 2018-01-26 02:56 (UTC)
I managed to get it to build by applying this[1] change from the qt4 [extra] package. It was related to the icu-60.1 version bump. I've pushed that change and an addition of lib32-icu (optional) dependancy to my github[2].
[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/qt4&id=5e7388ab98ceb32ccc2b44caba3259c371933b1e [2] https://github.com/ghthor/lib32-qt4.git
basil commented on 2018-01-06 15:31 (UTC)
@rafaelff Did you read the two pinned comments from WoefulDerelict at the top? I have a bash script that did all the dirty work. It was working at some point, not sure if it still does, but for sure it's worth a try.
See here: https://gist.github.com/basilschneider/2422cebb355427d6f4063dfde52fb371
Note also the comments at the bottom. They might further help you if the build is still not working.
rafaelff commented on 2018-01-06 14:06 (UTC)
Build failed. Here is the build() output: https://ptpb.pw/Pf5p - any ideia?
WoefulDerelict commented on 2017-07-12 16:20 (UTC)
dimytch commented on 2017-07-12 11:52 (UTC)
JohnRobson commented on 2017-06-04 21:45 (UTC)
WoefulDerelict commented on 2017-05-27 13:29 (UTC) (edited on 2017-05-27 16:19 (UTC) by WoefulDerelict)
WoefulDerelict commented on 2017-05-25 22:21 (UTC) (edited on 2017-05-25 22:22 (UTC) by WoefulDerelict)
stefonarch commented on 2017-05-21 11:34 (UTC) (edited on 2017-05-21 11:36 (UTC) by stefonarch)
commented on 2017-05-21 09:37 (UTC)
WoefulDerelict commented on 2017-05-20 15:05 (UTC) (edited on 2017-05-20 15:12 (UTC) by WoefulDerelict)
commented on 2017-05-20 11:14 (UTC)
derblub commented on 2017-05-19 23:30 (UTC)
samarch commented on 2017-05-17 15:41 (UTC)
slav commented on 2017-05-13 21:32 (UTC)
WoefulDerelict commented on 2017-05-13 19:03 (UTC)
ArchRob commented on 2017-05-11 15:39 (UTC)
basil commented on 2017-05-06 19:02 (UTC)
ranger commented on 2017-05-03 23:34 (UTC)
slav commented on 2017-05-03 22:54 (UTC)
WoefulDerelict commented on 2017-05-03 22:44 (UTC)
PhoenixtheII commented on 2017-05-01 07:22 (UTC) (edited on 2017-05-01 07:34 (UTC) by PhoenixtheII)
maek commented on 2017-04-30 14:44 (UTC)
WoefulDerelict commented on 2017-04-27 23:18 (UTC)
kingcreole commented on 2017-04-27 19:58 (UTC) (edited on 2017-04-27 20:35 (UTC) by kingcreole)
WoefulDerelict commented on 2017-04-26 20:43 (UTC)
WoefulDerelict commented on 2017-04-26 17:16 (UTC)
PhoenixtheII commented on 2017-04-26 16:45 (UTC)
darkbasic commented on 2017-04-26 09:45 (UTC)
slav commented on 2017-04-25 22:52 (UTC)
ranger commented on 2017-04-25 22:28 (UTC)
slav commented on 2017-04-25 22:03 (UTC)
ranger commented on 2017-04-25 18:43 (UTC) (edited on 2017-04-25 22:27 (UTC) by ranger)
WoefulDerelict commented on 2017-04-25 17:55 (UTC)
darkbasic commented on 2017-04-25 11:05 (UTC)
WoefulDerelict commented on 2017-04-25 05:50 (UTC)
DellArch commented on 2017-04-24 13:25 (UTC)
antoniovazquez commented on 2017-04-24 12:13 (UTC)
WoefulDerelict commented on 2017-04-23 01:59 (UTC) (edited on 2017-04-23 02:00 (UTC) by WoefulDerelict)
DellArch commented on 2017-04-22 23:26 (UTC)
JohnRobson commented on 2017-04-07 01:22 (UTC)
WoefulDerelict commented on 2017-04-06 22:58 (UTC)
mudrii commented on 2017-03-26 08:31 (UTC)
Xavion commented on 2017-03-24 20:31 (UTC)
severach commented on 2017-03-22 17:53 (UTC)
WoefulDerelict commented on 2017-03-22 14:43 (UTC)
severach commented on 2017-03-22 06:44 (UTC)
astronouth7303 commented on 2017-03-22 00:31 (UTC)
NicolasV commented on 2017-03-20 22:29 (UTC) (edited on 2017-03-20 22:31 (UTC) by NicolasV)
WoefulDerelict commented on 2017-03-20 15:55 (UTC)
brandimarte commented on 2017-03-19 16:40 (UTC)
piedro commented on 2017-03-16 14:53 (UTC)
Tharbad commented on 2017-03-15 20:04 (UTC)
PhoenixtheII commented on 2017-03-14 13:45 (UTC)
slav commented on 2017-03-13 23:08 (UTC)
ranger commented on 2017-03-13 21:11 (UTC)
slav commented on 2017-03-13 20:57 (UTC)
WoefulDerelict commented on 2017-03-13 19:13 (UTC)
WoefulDerelict commented on 2017-03-09 14:32 (UTC)
1ace commented on 2017-03-09 13:34 (UTC)
WoefulDerelict commented on 2017-03-08 20:22 (UTC)
mnyolt commented on 2017-03-08 15:57 (UTC)
slav commented on 2017-03-08 10:53 (UTC)
TheSaint commented on 2017-03-08 09:25 (UTC)
WoefulDerelict commented on 2017-03-07 22:48 (UTC) (edited on 2017-03-07 22:51 (UTC) by WoefulDerelict)
mozo commented on 2017-03-07 22:41 (UTC)
ranger commented on 2017-03-07 22:23 (UTC) (edited on 2017-03-07 22:25 (UTC) by ranger)
WoefulDerelict commented on 2017-03-07 20:40 (UTC) (edited on 2017-03-07 20:48 (UTC) by WoefulDerelict)
mozo commented on 2017-03-07 20:00 (UTC)
WoefulDerelict commented on 2017-03-07 19:17 (UTC)
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.
-
Clone the lib32-qt4 repository or extract the snapshot archive into a clean working directory.
-
Enter the directory containing the package source. (PKGBUILD and patches.)
-
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
-
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.
mozo commented on 2017-03-07 18:31 (UTC)
WoefulDerelict commented on 2017-03-07 18:22 (UTC)
mozo commented on 2017-03-07 17:56 (UTC) (edited on 2017-03-07 17:59 (UTC) by mozo)
WoefulDerelict commented on 2017-03-07 15:25 (UTC)
mozo commented on 2017-03-07 15:06 (UTC)
WoefulDerelict commented on 2017-03-07 14:18 (UTC)
commented on 2017-03-07 05:18 (UTC)
WoefulDerelict commented on 2017-03-06 16:22 (UTC) (edited on 2017-03-06 16:29 (UTC) by WoefulDerelict)
ranger commented on 2017-03-06 16:20 (UTC) (edited on 2017-03-06 16:20 (UTC) by ranger)
WoefulDerelict commented on 2017-03-06 16:18 (UTC)
slav commented on 2017-03-06 15:45 (UTC)
tc1384 commented on 2017-03-05 23:18 (UTC)
WoefulDerelict commented on 2017-03-05 19:01 (UTC)
WoefulDerelict commented on 2017-03-05 12:22 (UTC)
tc1384 commented on 2017-03-05 11:17 (UTC) (edited on 2017-03-05 11:22 (UTC) by tc1384)
PhotonX commented on 2017-03-05 11:16 (UTC)
jro commented on 2017-03-05 10:59 (UTC)
PhotonX commented on 2017-03-05 10:39 (UTC)
WoefulDerelict commented on 2017-03-04 22:12 (UTC)
PhotonX commented on 2017-03-04 22:02 (UTC)
PhotonX commented on 2017-03-04 21:39 (UTC)
WoefulDerelict commented on 2017-03-04 20:58 (UTC)
PhotonX commented on 2017-03-04 20:51 (UTC)
WoefulDerelict commented on 2017-03-04 20:46 (UTC)
PhotonX commented on 2017-03-04 20:37 (UTC)
WoefulDerelict commented on 2017-03-04 20:34 (UTC)
PhotonX commented on 2017-03-04 20:06 (UTC)
WoefulDerelict commented on 2017-03-04 19:33 (UTC)
PhotonX commented on 2017-03-04 19:23 (UTC)
WoefulDerelict commented on 2017-03-04 19:16 (UTC)
WoefulDerelict commented on 2017-03-04 18:10 (UTC)
PhotonX commented on 2017-03-04 17:15 (UTC)
WoefulDerelict commented on 2017-03-04 17:11 (UTC)
PhotonX commented on 2017-03-04 10:50 (UTC)
PhotonX commented on 2017-03-04 08:43 (UTC) (edited on 2017-03-04 09:09 (UTC) by PhotonX)
WoefulDerelict commented on 2017-03-04 03:13 (UTC)
WoefulDerelict commented on 2017-03-03 21:39 (UTC) (edited on 2017-03-04 00:51 (UTC) by WoefulDerelict)
PhotonX commented on 2017-03-03 16:31 (UTC) (edited on 2017-03-03 16:32 (UTC) by PhotonX)
PhotonX commented on 2017-03-03 15:06 (UTC)
ranger commented on 2017-03-03 13:45 (UTC)
PhotonX commented on 2017-03-03 13:41 (UTC) (edited on 2017-03-03 13:42 (UTC) by PhotonX)
WoefulDerelict commented on 2017-03-03 13:03 (UTC) (edited on 2017-03-03 13:10 (UTC) by WoefulDerelict)
PhotonX commented on 2017-03-03 13:00 (UTC)
ranger commented on 2017-03-03 12:02 (UTC)
PhotonX commented on 2017-03-03 08:46 (UTC) (edited on 2017-03-03 08:47 (UTC) by PhotonX)
PhotonX commented on 2017-03-03 07:30 (UTC)
WoefulDerelict commented on 2017-03-02 20:40 (UTC) (edited on 2017-03-02 21:00 (UTC) by WoefulDerelict)
PhotonX commented on 2017-03-02 08:19 (UTC) (edited on 2017-03-02 08:25 (UTC) by PhotonX)
ranger commented on 2017-03-01 22:07 (UTC)
PhotonX commented on 2017-03-01 21:47 (UTC) (edited on 2017-03-01 21:48 (UTC) by PhotonX)
ranger commented on 2017-03-01 20:56 (UTC) (edited on 2017-03-01 21:39 (UTC) by ranger)
WoefulDerelict commented on 2017-03-01 20:43 (UTC)
ranger commented on 2017-03-01 20:36 (UTC)
PhotonX commented on 2017-03-01 20:29 (UTC)
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
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.
Clone the lib32-qt4 repository or extract the snapshot archive into a clean working directory.
Enter the directory containing the package source. (PKGBUILD and patches.)
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
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