I can confirm building qt4 with extra-x86_64-build fails with the same error as posted by @infinitezero. I guess replacing asm volatile
with __asm__ __volatile__
might work.
Search Criteria
Package Details: qt4 4.8.7-36
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: | 79 |
Popularity: | 0.31 |
First Submitted: | 2019-05-01 11:51 (UTC) |
Last Updated: | 2024-06-26 19:25 (UTC) |
Dependencies (30)
- alsa-lib
- ca-certificates (ca-certificates-utils)
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- desktop-file-utils (desktop-file-utils-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libmng
- libxi (libxi-gitAUR)
- libxrandr (libxrandr-gitAUR)
- libxv
- sqlite (sqlite-fossilAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR)
- cups (cups-gitAUR, cups-gssapiAUR) (make)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (make)
- libfbclient (firebirdAUR) (make)
- mariadb-libs (mariadb-libs-gitAUR, libmysqlclient81AUR, libmysqlclientAUR, libmysqlclient80AUR, mariadb-lts-libs) (make)
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber) (make)
- patch (patch-gitAUR) (make)
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR) (make)
- unixodbc (unixodbc-gitAUR) (make)
- icu (icu-gitAUR) (optional) – Unicode support
- libfbclient (firebirdAUR) (optional) – Firebird/iBase driver
- libxcursor (optional) – Xcursor support
- libxfixes (optional) – Xfixes support
- libxinerama (libxinerama-randr-gitAUR) (optional) – Xinerama support
- mariadb-libs (mariadb-libs-gitAUR, libmysqlclient81AUR, libmysqlclientAUR, libmysqlclient80AUR, mariadb-lts-libs) (optional) – MariaDB driver
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR) (optional) – PostgreSQL driver
- sni-qtAUR (optional) – StatusNotifierItem (AppIndicators) support
- unixodbc (unixodbc-gitAUR) (optional) – ODBC driver
Required by (225)
- 4chan-downloader
- adwaita-qt4
- aliza-free
- appset-qt
- aria2fe
- armory
- arrowmatcher
- arx-libertatis (optional)
- astrofocuser
- attica-qt4
- automoc4
- avrcalc
- backupto
- belle
- bouml
- cabanalyst
- ccdebug
- chomikbox
- clop
- comporg
- coolreader3-git
- crochetcharts
- crosti
- cubieboard-livesuit
- cueplot
- cutecom-legacy
- cutemupen
- daisyduck-bin
- dboxfe2
- dice-emu
- diffimg
- divine (optional)
- doom2df-editor-qt4
- dukto
- dvbcut-qt4
- 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
- kmesstestserver-git
- kopete-history-merger
- kpar2
- kurso_esperanto
- kvantum-qt4-git
- lib32-qt4
- libdbusmenu-qt4
- libdbusmenu-qt4 (make)
- libisf-qt-git
- libmimic-qt-git
- libqxt
- linuxtrack
- mamepgui
- mamepgui-git
- morpheus-modeling
- multiprofiler
- netemul
- ng-jackspa
- nikki
- open-axiom
- open365
- openhantek
- openpref
- pam-face-authentication
- pgl
- phoebetria
- phonon-qt4
- phonon-qt4 (make)
- pixeluvo
- planner9-git (optional)
- plecs-blockset
- plecs-standalone
- polkit-qt4 (make)
- polkit-qt4
- ppcoin-qt
- project-lemon
- pyqt4-common
- qarv
- qastrocam-g2-svn
- qbat
- qbrew
- qchat
- qchdman
- qconnman-git
- qelly
- qelly-git
- qeven
- qfsm
- qmodbus-git
- qpass
- qprotractor-git (make)
- qrfcview
- qscite
- qshntoolsplit
- qsolocards
- qssh
- qsynergy
- qt-inspector-git
- qt4-doc
- qt4-flif
- qt4-flif (make)
- qt4-serialport
- qt4pas
- qt4wvdialer
- qt5-flif (make)
- qtcurve-git
- qtemu
- qtmib
- qtscrob (make)
- qtscrob
- qtwebkit
- qtwebkit-bin
- quazip-qt4
- qucs
- qucs-git
- 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
- stellarium-lts
- stultitiasimplex-bin
- sudoku-git
- 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 (make)
- yafaray-git (optional)
- yagf
- yasw
- yasw (make)
- yasw-docs (make)
- ydpd-git
- 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
yan12125 commented on 2019-05-04 01:57 (UTC) (edited on 2019-05-04 01:57 (UTC) by yan12125)
infinitezero commented on 2019-05-03 17:32 (UTC)
Will not compile.
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp: At global scope:
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:5: error: expected ‘(’ before ‘volatile’
asm volatile (
^~~~~~~~
(
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:484:1: error: expected unqualified-id before string constant
".text\n"
^~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:15: error: expected ‘)’ before string constant
asm volatile (
~^
)
".text\n"
~~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:518:5: error: expected ‘(’ before ‘volatile’
asm volatile (
^~~~~~~~
(
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:519:1: error: expected unqualified-id before string constant
".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
^~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:518:15: error: expected ‘)’ before string constant
asm volatile (
~^
)
".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
~~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:534:5: error: expected ‘(’ before ‘volatile’
asm volatile (
^~~~~~~~
(
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:535:1: error: expected unqualified-id before string constant
".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
^~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:534:15: error: expected ‘)’ before string constant
asm volatile (
~^
)
".globl " SYMBOL_STRING(ctiOpThrowNotCaught) "\n"
~~~~~~~~~
In file included from ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:35,
from ../3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:31,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h:34,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:31:
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h: In instantiation of ‘static void QTWTF::VectorMover<true, T>::move(T, const T, T) [with T = QTWTF::RefPtr<QTJSC::FunctionExecutable>]’:
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:266:69: required from ‘static void QTWTF::VectorTypeOperations<T>::move(T, const T, T) [with T = QTWTF::RefPtr<QTJSC::FunctionExecutable>]’
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:810:33: required from ‘void QTWTF::Vector<T, inlineCapacity>::reserveCapacity(size_t) [with T = QTWTF::RefPtr<QTJSC::FunctionExecutable>; long unsigned int inlineCapacity = 0; size_t = long unsigned int]’
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:745:9: required from ‘void QTWTF::Vector<T, inlineCapacity>::expandCapacity(size_t) [with T = QTWTF::RefPtr<QTJSC::FunctionExecutable>; long unsigned int inlineCapacity = 0; size_t = long unsigned int]’
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:763:9: required from ‘U QTWTF::Vector<T, inlineCapacity>::expandCapacity(size_t, U) [with U = const QTWTF::NonNullPassRefPtr<QTJSC::FunctionExecutable>; T = QTWTF::RefPtr<QTJSC::FunctionExecutable>; long unsigned int inlineCapacity = 0; size_t = long unsigned int]’
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:870:17: required from ‘void QTWTF::Vector<T, inlineCapacity>::append(const U&) [with U = QTWTF::NonNullPassRefPtr<QTJSC::FunctionExecutable>; T = QTWTF::RefPtr<QTJSC::FunctionExecutable>; long unsigned int inlineCapacity = 0]’
../3rdparty/javascriptcore/JavaScriptCore/bytecode/CodeBlock.h:444:141: required from here
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:169:19: warning: ‘void memcpy(void, const void, size_t)’ writing to an object of type ‘class QTWTF::RefPtr<QTJSC::FunctionExecutable>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(dst, src, reinterpret_cast<const char*>(srcEnd) - reinterpret_cast<const char*>(src));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:25,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:35,
from ../3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:31,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h:34,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:31:
../3rdparty/javascriptcore/JavaScriptCore/wtf/RefPtr.h:40:33: note: ‘class QTWTF::RefPtr<QTJSC::FunctionExecutable>’ declared here
template <typename T> class RefPtr : public FastAllocBase {
^~~~~~
In file included from ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:35,
from ../3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:31,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h:34,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:31:
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h: In instantiation of ‘static void QTWTF::VectorMover<true, T>::move(T, const T, T) [with T = QTWTF::RefPtr<QTJSC::RegExp>]’:
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:266:69: required from ‘static void QTWTF::VectorTypeOperations<T>::move(T, const T, T) [with T = QTWTF::RefPtr<QTJSC::RegExp>]’
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:810:33: required from ‘void QTWTF::Vector<T, inlineCapacity>::reserveCapacity(size_t) [with T = QTWTF::RefPtr<QTJSC::RegExp>; long unsigned int inlineCapacity = 0; size_t = long unsigned int]’
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:745:9: required from ‘void QTWTF::Vector<T, inlineCapacity>::expandCapacity(size_t) [with T = QTWTF::RefPtr<QTJSC::RegExp>; long unsigned int inlineCapacity = 0; size_t = long unsigned int]’
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:763:9: required from ‘U QTWTF::Vector<T, inlineCapacity>::expandCapacity(size_t, U) [with U = QTJSC::RegExp const; T = QTWTF::RefPtr<QTJSC::RegExp>; long unsigned int inlineCapacity = 0; size_t = long unsigned int]’
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:870:17: required from ‘void QTWTF::Vector<T, inlineCapacity>::append(const U&) [with U = QTJSC::RegExp; T = QTWTF::RefPtr<QTJSC::RegExp>; long unsigned int inlineCapacity = 0]’
../3rdparty/javascriptcore/JavaScriptCore/bytecode/CodeBlock.h:450:146: required from here
../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:169:19: warning: ‘void memcpy(void, const void, size_t)’ writing to an object of type ‘class QTWTF::RefPtr<QTJSC::RegExp>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(dst, src, reinterpret_cast<const char*>(srcEnd) - reinterpret_cast<const char*>(src));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/VectorTraits.h:25,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:27,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:35,
from ../3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:31,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h:34,
from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:31:
../3rdparty/javascriptcore/JavaScriptCore/wtf/RefPtr.h:40:33: note: ‘class QTWTF::RefPtr<QTJSC::RegExp>’ declared here
template <typename T> class RefPtr : public FastAllocBase {
^~~~~~
make[1]: [Makefile:9471: obj/release/JITStubs.o] Error 1
make[1]: Leaving directory '/home/user/Downloads/qt4/src/qt-everywhere-opensource-src-4.8.7/src/script'
make: [Makefile:674: sub-script-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
dviktor commented on 2019-05-03 15:48 (UTC)
What kind of errors do you have? Could you please post full log?
mipi commented on 2019-05-03 15:47 (UTC)
Hi, qt4 cannot be built due to errors. Could you have a look at that? Thanks, mipi
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.