Package Details: qt4-revert80e3108 4.8.7-8

Git Clone URL: https://aur.archlinux.org/qt4-revert80e3108.git (read-only, click to copy)
Package Base: qt4-revert80e3108
Description: A cross-platform application and UI framework
Upstream URL: http://www.qt.io
Licenses: custom, GPL3, LGPL, FDL
Conflicts: qt4
Provides: qt4=4.8.7
Replaces: qt4
Submitter: kokoko3k
Maintainer: kokoko3k
Last Packager: kokoko3k
Votes: 0
Popularity: 0.000000
First Submitted: 2016-03-08 08:43
Last Updated: 2021-02-24 14:59

Dependencies (32)

Required by (516)

Sources (15)

Latest Comments

kokoko3k commented on 2021-02-24 15:01

Thanks for pointing it out, general. I've updated the PKGBUILD with the source url found on another AUR package. the file is the same as sha256sum is the same.

general commented on 2021-02-24 09:10

the source link

http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz

returns a 404 so it is time to either remove the package or update the link.

kokoko3k commented on 2019-05-06 11:20

I updated the PKGBUILD to reflect the actual official qt4 package. It should compile now. If not, you've to build it in a clean chroot.

infinitezero commented on 2019-05-03 17:33

Will not compile.

compiling socket/qnativesocketengine.cpp compiling socket/qnativesocketengine_unix.cpp compiling socket/qlocalsocket_unix.cpp compiling socket/qlocalserver_unix.cpp compiling ssl/qssl.cpp compiling ssl/qsslcertificate.cpp ssl/qsslcertificate.cpp: In member function ‘QByteArray QSslCertificate::version() const’: ssl/qsslcertificate.cpp:264:68: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’} QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1); ^~ In file included from ../../include/QtNetwork/qsslcertificate.h:1, from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47, from ../../include/QtNetwork/qsslerror.h:1, from ssl/qsslsocket.h:50, from ssl/qsslsocket_p.h:46, from ssl/qsslsocket_openssl_p.h:57, from ssl/qsslsocket_openssl_symbols_p.h:57, from ssl/qsslcertificate.cpp:114: ../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’} typedef struct x509_st X509; // ### check if this works ^~~~~~~ ssl/qsslcertificate.cpp: In member function ‘QByteArray QSslCertificate::serialNumber() const’: ssl/qsslcertificate.cpp:279:45: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’} ASN1_INTEGER serialNumber = d->x509->cert_info->serialNumber; ^~ In file included from ../../include/QtNetwork/qsslcertificate.h:1, from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47, from ../../include/QtNetwork/qsslerror.h:1, from ssl/qsslsocket.h:50, from ssl/qsslsocket_p.h:46, from ssl/qsslsocket_openssl_p.h:57, from ssl/qsslsocket_openssl_symbols_p.h:57, from ssl/qsslcertificate.cpp:114: ../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’} typedef struct x509_st X509; // ### check if this works ^~~~~~~ ssl/qsslcertificate.cpp: In member function ‘QSslKey QSslCertificate::publicKey() const’: ssl/qsslcertificate.cpp:492:32: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’} X509_PUBKEY xkey = d->x509->cert_info->key; ^~ In file included from ../../include/QtNetwork/qsslcertificate.h:1, from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47, from ../../include/QtNetwork/qsslerror.h:1, from ssl/qsslsocket.h:50, from ssl/qsslsocket_p.h:46, from ssl/qsslsocket_openssl_p.h:57, from ssl/qsslsocket_openssl_symbols_p.h:57, from ssl/qsslcertificate.cpp:114: ../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’} typedef struct x509_st X509; // ### check if this works ^~~~~~~ ssl/qsslcertificate.cpp:496:29: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’} if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) { ^~ In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from ssl/qsslsocket_openssl_p.h:66, from ssl/qsslsocket_openssl_symbols_p.h:57, from ssl/qsslcertificate.cpp:114: /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’} typedef struct evp_pkey_st EVP_PKEY; ^~~~~~~~~~~ ssl/qsslcertificate.cpp:500:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’} } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) { ^~ In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from ssl/qsslsocket_openssl_p.h:66, from ssl/qsslsocket_openssl_symbols_p.h:57, from ssl/qsslcertificate.cpp:114: /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’} typedef struct evp_pkey_st EVP_PKEY; ^~~~~~~~~~~ ssl/qsslcertificate.cpp:504:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’} } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) { ^~ In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from ssl/qsslsocket_openssl_p.h:66, from ssl/qsslsocket_openssl_symbols_p.h:57, from ssl/qsslcertificate.cpp:114: /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’} typedef struct evp_pkey_st EVP_PKEY; ^~~~~~~~~~~ make[1]: [Makefile:17096: .obj/release-shared/qsslcertificate.o] Error 1 make[1]: Leaving directory '/home/user/Downloads/qt4-revert80e3108/src/qt-everywhere-opensource-src-4.8.7/src/network' make: [Makefile:277: sub-network-make_default-ordered] Error 2 ==> ERROR: A failure occurred in build(). Aborting... [user@KUTTA-LAPTOP042]: ~/Downloads/qt4-revert80e3108>$ makepkg -s ==> Making package: qt4-revert80e3108 4.8.7-8 (Fri 03 May 2019 10:23:25 AM MST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found qt-everywhere-opensource-src-4.8.7.tar.gz -> Found qtconfig-qt4.desktop -> Found assistant-qt4.desktop -> Found designer-qt4.desktop -> Found linguist-qt4.desktop -> Found qdbusviewer-qt4.desktop -> Found improve-cups-support.patch -> Found moc-boost-workaround.patch -> Found kubuntu_14_systemtrayicon.diff -> Found kde4-settings.patch -> Found glib-honor-ExcludeSocketNotifiers-flag.diff -> Found disable-sslv3.patch -> Found l-qclipboard_fix_recursive.patch -> Found l-qclipboard_delay.patch -> Found revert_80e3108.patch ==> Validating source files with md5sums... qt-everywhere-opensource-src-4.8.7.tar.gz ... Passed qtconfig-qt4.desktop ... Passed assistant-qt4.desktop ... Passed designer-qt4.desktop ... Passed linguist-qt4.desktop ... Passed qdbusviewer-qt4.desktop ... Passed improve-cups-support.patch ... Passed moc-boost-workaround.patch ... Passed kubuntu_14_systemtrayicon.diff ... Passed kde4-settings.patch ... Passed glib-honor-ExcludeSocketNotifiers-flag.diff ... Passed disable-sslv3.patch ... Passed l-qclipboard_fix_recursive.patch ... Passed l-qclipboard_delay.patch ... Passed revert_80e3108.patch ... Passed ==> Extracting sources... -> Extracting qt-everywhere-opensource-src-4.8.7.tar.gz with bsdtar ==> Starting prepare()... patching file src/gui/dialogs/qprintdialog_unix.cpp Hunk #1 succeeded at 579 (offset 10 lines). patching file src/gui/painting/qprinter.cpp Hunk #1 succeeded at 609 (offset -18 lines). patching file src/tools/moc/main.cpp patching file examples/desktop/systray/window.cpp patching file examples/desktop/systray/window.h The next patch would create the file src/gui/util/qabstractsystemtrayiconsys.cpp, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file src/gui/util/qabstractsystemtrayiconsys_p.h, which already exists! Assume -R? [n] ^C ==> ERROR: Aborted by user! Exiting...

[user@KUTTA-LAPTOP042]: ~/Downloads/qt4-revert80e3108>$ make clean make: *** No rule to make target 'clean'. Stop. [user@KUTTA-LAPTOP042]: ~/Downloads/qt4-revert80e3108>$ makepkg clean ==> Making package: qt4-revert80e3108 4.8.7-8 (Fri 03 May 2019 10:23:58 AM MST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found qt-everywhere-opensource-src-4.8.7.tar.gz -> Found qtconfig-qt4.desktop -> Found assistant-qt4.desktop -> Found designer-qt4.desktop -> Found linguist-qt4.desktop -> Found qdbusviewer-qt4.desktop -> Found improve-cups-support.patch -> Found moc-boost-workaround.patch -> Found kubuntu_14_systemtrayicon.diff -> Found kde4-settings.patch -> Found glib-honor-ExcludeSocketNotifiers-flag.diff -> Found disable-sslv3.patch -> Found l-qclipboard_fix_recursive.patch -> Found l-qclipboard_delay.patch -> Found revert_80e3108.patch ==> Validating source files with md5sums... qt-everywhere-opensource-src-4.8.7.tar.gz ... Passed qtconfig-qt4.desktop ... Passed assistant-qt4.desktop ... Passed designer-qt4.desktop ... Passed linguist-qt4.desktop ... Passed qdbusviewer-qt4.desktop ... Passed improve-cups-support.patch ... Passed moc-boost-workaround.patch ... Passed kubuntu_14_systemtrayicon.diff ... Passed kde4-settings.patch ... Passed glib-honor-ExcludeSocketNotifiers-flag.diff ... Passed disable-sslv3.patch ... Passed l-qclipboard_fix_recursive.patch ... Passed l-qclipboard_delay.patch ... Passed revert_80e3108.patch ... Passed ==> Extracting sources... -> Extracting qt-everywhere-opensource-src-4.8.7.tar.gz with bsdtar ==> Starting prepare()... patching file src/gui/dialogs/qprintdialog_unix.cpp Hunk #1 succeeded at 579 (offset 10 lines). patching file src/gui/painting/qprinter.cpp Hunk #1 succeeded at 609 (offset -18 lines). patching file src/tools/moc/main.cpp patching file examples/desktop/systray/window.cpp patching file examples/desktop/systray/window.h The next patch would create the file src/gui/util/qabstractsystemtrayiconsys.cpp, which already exists! Assume -R? [n] ^C ==> ERROR: Aborted by user! Exiting...

kokoko3k commented on 2016-03-30 07:40

I've built x86_64 and i686 binaries and uploaded them here (not a repo):
http://wpage.unina.it/aorefice/sharevari/qt4-revert80e3108/

kokoko3k commented on 2016-03-16 14:51

I don't think so; apparently, there are some reasons qt-devs made this change; they say to avoid some corruption (though i don't saw them).
Here the commit:
https://github.com/qtproject/qt/commit/80e3108f5cd1e1850ec81a21100d79a0946addd7
Here the bug it is supposed to fix:
https://bugreports.qt.io/browse/QTBUG-24188

And arch devs dont patch by their own, you know.

Anyway, i opened a forum thread time ago:
https://bbs.archlinux.org/viewtopic.php?id=198709

You're free to open a bug anyway, i'll support it.

rubenvb commented on 2016-03-16 14:21

This has a high chance of making it into the official package, IMHO. I'd try to suggest this as a bug report to the package in the repos.

kokoko3k commented on 2016-03-08 09:23

Build in a clean chroot environment, or this will fail.