kdebase upgrading bug - help and opinion needed

Henry Lenzi henry.lenzi at gmail.com
Thu Aug 3 22:15:43 UTC 2006


 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 at 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)


More information about the freebsd-questions mailing list