Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2006 19:15:41 -0300
From:      "Henry Lenzi" <henry.lenzi@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   kdebase upgrading bug - help and opinion needed
Message-ID:  <8b4c81f0608031515v76f6c187v46c123dd2a1c378c@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
 I am having problem upgrading kdebase from 3.4 to 3.5 on FreeBSD-6.0-release.
 I followed the instructions on /usr/ports/UPDATING
 For convenience, I post the instructions here:

-----------------------------------------

20060108:
  AFFECTS: users of x11/kdelibs3, x11/kdebase3, deskutils/superkaramba,
                    x11-themes/kde-windeco-smoothblend, irc/kvirc,
                    editors/vimpart
  AUTHOR: kde@FreeBSD.org

  A number of files have been moved from kdebase to kdelibs between
  KDE 3.4.3 and KDE 3.5.0 and some applications which used to be
  distributed separately from KDE have been included in the release.

  This means that you will have to take some precautions in order to
  update your KDE installation without interruptions.

  We recommend sticking to the following procedure. This procedure requires you
  to have sysutils/portupgrade installed and to be the superuser (or using sudo)
.
 1.) Delete installed packages which conflict with the updated KDE
      ports.

        pkg_deinstall -f kdebase-\[0-9\]\* superkaramba-\[0-9\]\* \
        kde-windeco-smoothblend-\[0-9]\* kvirc-\[0-9\]\* \
        kdeaddons-vimpart-\[0-9\]\*

  2.) Now update the remaining KDE ports.

        portupgrade -O arts\* kde\* \*kde-i18n\*

      or, if you want to update KDE along with other updated ports:

        portupgrade -a

  3.) Reinstall the KDE ports you deleted in step 1.

        portinstall -O kdebase

 --------------------------------------------------

 I followed them and, after step 3, the system complained of "bad C++ code".
 Please help me assess the severity of this:
 1) Have you seen this? Have you had this problem?
 2) Do you understand this?
 3) Do you have a solution or a suggestion for this?

 Any help is greatly appreciated.

 Here is the error:




---------------------------------------------------

konq_popupmenu.cc: In member function `void KonqPopupMenu::setup(uint)':
konq_popupmenu.cc:797: error: no matching function for call to `KDEDesktopMimeTy
pe::userDefinedServices(const QString, KSimpleConfig&, bool, KURL::List&)'
/usr/local/include/kmimetype.h:561: note: candidates are: static QValueList<KDED
esktopMimeType::Service> KDEDesktopMimeType::userDefinedServices(const QString&,
 bool)
/usr/local/include/kmimetype.h:568: note:                 static QValueList<KDED
esktopMimeType::Service> KDEDesktopMimeType::userDefinedServices(const QString&,
 KConfig&, bool)
gmake[3]: ** [konq_popupmenu.lo] Erro 1
gmake[3]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.5.2/libkonq'
gmake[2]: ** [all-recursive] Erro 1
gmake[2]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.5.2/libkonq'
gmake[1]: ** [all-recursive] Erro 1
gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.5.2'
gmake: ** [all] Erro 2
*** Error code 2

Stop in /usr/ports/x11/kdebase3.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall49261.0 mak
e
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! x11/kdebase3  (bad C++ code)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b4c81f0608031515v76f6c187v46c123dd2a1c378c>