Package Details: qt3 1:3.3.8b-21

Git Clone URL: https://aur.archlinux.org/qt3.git (read-only, click to copy)
Package Base: qt3
Description: A cross-platform application and UI framework
Upstream URL: http://qt.io
Licenses: GPL
Submitter: McNoggins
Maintainer: frazar0
Last Packager: frazar0
Votes: 48
Popularity: 0.008243
First Submitted: 2014-05-30 03:06 (UTC)
Last Updated: 2024-02-27 07:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

zoe commented on 2018-12-03 09:37 (UTC)

I have same errors. No idea to fix it :D Seems to deal with sql plugins…

Yes, it builds fine after deleting :

      -plugin-sql-{mysql,psql,sqlite,odbc}

in PKGBUILD. But, sql plugins are needed…

chrko commented on 2018-11-30 10:53 (UTC)

Yeah, errors again :D Any hint on this?

make[4]: Entering directory '/build/qt3/src/qt-x11-free-3.3.8b/plugins/src/sqldrivers/psql'
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/tirpc -fno-exceptions -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/build/qt3/src/qt-x11-free-3.3.8b/mkspecs/linux-g++-64 -I. -I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/main.o main.cpp
In file included from ../../../../include/qsqldriverplugin.h:45,
                 from main.cpp:41:
../../../../include/qgplugin.h:85:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
             "version="QT_VERSION_STR"\n"    \
             ^
../../../../include/qgplugin.h:86:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
             "flags="Q_PLUGIN_FLAGS_STRING"\n"    \
             ^
../../../../include/qgplugin.h:87:6: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
      "buildkey="QT_BUILD_KEY"\0";
      ^
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/tirpc -fno-exceptions -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/build/qt3/src/qt-x11-free-3.3.8b/mkspecs/linux-g++-64 -I. -I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/qsql_psql.o ../../../../src/sql/drivers/psql/qsql_psql.cpp
In file included from /usr/include/postgresql/server/nodes/parsenodes.h:27,
                 from /usr/include/postgresql/server/utils/acl.h:36,
                 from /usr/include/postgresql/server/catalog/objectaddress.h:18,
                 from /usr/include/postgresql/server/catalog/pg_type.h:24,
                 from ../../../../src/sql/drivers/psql/qsql_psql.cpp:61:
/usr/include/postgresql/server/nodes/primnodes.h:244:16: error: redefinition of ‘struct Param’
 typedef struct Param
                ^~~~~
In file included from ../../../../src/sql/drivers/psql/qsql_psql.cpp:42:
../../../../include/private/qsqlextension_p.h:74:8: note: previous definition of ‘struct Param’
 struct Param {
        ^~~~~
In file included from /usr/include/postgresql/server/nodes/parsenodes.h:27,
                 from /usr/include/postgresql/server/utils/acl.h:36,
                 from /usr/include/postgresql/server/catalog/objectaddress.h:18,
                 from /usr/include/postgresql/server/catalog/pg_type.h:24,
                 from ../../../../src/sql/drivers/psql/qsql_psql.cpp:61:
/usr/include/postgresql/server/nodes/primnodes.h:253:3: error: conflicting declaration ‘typedef int Param’
 } Param;
   ^~~~~
In file included from ../../../../src/sql/drivers/psql/qsql_psql.cpp:42:
../../../../include/private/qsqlextension_p.h:74:8: note: previous declaration as ‘struct Param’
 struct Param {
        ^~~~~
../../../../src/sql/drivers/psql/qsql_psql.cpp: In member function ‘virtual QString QPSQLDriver::formatValue(const QSqlField*, bool) const’:
../../../../src/sql/drivers/psql/qsql_psql.cpp:1046:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
      if ( field->value().toTime().isValid() ) {
      ^~
../../../../src/sql/drivers/psql/qsql_psql.cpp:1051:2: note: here
  case QVariant::String:
  ^~~~
make[4]: *** [Makefile:135: .obj/qsql_psql.o] Error 1
make[4]: Leaving directory '/build/qt3/src/qt-x11-free-3.3.8b/plugins/src/sqldrivers/psql'
make[3]: *** [Makefile:30: sub-psql] Error 2
make[3]: Leaving directory '/build/qt3/src/qt-x11-free-3.3.8b/plugins/src/sqldrivers'
make[2]: *** [Makefile:49: sub-sqldrivers] Error 2
make[2]: Leaving directory '/build/qt3/src/qt-x11-free-3.3.8b/plugins/src'
make[1]: *** [Makefile:64: sub-plugins] Error 2
make[1]: Leaving directory '/build/qt3/src/qt-x11-free-3.3.8b'
make: *** [Makefile:8: init] Error 2

Nano commented on 2018-06-18 20:22 (UTC)

Hello.

I get this error:

g++: error: unrecognized command line option ‘-fno-plt’ make: *** [Makefile:170: project.o] Error 1 qmake failed to build. Aborting.

Please, help.

slav commented on 2018-05-01 23:14 (UTC)

@zoe Thank you very much for quick fixing!

chrko commented on 2018-05-01 21:42 (UTC)

@zoe: Sorry, messed up with markup! It builds perfectly fine again out of your PKGBUILD :)

zoe commented on 2018-05-01 21:17 (UTC) (edited on 2018-05-01 21:28 (UTC) by zoe)

@chrko and @slav : Sorry, I read too fast your patch, chrko. So I added the line :

   -I/usr/include/tirpc \

to ./configure, and it builds fine.

Thanks

slav commented on 2018-05-01 20:07 (UTC)

the same here:

In file included from dialogs/qprintdialog.cpp:75:0: /usr/include/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory #include <rpc rpc.h=""> ^~~~~~~~~~~ compilation terminated. make[2]: [Makefile:10480: .obj/release-shared-mt/qprintdialog.o] Error 1 make[2]: Leaving directory '/tmp/packerbuild-1000/qt3/qt3/src/qt-x11-free-3.3.8b/src' make[1]: [Makefile:40: sub-src] Error 2 make[1]: Leaving directory '/tmp/packerbuild-1000/qt3/qt3/src/qt-x11-free-3.3.8b' make: *** [Makefile:8: init] Error 2 ==> ERROR: A failure occurred in build(). Aborting... The build failed.</rpc>

zoe commented on 2018-05-01 19:55 (UTC) (edited on 2018-05-01 20:03 (UTC) by zoe)

@chrko : I added libnsl & libtirpc as dependencies (pkgrel=11) But, although these packages were already installed, qt3 fails to build :

 In file included from dialogs/qprintdialog.cpp:75:0:
 /usr/include/rpcsvc/yp_prot.h:10:10: erreur fatale: rpc/rpc.h : Aucun fichier ou dossier de ce type
    #include <rpc/rpc.h>
             ^~~~~~~~~~~
   compilation terminée.

I installed rpcsvc-proto from [extra], but that did not help, I got exactly the same error.

Any idea ?

chrko commented on 2018-05-01 17:06 (UTC)

The package needs the new dependencies libnsl & libtirpc to continue building with nis support :( Also + -I/usr/include/tirpc \ in the configure command.