Umbrello KDE/4.11 does not compile - was - Re: KDE SC 4.11.4 tarballs

Joris Steyn jorissteyn at gmail.com
Sat Nov 30 09:53:11 UTC 2013


Hi,

that's bad news. I pushed this commit to KDE/4.11 just now to fix the error
(other branches are fine):


http://quickgit.kde.org/?p=umbrello.git&a=commit&h=5f9f6a68716a8aced2c5f962247d9b05b326fcf5

Doing a non-debug build of 4.11 worked without warnings on my system,
that's how the error got in
4.11 unnoticed. I hope to prevent that in the future but I'm not sure what
compiler version/options make
the difference in allowing this error without warning, and complete failure.

Eric, could you tell me what compiler version you are using? And did you do
a "debugfull" cmake build
or just a regular build?

Regards,

Joris.



On Sat, Nov 30, 2013 at 1:17 AM, Albert Astals Cid <aacid at kde.org> wrote:

> Joris, Ralph, Umbrello KDE/4.11 is broken, can you please guys fix it?
>
> Cheers,
>   Albert
>
> El Divendres, 29 de novembre de 2013, a les 13:03:44, Eric Hameleers va
> escriure:
> > On Fri, 29 Nov 2013, Torgny Nyblom wrote:
> > > Hi,
> > >
> > > The tarballs for the 4.11.4 release are now available in the usual
> > > location.
> > >
> > > I've not compiled them so please report any issues you find.
> > >
> > > sha1 sums and revisions/hashes are attached.
> > >
> > > /Regards
> > > Torgny
> >
> > When compiling umbrello (part of our Slackware kdesdk module), I run
> > into this error:
> >
> > [ 11%] Building CXX object
> > umbrello/CMakeFiles/umbrello.dir/dialogs/classoptionspage.cpp.o
> > [ 11%] Building CXX object
> > umbrello/CMakeFiles/umbrello.dir/dialogs/classpropdlg.cpp.o
> >
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp
> > p: In member function 'void
> > ClassifierListPage::slotActivateItem(QListWidgetItem*)':
> >
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp
> > p:349:9: error: 'listItem' was not declared in this scope listItem =
> > getItemList().at( itemIndex );
> >           ^
> >
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp
> > p:354:74: error: cannot dynamic_cast 'listItem' (of type '<type error>')
> to
> > type 'class UMLOperation*' (source is not a pointer)
> >               m_pCodeTE->setPlainText(
> > dynamic_cast<UMLOperation*>(listItem)->get
> > SourceCode() );
> >
> > ^
> > make[2]: ***
> > [umbrello/CMakeFiles/umbrello.dir/dialogs/classifierlistpage.cpp.o]
> >   Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > [  0%] Built target umbrello_automoc
> > [  0%] Building CXX object
> > umbrello/CMakeFiles/umbrello.dir/dialogs/classifierlistpage.cpp.o
> >
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp
> > p: In member function 'void
> > ClassifierListPage::slotActivateItem(QListWidgetItem*)':
> >
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.c
> > pp:349:9: error: 'listItem' was not declared in this scope
> >           listItem = getItemList().at( itemIndex );
> >           ^
> >
> /tmp/kde-build/kdesdk/umbrello-4.11.4/umbrello/dialogs/classifierlistpage.cp
> > p:354:74: error: cannot dynamic_cast 'listItem' (of type '<type error>')
> to
> > type 'class UMLOperation*' (source is not a pointer)
> >               m_pCodeTE->setPlainText(
> > dynamic_cast<UMLOperation*>(listItem)->getSourceCode() );
> >
> > ^
> > make[2]: ***
> > [umbrello/CMakeFiles/umbrello.dir/dialogs/classifierlistpage.cpp.o]
> > Error 1
> > make[1]: *** [umbrello/CMakeFiles/umbrello.dir/all] Error 2
> > make: *** [all] Error 2
> > kdesdk failed to build.
> >
> > Any clue?
> >
> > Cheers, Eric
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/release-team/attachments/20131130/2e5c7568/attachment.html>


More information about the release-team mailing list