Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#6692 - bug in extra/lib/qt/PKGBUILD
|
DetailsBug found in subroutine 'build', then was added compatiblies for packages 'mysql' & 'postgresql'.
1) In this section 'qmake' is updating Makefile in '{qt-src}/plugins/src/sqldrivers/mysql' & in '{qt-src}/plugins/src/sqldrivers/psql', but qmake does not install in system (provided by Qt).. I am 1st call `make -C qmake` from Qt source tree and call `${startdir}/src/$pkgfqn/bin/qmake`.. 2) In new versions of Qt variable 'INCLUDEPATH' (in Makefile's) was replaced to 'INCPATH'. (See {src_tree}/plugins/src/sqldrivers/mysql/makefile, after configuring..) Pathch for fix this: ----cut---- diff -Naur qt.orig/PKGBUILD qt/PKGBUILD --- qt.orig/PKGBUILD 2007-03-12 17:50:18.000000000 +0200 +++ qt/PKGBUILD 2007-03-23 23:46:03.000000000 +0200 @@ -57,10 +57,15 @@ [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" $startdir/src/$pkgfqn/tools/assistant/lib/Makefile [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" $startdir/src/$pkgfqn/tools/designer/uilib/Makefile + cd $startdir/src/$pkgfqn + make -C qmake || return 1 + cd $startdir/src/$pkgfqn/plugins/src/sqldrivers/mysql - qmake -o Makefile "INCLUDEPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/mysql -lmysqlclient" mysql.pro + $startdir/src/$pkgfqn/bin/qmake -spec $startdir/src/$pkgfqn/mkspecs/default \ + -o Makefile "INCPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/mysql -lmysqlclient" mysql.pro cd $startdir/src/$pkgfqn/plugins/src/sqldrivers/psql - qmake -o Makefile "INCLUDEPATH+=/usr/src/include /usr/include/postgresql/server" "LIBS+=-L/usr/lib -lpq" psql.pro + $startdir/src/$pkgfqn/bin/qmake -spec $startdir/src/$pkgfqn/mkspecs/default \ + -o Makefile "INCPATH+=/usr/src/include /usr/include/postgresql/server" "LIBS+=-L/usr/lib -lpq" psql.pro cd $startdir/src/$pkgfqn # fix the broken makefiles ----cut---- |
This task depends upon
Comment by Tobias Powalowski (tpowa) -
Sunday, 25 March 2007, 08:04 GMT
thanks for reporting, package should be ok, i'll correct the PKGBUILD on cvs