Hello, I run on a 9.2-STABLE box since a couple of weeks for now always into the same problem. The port x11/kdelibs4 has been updated or needs to be recompiled but the compiling process gets stuck forever (now I let the system being stuck over night ~ 12 hours). I think this isn't correct and I try to find out what is the cause since I desperately need to update ports relying on x11/kdelibs4. The process ends up always at 98%, see below. I already completely deinstalled the port and let the portmaster update process recreate it, but it is the same status at the end. Regards and thank you, Oliver [ 98%] Building CXX object khtml/CMakeFiles/khtml.dir/html/html_documentimpl.o In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/html/html_documentimpl.cpp:25: In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/html/html_documentimpl.h:27: In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_docimpl.h:30: In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_elementimpl.h:29: In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_nodeimpl.h:33: In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/misc/idstring.h:27: /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:52:6: warning: cast from 'char *' to 'QChar *' increases required alignment from 1 to 2 [-Wcast-align] s = QT_ALLOC_QCHAR_VEC( havestr ? len : 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 ) ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/xml/dom_stringimpl.h:66:6: warning: cast from 'char *' to 'QChar *' increases required alignment from 1 to 2 [-Wcast-align] s = QT_ALLOC_QCHAR_VEC( 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 ) ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/20140418/6ddce731/attachment-0001.sig>
On Fri, 18 Apr 2014 08:10:14 +0200 "O. Hartmann" <ohartman at zedat.fu-berlin.de> wrote:> Hello, > > I run on a 9.2-STABLE box since a couple of weeks for now always into > the same problem. The port x11/kdelibs4 has been updated or needs to be > recompiled but the compiling process gets stuck forever (now I let the > system being stuck over night ~ 12 hours). I think this isn't correct > and I try to find out what is the cause since I desperately need to > update ports relying on x11/kdelibs4. > > The process ends up always at 98%, see below. I already completely > deinstalled the port and let the portmaster update process recreate it, > but it is the same status at the end. > > Regards and thank you, > > OliverCan you check the output of # ps daux for a hierarchial list of running processes when the build process starts hanging (i.e. find out what process cmake is waiting to finish)? Next, could you check whether this also happens if you build kdelibs with gcc? As a wild guess this could be a race condition, then disabling multi-processor build (by writing "MAKE_JOBS_UNSAFE=yes" into /etc/make.conf, or by using something like "make MAKE_JOBS_UNSAFE=yes -C /usr/ports/x11/kdelibs4 deinstall clean build package reinstall clean" instead of portmaster) would "fix" it for you. Alonso
On Fri, 18 Apr 2014 08:10:14 +0200 "O. Hartmann" <ohartman at zedat.fu-berlin.de> wrote:> Hello, > > I run on a 9.2-STABLE box since a couple of weeks for now always into > the same problem. The port x11/kdelibs4 has been updated or needs to be > recompiled but the compiling process gets stuck forever (now I let the > system being stuck over night ~ 12 hours). I think this isn't correct > and I try to find out what is the cause since I desperately need to > update ports relying on x11/kdelibs4. > > The process ends up always at 98%, see below. I already completely > deinstalled the port and let the portmaster update process recreate it, > but it is the same status at the end. > > Regards and thank you, > > OliverCan you check the output of # ps daux for a hierarchial list of running processes when the build process starts hanging (i.e. find out what process cmake is waiting to finish)? Next, could you check whether this also happens if you build kdelibs with gcc? As a wild guess this could be a race condition, then disabling multi-processor build (by writing "MAKE_JOBS_UNSAFE=yes" into /etc/make.conf, or by using something like "make MAKE_JOBS_UNSAFE=yes -C /usr/ports/x11/kdelibs4 deinstall clean build package reinstall clean" instead of portmaster) would "fix" it for you. Alonso
On 18 Apr 2014, at 08:10, O. Hartmann <ohartman at zedat.fu-berlin.de> wrote:> I run on a 9.2-STABLE box since a couple of weeks for now always into > the same problem. The port x11/kdelibs4 has been updated or needs to be > recompiled but the compiling process gets stuck forever (now I let the > system being stuck over night ~ 12 hours).Which revision of 9-STABLE, and which version of clang? ...> The process ends up always at 98%, see below. I already completely > deinstalled the port and let the portmaster update process recreate it, > but it is the same status at the end....> [ 98%] Building CXX object > khtml/CMakeFiles/khtml.dir/html/html_documentimpl.o In file included > from /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/html/html_documentimpl.cpp:25:Can you get me the preprocessed version of html_documentimpl.cpp? It should be enough to send a TERM signal to the clang -cc1 process, then it should dump a .sh and .ii file in /tmp. -Dimitry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 203 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140418/742c31a4/attachment.sig>