Re: Error upgrading KDE with portupgrade

2005-10-05 Thread Micah



edward wrote:

Hi all,
I have recently upgraded from FreeBSD 5.3-RELEASE to 5.4-STABLE using 
cvsup. I then upgraded installed ports using portupgrade -a (after 
running make fetchindex and pkgdb -F).

Worked for most ports.
But I have a hard time upgrading KDE from 3.3 to 3.4. Some ports in the 
KDE set upgraded OK, but kdebase among others didn't want to upgrade 
from 3.3.0_4 to 3.4.2_2. Tried :

#portupgrade kdebase
then
#portupgrade -p kdebase
The package itself donloads OK but I get the following at the end of the 
job :


Good - your configure finished. Start make now

/usr/bin/sed -i.bak -e [EMAIL PROTECTED]@Exec=ElectricEyes@ 
/usr/ports/x11/kdebase3/work/kdebase-3.4.2/kappfinder/apps/Graphics/ElectricEyes.desktop 

/usr/bin/sed -i.bak -e 's/444/644/g' 
/usr/ports/x11/kdebase3/work/kdebase-3.4.2/kdesktop/init/Templates/Makefile

===  Building for kdebase-3.4.2_2
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2'
Making all in libkonq
gmake[2]: Entering directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq'

Making all in pics
gmake[3]: Entering directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/pics'

gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/pics'

Making all in favicons
gmake[3]: Entering directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/favicons'

/usr/X11R6/bin/moc ./favicons.h -o favicons.moc
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile c++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include 
-I/usr/X11R6/include  -I/usr/local/include  -D_THREAD_SAFE -pthread 
-DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include 
-I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wno-non-virtual-dtor 
-DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT favicons.lo -MD 
-MP -MF .deps/favicons.Tpo -c -o favicons.lo favicons.cpp; \
then mv -f .deps/favicons.Tpo .deps/favicons.Plo; else rm -f 
.deps/favicons.Tpo; exit 1; fi
favicons.cpp:269: error: visibility arg must be one of default, 
hidden, protected orinternal

gmake[3]: *** [favicons.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/favicons'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdebase3.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade2850.0 make DEPENDS_TARGET=package

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/kdebase3 (kdebase-3.3.0_4)(unknown build error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
#

Any clue what's going on ?
Thanks for your help.
Edward



Search /usr/ports/UPDATING.  Don't know if your error is caused by that, 
but you should follow the upgrade procedure outlined there.


Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error upgrading KDE with portupgrade

2005-10-05 Thread nbco
On Wednesday 05 October 2005 14:36, edward wrote:
 Hi all,
 I have recently upgraded from FreeBSD 5.3-RELEASE to 5.4-STABLE using
 cvsup. I then upgraded installed ports using portupgrade -a (after
 running make fetchindex and pkgdb -F).
 Worked for most ports.
 But I have a hard time upgrading KDE from 3.3 to 3.4. Some ports in
 the KDE set upgraded OK, but kdebase among others didn't want to
 upgrade from 3.3.0_4 to 3.4.2_2. Tried :
 #portupgrade kdebase
 then
 #portupgrade -p kdebase
 The package itself donloads OK but I get the following at the end of
snip error message
 Any clue what's going on ?
 Thanks for your help.
 Edward

Hi there, 
It seems as if your problems are dealt with in the 
file /usr/ports/UPDATING.  I have pasted the most relevant 
informational messsge here, but there is at least one other entry for 
KDE which postdates this one. Generally, the UPDATING file is my first 
port of call if there are any errors in upgrades.

I hope this helps
.nbco


20050320:
  AFFECTS: users of x11/kde3, x11/kdelibs3, x11/kdebase3,
x11-themes/kdeartwork3, www/akregator, x11-themes/phase,
multimedia/kdemultimedia3
  AUTHOR: [EMAIL PROTECTED]

  In KDE 3.4, a number of files were moved between ports, some ports
  were added, one port has been removed and some applications formerly 
available
  in their own ports were incorporated into KDE. This means that you 
will have
  to take some precautions to update your KDE installation. A simple
  portupgrade -a will not work.

  Portupgrade -R kde can fail as well, depending on what parts of KDE 
you
  have currently installed. We therefore recommend sticking to the 
following
  procedure. The procedure requires you to have sysutils/portupgrade 
installed
  and you to be the superuser (or using sudo). We recommend not being 
logged in
  to a KDE session on the machine you're performing the upgrade on. If 
you
  choose to perform the update while being logged in to KDE, expect 
erratic
  behavior and crashes from applications launched until you log out and 
back
  in.

  1.) Delete installed packages which conflict with the updated KDE
  ports.

pkg_deinstall -f kdeartwork-\[0-9\]\* kdebase-\[0-9\]\* \
kdebase-konqueror-nsplugins-\[0-9\]\* kdewebdev-\[0-9\]\* \
kde-\[0-9\]\* akregator\* phase\*

  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 kdeartwork kdewebdev

   Changes in detail:

- www/akregator is now included into deskutils/kdepim3.
- x11-themes/phase is now included in x11-themes/kdeartwork3.
- www/konqueror-nsplugins has been removed and is now integrated 
into
  In mDNSResponder 98_1, mdnsd is no longer started by default due to a
  switch to an rc.subr startup script.  To start it, you must add add
  mdnsd_enable=YES to your /etc/rc.conf or other suitable
  configuration file.

20050320:
  AFFECTS: users of x11/kde3, x11/kdelibs3, x11/kdebase3,
x11-themes/kdeartwork3, www/akregator, x11-themes/phase,
multimedia/kdemultimedia3
  AUTHOR: [EMAIL PROTECTED]

  In KDE 3.4, a number of files were moved between ports, some ports
  were added, one port has been removed and some applications formerly 
available
  in their own ports were incorporated into KDE. This means that you 
will have
  to take some precautions to update your KDE installation. A simple
  portupgrade -a will not work.

  Portupgrade -R kde can fail as well, depending on what parts of KDE 
you
  have currently installed. We therefore recommend sticking to the 
following
  procedure. The procedure requires you to have sysutils/portupgrade 
installed
  and you to be the superuser (or using sudo). We recommend not being 
logged in
  to a KDE session on the machine you're performing the upgrade on. If 
you
  choose to perform the update while being logged in to KDE, expect 
erratic
  behavior and crashes from applications launched until you log out and 
back
  in.

  1.) Delete installed packages which conflict with the updated KDE
  ports.

pkg_deinstall -f kdeartwork-\[0-9\]\* kdebase-\[0-9\]\* \
kdebase-konqueror-nsplugins-\[0-9\]\* kdewebdev-\[0-9\]\* \
kde-\[0-9\]\* akregator\* phase\*

  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 kdeartwork kdewebdev

   Changes in detail:

- www/akregator is now included into deskutils/kdepim3.
- x11-themes/phase is now included in x11-themes/kdeartwork3.
- www/konqueror-nsplugins has been removed and is now integrated 
into
  x11/kdebase3.
- Juk has been split