O. Hartmann
2014-Apr-11 11:16 UTC
x11/kdelibs4: Update on 9.2-STABLE/CLANG fails, endless loop of the compiler
The recent update of port x11/kdelibs4 from version kdelibs-4.12.3 kdelibs-4.12.4 fails on a FreeBSD 9.2-STABLE system (9.2-STABLE #0 r264299: Wed Apr 9 14:33:47 CEST 2014 amd64), system is compiled with LLVM/CLANG. compiling port x11/kdelibs4 either via portmaster r directly from its source folder via make end up in eternity-wait with the message/status shown below (always the same 98% psoition!). Since the update of this port is crucial for proceeding with updates, I need desperately to fix this problem. Is there a binary package for that sepcific port/revision? [...] /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:35:33: note: expanded from macro 'QT_ALLOC_QCHAR_VEC' #define QT_ALLOC_QCHAR_VEC( N ) (QChar*) new char[ sizeof(QChar)*( N ) ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:73:6: warning: cast from 'char *' to 'QChar *' increases required alignment from 1 to 2 [-Wcast-align] s = QT_ALLOC_QCHAR_VEC( havestr ? length : 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:35:33: note: expanded from macro 'QT_ALLOC_QCHAR_VEC' #define QT_ALLOC_QCHAR_VEC( N ) (QChar*) new char[ sizeof(QChar)*( N ) ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 98%] Building CXX object khtml/CMakeFiles/khtml.dir/kcookiejar_interface.o 3 warnings generated. 5 warnings generated. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140411/d470d72d/attachment.sig>
Daniel Kalchev
2014-Apr-11 11:58 UTC
x11/kdelibs4: Update on 9.2-STABLE/CLANG fails, endless loop of the compiler
On 11.04.14 14:16, O. Hartmann wrote:> The recent update of port x11/kdelibs4 from version kdelibs-4.12.3 > kdelibs-4.12.4 fails on a FreeBSD 9.2-STABLE system (9.2-STABLE #0 > r264299: Wed Apr 9 14:33:47 CEST 2014 amd64), system is compiled with > LLVM/CLANG. > > compiling port x11/kdelibs4 either via portmaster r directly from its > source folder via make end up in eternity-wait with the message/status > shown below (always the same 98% psoition!). > > Since the update of this port is crucial for proceeding with updates, I > need desperately to fix this problem. Is there a binary package for > that sepcific port/revision? >I worked around the issue by installing that particular package by disabling clang (thus compiling it with gcc in base) while building it and subsequently skipping it by providing portmaster with -x kdelibs-4.12.4. Haven't seen issues doing so, but you never know... No time to research the cause, but this would be critical problem for many and should definitely be addressed. Daniel