I'm having trouble. I'm missing something still:
$ git clone https://aur.archlinux.org/qt4.git
$ cd qt4
$ extra-x86_64-build
...
Packages (1) qt4-4.8.7-32
Total Installed Size: 82.91 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [...] 100%
(1/1) checking package integrity [...] 100%
(1/1) loading package files [...] 100%
(1/1) checking for file conflicts [...] 100%
:: Processing package changes...
(1/1) installing qt4 [...] 100%
Optional dependencies for qt4
postgresql-libs: PostgreSQL driver [installed]
mariadb-libs: MariaDB driver [installed]
unixodbc: ODBC driver [installed]
libfbclient: Firebird/iBase driver [installed]
libxinerama: Xinerama support [installed]
libxcursor: Xcursor support [installed]
libxfixes: Xfixes support [installed]
icu: Unicode support [installed]
sni-qt: StatusNotifierItem (AppIndicators) support
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
resolving dependencies...
looking for conflicting packages...
Packages (6) libnsl-1.2.0-2 licenses-20200427-1 pyalpm-0.9.1-2 python-3.8.3-1 python-pyelftools-0.26-1
namcap-3.2.10-1
Total Installed Size: 79.94 MiB
:: Proceed with installation? [Y/n]
(6/6) checking keys in keyring [...] 100%
(6/6) checking package integrity [...] 100%
(6/6) loading package files [...] 100%
(6/6) checking for file conflicts [...] 100%
:: Processing package changes...
(1/6) installing libnsl [...] 100%
(2/6) installing python [...] 100%
Optional dependencies for python
python-setuptools
python-pip
sqlite [installed]
mpdecimal: for decimal
xz: for lzma [installed]
tk: for tkinter
(3/6) installing pyalpm [...] 100%
(4/6) installing licenses [...] 100%
(5/6) installing python-pyelftools [...] 100%
(6/6) installing namcap [...] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Checking PKGBUILD
Checking qt4-4.8.7-32-x86_64.pkg.tar.zst
qt4 W: unneeded dependency on a package run when needed by hooks.
qt4 W: Dependency unixodbc detected but optional (libraries ['usr/lib/libodbc.so.2'] needed in files ['usr/lib/qt4/plugins/sqldrivers/libqsqlodbc.so'])
qt4 W: Dependency libfbclient detected but optional (libraries ['usr/lib/libfbclient.so.2'] needed in files ['usr/lib/qt4/plugins/sqldrivers/libqsqlibase.so'])
qt4 W: Dependency postgresql-libs detected but optional (libraries ['usr/lib/libpq.so.5'] needed in files ['usr/lib/qt4/plugins/sqldrivers/libqsqlpsql.so'])
qt4 W: Dependency mariadb-libs detected but optional (libraries ['usr/lib/libmariadb.so.3'] needed in files ['usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so'])
qt4 W: Dependency ca-certificates included but already satisfied
==> Running checkpkg
error: target not found: qt4
==> WARNING: Skipped checkpkg due to missing repo packages
$
and then yay
shows me that qt4
is upgradable.
Pinned Comments
eschwartz commented on 2019-05-09 13:24 (UTC)
@semeion,
qt4 was expelled from the official repositories due to https://lists.archlinux.org/pipermail/arch-dev-public/2019-April/029560.html
It will not be restored, because software needs to stop using qt4. It's fine for people to still use it via the AUR if they have old software that is not ported, but the proper solution is to get that software ported to qt5.
"It takes a long time to compile" is not a reason to move it to community.
@xuanruiqi,
Only Developers and Trusted Users have access to pkgbuild.com, and we will not be uploading qt4 there. If we wanted qt4, we would upload it to community, but we don't -- we have managed to move every package still being actively maintained in the official repos, over to qt5, and we want to stay that way.
...
Again, the proper long-term solution is to get software ported over to qt5.
dviktor commented on 2019-05-05 17:49 (UTC) (edited on 2019-05-15 19:02 (UTC) by dviktor)
For those who have problems with
‘std::tr1’ has not been declared
error: build in clean chroot withextra-x86_64-build
script.