Date: Fri, 18 Apr 2014 14:32:04 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Schaich Alonso <alonsoschaich@fastmail.fm> Cc: freebsd-stable@freebsd.org Subject: Re: [9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4 Message-ID: <20140418143204.2dffe6fe@munin.walstatt.dyndns.org> In-Reply-To: <20140418130114.cf13b401d5c55d4dfea93c54@fastmail.fm> References: <20140418081014.2ac2536e@munin.walstatt.dyndns.org> <20140418130114.cf13b401d5c55d4dfea93c54@fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Fri, 18 Apr 2014 13:01:14 +0200 Schaich Alonso <alonsoschaich@fastmail.fm> wrote: > On Fri, 18 Apr 2014 08:10:14 +0200 > "O. Hartmann" <ohartman@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, > > > > Oliver > > Can 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 I did so, and I'm now stuck at this stage, compiler doesn't proceed: 3 warnings generated. [ 73%] Building CXX object khtml/CMakeFiles/khtml.dir/css/parser.o In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.12.4/khtml/css/parser.cpp:106: 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 ) ] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load: 1.05 cmd: clang++ 36933 [running] 304.41r 298.16u 6.15s 100% 73072k [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTURtNAAoJEOgBcD7A/5N8GKEIAINifTI30HQFd2zcjN1K7jWj dG3jbNaO3uj8uv7h/nxwrI48F4Qa1260ganBWKhkedT2sHqEX15IQJVI3kO50kLF Hr4OUYUYOVIySKYZO8BS/Vb6alhuayS3GGEG3q6wb8ofGYlsTs/XO8W7I8LF/d+K Rzme7efZckO01Hu4gormXUHdAERxn9hZS4GsziqpVcR/dfQeR8ohiUMcu+xwXy9I d9KLFKi8wqh1P6NgznT3L1yiDzquvBab4EXwCo8a7tKq59Q+obm5QZxHZKPmlkUx 1KKfnEWj7EqIQyf6M4PRhzNXFNxTAOo2gBtc0JsCIFesBpiq27Zu+Enxjq2i26w= =4cbq -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140418143204.2dffe6fe>
