For me, it works now :) Thx!
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: | 80 |
Popularity: | 0.91 |
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)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libice
- libmng
- libpng (libpng-gitAUR, libpng-apngAUR)
- libsm
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxi (libxi-gitAUR)
- libxrandr (libxrandr-gitAUR)
- libxrender
- openssl (openssl-staticAUR, openssl-gitAUR)
- sqlite (sqlite-fossilAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- Show 17 more dependencies...
Required by (213)
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
mipi commented on 2019-05-04 13:30 (UTC)
MickeyRat commented on 2019-05-04 13:01 (UTC)
Same here ./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’ emplate<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 '/home/mickeyrat/builds/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 '/home/mickeyrat/builds/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...
dviktor commented on 2019-05-04 12:01 (UTC) (edited on 2019-05-04 12:01 (UTC) by dviktor)
xuanruiqi commented on 2019-05-04 11:39 (UTC)
Got build error again:
./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> { };
^~~~~~~~~~~~~~~~~~~~~~
In file included from heap/MarkStack.h:32,
from heap/Heap.h:27,
from runtime/JSGlobalData.h:33,
from interpreter/CallFrame.h:26,
from runtime/ArgList.h:25,
from runtime/JSObject.h:26,
from wtf/DateMath.cpp:79:
./wtf/HashSet.h: In instantiation of ‘std::pair<WTF::HashTableConstIteratorAdapter<WTF::HashTable<typename TraitsArg::TraitType, typename TraitsArg::TraitType, WTF::IdentityExtractor<typename TraitsArg::TraitType>, HashArg, TraitsArg, TraitsArg>, typename TraitsArg::TraitType>, bool> WTF::HashSet<Value, HashFunctions, Traits>::add(const ValueType&) [with ValueArg = void*; HashArg = WTF::PtrHash<void*>; TraitsArg = WTF::HashTraits<void*>; typename TraitsArg::TraitType = void*; WTF::HashSet<Value, HashFunctions, Traits>::ValueType = void*]’:
heap/MarkStack.h:74:71: required from here
./wtf/HashSet.h:191:32: error: could not convert ‘((WTF::HashSet<void*>*)this)->WTF::HashSet<void*>::m_impl.WTF::HashTable<void*, void*, WTF::IdentityExtractor<void*>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<void*> >::add((* & value))’ from ‘pair<WTF::HashTableIterator<void*, void*, WTF::IdentityExtractor<void*>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<void*> >,[...]>’ to ‘pair<WTF::HashTableConstIteratorAdapter<WTF::HashTable<void*, void*, WTF::IdentityExtractor<void*>, WTF::PtrHash<void*>, WTF::HashTraits<void*>, WTF::HashTraits<void*> >, void*>,[...]>’
return m_impl.add(value);
dviktor commented on 2019-05-04 10:28 (UTC)
I think I fixed it. Please check
mipi commented on 2019-05-04 07:15 (UTC)
I got the same errors that @infinitezero reported.
yan12125 commented on 2019-05-04 01:57 (UTC) (edited on 2019-05-04 01:57 (UTC) by yan12125)
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.
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.