@dviktor: Can you add that the right script for the devtools is extra-x86_64-build?
Search Criteria
Package Details: qt4 4.8.7-38
Package Actions
Git Clone URL: | https://aur.archlinux.org/qt4.git (read-only, click to copy) |
---|---|
Package Base: | qt4 |
Description: | A cross-platform application and UI framework |
Upstream URL: | https://www.qt.io |
Licenses: | GPL-3.0-only, LGPL-3.0-only, GFDL-1.3-only |
Conflicts: | qt |
Replaces: | qt |
Submitter: | arojas |
Maintainer: | DodoGTA |
Last Packager: | DodoGTA |
Votes: | 81 |
Popularity: | 0.42 |
First Submitted: | 2019-05-01 11:51 (UTC) |
Last Updated: | 2025-01-31 20:43 (UTC) |
Dependencies (37)
- alsa-lib
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-macosAUR, freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd)
- libice
- libmng
- libpng (libpng-gitAUR, libpng-apngAUR)
- libsm
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxi (libxi-gitAUR)
- libxrandr (libxrandr-gitAUR)
- libxrender
- openssl (openssl-gitAUR, openssl-staticAUR)
- sqlite (sqlite-fossilAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, mimejs-gitAUR, xdg-utils-mimeoAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- Show 17 more dependencies...
Required by (203)
- 4chan-downloader
- aliza-free
- appset-qt
- aria2fe
- armory
- arrowmatcher
- arx-libertatis (optional)
- astrofocuser
- attica-qt4
- automoc4
- avrcalc
- bouml
- cabanalyst
- chomikbox
- clop
- coolreader3-git
- crochetcharts
- crosti
- cubieboard-livesuit
- cueplot
- cutecom-legacy
- cutemupen
- daisyduck-bin
- dboxfe2
- diffimg
- divine (optional)
- doom2df-editor-qt4
- dukto
- e-foto-svn
- easymp3gain-qt4-bin
- ebus-sdk (optional)
- edyuk-svn
- eepbeacon
- eepclock
- eepkeyer
- eggwm
- eilin (make)
- eilin (optional)
- eliot
- entomologist
- erebus
- erebus-git (make)
- ethercoin-qt-git
- evopedia-git
- extcalc
- fatrat
- fcitx-qimpanel
- fcitx5-qt4-git
- fcitx5-qt4-git (make)
- fcitx5-qt5-git (make)
- fcitx5-qt6-git (make)
- flif-mime (make)
- fraqtive
- freemat
- fresh-git (make)
- frozenway
- galactrum
- gaussianbeam
- gaussianbeam-svn
- gbe-plus-git
- gebabbel
- genpo
- glc-lib
- gle-graphics (make)
- gle-graphics (optional)
- glmixer-svn
- glsl-debugger-git
- gnuplot4
- hairless-midiserial-git
- hyperstake-git
- hypervc-qt4
- ibus-qt
- icesl
- icesl-beta
- imagevis3d-bin
- immix
- indiprop-git
- jackctlmmc-git
- jeopardy
- jreen
- jreen-git
- kbang (make)
- keepassx
- keepassx2
- keepassx2-twofish
- kilogui
- kopete-history-merger
- kpar2
- kurso_esperanto
- kvantum-qt4-git
- lib32-qt4
- libdbusmenu-qt4
- libqxt
- mamepgui
- mamepgui-git
- morpheus-modeling
- multiprofiler
- netemul
- ng-jackspa
- nikki
- open-axiom
- open365
- openhantek
- openpref
- pgl
- phoebetria
- phonon-qt4
- phonon-qt4 (make)
- pixeluvo
- planner9-git (optional)
- polkit-qt4
- polkit-qt4 (make)
- ppcoin-qt
- project-lemon
- pyqt4-common
- qarv
- qastrocam-g2-svn
- qbat
- qchat
- qchdman
- qconnman-git
- qelly
- qelly-git
- qeven
- qfsm
- qmodbus-git
- qpass
- qprotractor-git (make)
- qrfcview
- qscite
- qshntoolsplit
- qsolocards
- qssh
- qt-inspector-git
- qt4-doc
- qt4-flif
- qt4-flif (make)
- qt4-serialport
- qt4pas
- qt4wvdialer
- qt5-flif (make)
- qtemu
- qtmib
- qtscrob
- qtscrob (make)
- qtwebkit
- qtwebkit-bin
- quazip-qt4
- qucs
- quikman
- qvdpautest-git
- qwbfs
- qwbfsmanager-git
- qwt-qt4
- qwt5
- qwtplot3d
- qxkb
- radium_compressor
- readesm-fr
- sandforce-updater
- scribus-stable
- sevensquare-git
- shadermaker
- shrew-vpn-client
- simpleide-amd64-bin
- simplesysexxer
- skype-call-recorder
- smartdeblur-git
- spectrascan
- spectraview2
- ssr-git
- stultitiasimplex-bin
- synkron
- synthclone
- synthpod-git (optional)
- tar-backup-git
- textroom
- trace32
- transparency
- ttcut
- tuxboot
- tuxboot-git
- twombit
- umps2 (make)
- umps2-git (make)
- unrealtournament4
- vacuum-im
- valkyrie
- vidalia
- vide-bin
- vivado (optional)
- wally
- xfstk-dldr
- xilinx-ise
- yafaray-git (optional)
- yafaray-git (make)
- yagf
- yasw
- yasw (make)
- yasw-docs (make)
- zedle
- ziftrcoin-qt
- zmviewer-svn
Sources (22)
- assistant-qt4.desktop
- designer-qt4.desktop
- disable-sslv3.patch
- fix_jit.patch
- glib-honor-ExcludeSocketNotifiers-flag.diff
- https://src.fedoraproject.org/repo/pkgs/qt/qt-everywhere-opensource-src-4.8.7.tar.gz/d990ee66bf7ab0c785589776f35ba6ad/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
- linguist-qt4.desktop
- moc-boost-workaround.patch
- qdbusviewer-qt4.desktop
- qt4-gcc11.patch
- qt4-gcc6.patch
- qt4-gcc8.patch
- qt4-gcc9.patch
- qt4-glibc-2.25.patch
- qt4-icu59.patch
- qt4-openssl-1.1.patch
- qtconfig-qt4.desktop
Tharbad commented on 2019-05-11 22:41 (UTC)
dviktor commented on 2019-05-11 12:30 (UTC)
@Tharbad no, it's not proper way to perform clean chroot build. Please follow instructions in wiki
Tharbad commented on 2019-05-11 02:28 (UTC) (edited on 2019-05-11 17:58 (UTC) by Tharbad)
Used yay clean build option. Got:
In file included from ./wtf/FastAllocBase.h:93,
from ./wtf/RefCounted.h:25,
from ./wtf/CrossThreadRefCounted.h:36,
from ./wtf/text/StringImpl.h:28,
from ./runtime/UString.h:26,
from yarr/YarrPattern.h:30,
from yarr/YarrInterpreter.h:29,
from yarr/YarrInterpreter.cpp:28:
./wtf/TypeTraits.h:186:69: error: ‘std::tr1’ has not been declared
template<typename T> struct HasTrivialConstructor : public
std::tr1::has_trivial_constructor<T> { };
^~~
./wtf/TypeTraits.h:186:74: error: expected ‘{’ before ‘has_trivial_constructor’
template<typename T> struct HasTrivialConstructor : public
std::tr1::has_trivial_constructor<T> { };
^~~~~~~~~~~~~~~~~~~~~~~ ./wtf/TypeTraits.h:187:68: error: ‘std::tr1’ has not been declared template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { }; ^~~ ./wtf/TypeTraits.h:187:73: error: expected ‘{’ before ‘has_trivial_destructor’ template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
^~~~~~~~~~~~~~~~~~~~~~
yarr/YarrInterpreter.cpp: In member function ‘bool
JSC::Yarr::Interpreter::backtrackParenthesesOnceEnd(JSC::Yarr::ByteTerm&,
JSC::Yarr::Interpreter::DisjunctionContext*)’:
yarr/YarrInterpreter.cpp:707:13: warning: this statement may fall through [-
Wimplicit-fallthrough=]
if (backTrack->begin == notFound) {
^~
yarr/YarrInterpreter.cpp:711:9: note: here
case QuantifierNonGreedy:
^~~~
make[2]: *** [Makefile.WebKit:1062: .obj/release-static/YarrInterpreter.o] Error 1
make[2]: Leaving directory '/tmp/yay/qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore'
make[1]: *** [Makefile.WebKit:43: sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2
make[1]: Leaving directory '/tmp/yay/qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source'
make: *** [Makefile:747: sub-webkit-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Also, when trying to remove qt4 I noticed it's dependency of kde.
mozo commented on 2019-05-10 15:02 (UTC)
Just for example there will be never alternative for KBGOffice Dictionary for it is abandoned years ago but is the only one Eng<->Bg dictionary for Linux. Some packages just doesn't have alternatives.
eschwartz commented on 2019-05-10 14:52 (UTC)
Except none of that makes sense. sip does not need qt4, and it doesn't need qt5 either -- it just generates code for them. And the real issue with sip is that in the latest version of sip, the upstream developer of sip, removed all qt4 support. https://www.riverbankcomputing.com/hg/sip/rev/328f2e872d64
All three of those packages are AUR packages... it's not unheard of for one AUR package to depend on another. And spflashtool-bin requires qtwebkit in addition to qt4... do you realize qtwebkit has been in the AUR for two years now?
This is not about "drying the well", and we're not trying to force anyone to port anything. We're simply saying that for years we've only begrudgingly supported qt4 at all, and we finally decided to stop. There's no use getting upset about the lack of support for really old things; we don't support KDE3, gnome2, linux 3.x either, now it is qt4's turn.
My advice is to port it or ask someone else to port it, because getting it ported will make it easier to run without requiring AUR packages, and will be beneficial in the long run either way.
Alternatively, look for modern alternatives to these packages.
dviktor commented on 2019-05-10 14:34 (UTC) (edited on 2019-05-10 14:42 (UTC) by dviktor)
@Tharbad recheck your /etc/makepkg.conf
and also show us steps how do you create clean chroot. Please post full relevant error so we can inspect it.
@piedro I think it's clear now how to build this package. For those who can't build it under usual environment method with clean chroot exists and works just fine.
It's inevitable that some software becomes obsolete and out-of-date, new versions will replace the old one - this is normal process of software development. Great example are GCC compilers version 6 and 7 (and, in near future, 8) - they are also moved out to the AUR and also requires a lot of time to build but I don't see anyone who complains about it. If you're not satisfied with AUR solution you can always find binary repository for qt4 and install it directly.
mozo commented on 2019-05-10 12:50 (UTC)
@piedro +1
piedro commented on 2019-05-10 11:54 (UTC)
The package "sip" is in the official extra repository and still needs qt4.
Also "everpad", "soundwire", "spflashtool"... to name only a few.
The idea to "dry the well" to make people behave in a certain way seems very questionable to me... The decision to make it harder for users in order to force porting is really twisted! And also misdirected. The result is that the users waste their time on figuring out how to compile qt4 while the developers of the "old" applications just don't care...
But well, though I am not a developer responsible for porting to qt5 I still need qt4 - so I will have to figure out how to compile it. What a waste of time.
pk
Tharbad commented on 2019-05-10 03:24 (UTC)
Getting ‘std::tr1’ has not been declared despite building in clean chroot
dviktor commented on 2019-05-09 23:53 (UTC) (edited on 2019-05-10 10:28 (UTC) by dviktor)
@deemoncheeque did you download the whole snapshot or just PKGBUILD?
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.