Error upgrading KDE with portupgrade

edward kouye at wanadoo.fr
Wed Oct 5 05:40:04 PDT 2005


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 "s@^\s*Exec=.*\$@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" or"internal"
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



More information about the freebsd-questions mailing list