Missed dependency on kdesdk port

I have recently upgraded my FreeBSD system from 8.1-RELEASE to 8.2-RELEASE. I upgrade the rest of the port by running portupgrade -a
It failed at the kdesdk port.

I have tried portupgrade -Pa which does not help as there is no prebuilt version found.

portmaster -a produced an infinitive recursive loop on the kdesdk port.

I have googled the problem and found this webpage which suggested upgrading kde4-baseapps.

I have followed the the instructions and upgraded from kdebase-4.5.5 to kde4-baseapps-4.7.3 and solved the problem.

Here is the snip of the failed build log:
Code:
...

[ 20%] Building CXX object dolphin-plugins/git/CMakeFiles/fileviewgitplugin.dir/fileviewgitplugin.o
/usr/ports/devel/kdesdk4/work/kdesdk-4.7.3/dolphin-plugins/git/fileviewgitplugin.cpp: In member function 'virtual bool
 FileViewGitPlugin::beginRetrieval(const QString&)':
/usr/ports/devel/kdesdk4/work/kdesdk-4.7.3/dolphin-plugins/git/fileviewgitplugin.cpp:198: error: 'LocallyModifiedUnstagedVersion' was not
 declared in this scope
/usr/ports/devel/kdesdk4/work/kdesdk-4.7.3/dolphin-plugins/git/fileviewgitplugin.cpp:223: error: 'LocallyModifiedUnstagedVersion' was not
 declared in this scope
/usr/ports/devel/kdesdk4/work/kdesdk-4.7.3/dolphin-plugins/git/fileviewgitplugin.cpp:226: error: 'LocallyModifiedUnstagedVersion' was not
 declared in this scope
/usr/ports/devel/kdesdk4/work/kdesdk-4.7.3/dolphin-plugins/git/fileviewgitplugin.cpp: In member function 'virtual QList<QAction*>
 FileViewGitPlugin::contextMenuActions(const KFileItemList&)':
/usr/ports/devel/kdesdk4/work/kdesdk-4.7.3/dolphin-plugins/git/fileviewgitplugin.cpp:294: error: 'LocallyModifiedUnstagedVersion' was not
 declared in this scope
gmake[2]: *** [dolphin-plugins/git/CMakeFiles/fileviewgitplugin.dir/fileviewgitplugin.o] Error 1
gmake[1]: *** [dolphin-plugins/git/CMakeFiles/fileviewgitplugin.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

...

[ 22%] Building CXX object lokalize/src/CMakeFiles/lokalize.dir/projectoverviewadaptor.o
Linking CXX executable lokalize
[ 22%] Built target lokalize
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/kdesdk4.
*** Error code 1

Stop in /usr/ports/devel/kdesdk4.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20111206-15835-1jsyjxq-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=
kdesdk-4.5.5 UPGRADE_PORT_VER=4.5.5 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! devel/kdesdk4 (kdesdk-4.5.5)  (unknown build error)
 
Always read /usr/ports/UPDATING.

Code:
20111016:
  AFFECTS: users of KDE SC 4
  AUTHOR: [email]kde@FreeBSD.org[/email]

  KDE SC has been updated to 4.7.2. A number of files were moved between
  packages and several ports were split, thus manual intervention into
  update procedure is required:

  # pkg_delete -f raptor-1\* kdelibs-4\* kdebase-\*4\* \
    kdeaccessibility-4\* kdeedu-4\* kdegames-4\* kdegraphics-4\* \
    kdesdk-4\* kdeutils-4\* konq-plugins-4\* ktts\* nepomukcontroller\* \
    ruby\*-kdebindings\* kdebindings-smoke\*
  # pkg_delete -f kdehier4\*
  # mv /usr/local/kde4/etc/pam.d/* \
    /usr/local/etc/pam.d/
  # mv /usr/local/kde4/etc/rc.d/* \
    /usr/local/etc/rc.d/
  # mv /usr/local/kde4/share/dbus-1/services/* \
    /usr/local/share/dbus-1/services/
  # mv /usr/local/kde4/share/dbus-1/system-services/* \
    /usr/local/share/dbus-1/system-services/
  # rmdir /usr/local/kde4/etc/pam.d /usr/local/kde4/etc/rc.d \
    /usr/local/kde4/share/dbus-1/*services
  # rm -r /var/tmp/kdecache-*
  # portmaster misc/kdehier4

  If you have - or plan to install - net/kdenetwork4, also run:

  # portmaster -o net/linphone-base ortp

  Finally:

  # portmaster -a

  Also, remove /usr/local/kde4/etc/rc.d from local_startup in rc.conf(5).
  Failure to do this will cause all enabled scripts in /usr/local/etc/rc.d
  to be started twice.

  Remember to check for missing ports, bearing in mind that x11/kdebase4*
  ports were replaced by x11/kde4-* ones, ktts was replaced by jovie, while
  konq-plugins-kde4 and nepomukcontroller were removed. Then:

  # portmaster --check-depends

  You're also encouraged to run `pkg_cutleaves` or similar to check for
  orphaned ports.

  Please, note that `pkg_add -r kde4` will not install Plasma scriptengines
  and printer utilities by default anymore, and `pkg_add -r kdegames4` will
  not install Kajongg. This was made to avoid depending by default on
  kdebindings.
 
Back
Top