[9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4

O. Hartmann ohartman at zedat.fu-berlin.de
Fri Apr 18 12:32:19 UTC 2014


On Fri, 18 Apr 2014 13:01:14 +0200
Schaich Alonso <alonsoschaich at fastmail.fm> wrote:

> 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,
> > 
> > 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
-------------- 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/9d5e6dcd/attachment.sig>


More information about the freebsd-stable mailing list