Date: Fri, 28 Oct 2011 21:36:29 GMT From: Oliver Hartmann <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162115: x11/kdelibs4: can not be built if qt-copy-3.3.8_13 is installed Message-ID: <201110282136.p9SLaTCU019302@red.freebsd.org> Resent-Message-ID: <201110282140.p9SLe8hj012796@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162115 >Category: ports >Synopsis: x11/kdelibs4: can not be built if qt-copy-3.3.8_13 is installed >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 28 21:40:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 10.0-CURRENT/amd64 (CLANG) >Organization: FU Berlin >Environment: >Description: While rebuilding/updating several kde4-ports, updating or rebuilding x11/kdelibs4 fails due to the error shown below. When deleting the port the wrong file belongs to, qt-copy, x11/kdelibs4 can be build again (using legacy system gcc, since clang is unwilling to compile kdelibs4!). [ 56%] Building CXX object kio/CMakeFiles/kio.dir/bookmarks/kbookmark.o In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc:33: /usr/local/include/qdatetime.h:51: error: function definition does not declare parameters /usr/local/include/qdatetime.h:123: error: function definition does not declare parameters /usr/local/include/qdatetime.h:184: error: function definition does not declare parameters /usr/local/include/qdatetime.h:241: error: expected initializer before '&' token /usr/local/include/qdatetime.h:242: error: expected initializer before '&' token /usr/local/include/qdatetime.h:243: error: expected initializer before '&' token /usr/local/include/qdatetime.h:244: error: expected initializer before '&' token /usr/local/include/qdatetime.h:245: error: expected initializer before '&' token /usr/local/include/qdatetime.h:246: error: expected initializer before '&' token /usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc: In member function 'void KBookmark::updateAccessMetadata()': /usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc:548: error: incomplete type 'QDateTime' used in nested name specifier *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/x11/kdelibs4. ===>>> make failed for x11/kdelibs4 ===>>> Aborting update ===>>> Update for kdelibs-4.7.2 failed ===>>> Aborting update ===>>> Update for kdepimlibs-4.7.2 failed ===>>> Aborting update ===>>> Update for kde-workspace-4.7.2 failed ===>>> Aborting update >How-To-Repeat: >Fix: The only fix I found is to deinstall qt-copy, reinstall/update/install kdelibs4 or any other kde4-port issuing the error (in some cases the error looks different, but a pkg_info -W /path/to/errornous/file shows qt3 libs/includes being the faulty entity) and the reinstalling again the deleted port and doing a 'portmaster --check-depends' aftermath. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110282136.p9SLaTCU019302>