[kde-freebsd] PrintGifError not declared in kdenetwork4 and xplanet

Jan Henrik Sylvester me at janh.de
Sun Jun 3 12:04:24 UTC 2012


After the png update, I removed all my packages and started to install 
all ports from scratch. I was able to complete most but x11/kde4.

First it fails to install misc/kdeedu4 because of astro/kstars because 
of astro/xplanet:

c++  -O2 -pipe -fno-strict-aliasing    -o xplanet Map.o Options.o 
PlanetProperties.o Ring.o Satellite.o  Separation.o View.o 
buildPlanetMap.o  createMap.o drawMultipleBodies.o  drawProjection.o 
findBodyXYZ.o  findFile.o getopt.o getopt1.o  parse.o parseColor.o 
printVersion.o  readConfig.o readOriginFile.o ssec.o  setPositions.o 
sphericalToPixel.o  xpUtil.o xplanet.o  libannotate/libannotate.a 
           libdisplay/libdisplay.a              libdisplay/libtimer.a 
                 libephemeris/libephemeris.a 
libephemeris/libmoons/libmoons.a        libimage/libimage.a
  libmultiple/libmultiple.a               libplanet/libplanet.a 
           libprojection/libprojection.a 
libsgp4sdp4/libsgp4sdp4.a               -lgif  -L/usr/local/lib 
-R/usr/local/lib -lX11 -ljpeg -lpng -lm -lz -lnetpbm -ltiff -lm 
-L/usr/local/lib -R/usr/local/lib -lX11         -lXss -lXext 
-L/usr/local/lib -lfreetype -lz -lbz2 -pthread -L/usr/local/lib 
-lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lglib-2.0          -liconv -lcharset 
-L/usr/local/lib -R/usr/local/lib -lX11 -L/usr/local/lib 
-lmlibimage/libimage.a(gif.o): In function `write_gif':
gif.c:(.text+0x101): undefined reference to `QuantizeBuffer'
gif.c:(.text+0x1af): undefined reference to `PrintGifError'
gif.c:(.text+0x221): undefined reference to `PrintGifError'
libimage/libimage.a(gif.o): In function `read_gif':
gif.c:(.text+0x3fe): undefined reference to `PrintGifError'
gif.c:(.text+0x51d): undefined reference to `PrintGifError'
*** Error code 1

To be able to continue, I installed astro/xplanet WITHOUT_GIF.

The next error was in net/kdenetwork4:

In file included from 
/usr/ports/net/kdenetwork4/work/kdenetwork-4.8.3/kopete/protocols/wlm/wlmchatsession.cpp:62:
/usr/ports/net/kdenetwork4/work/kdenetwork-4.8.3/kopete/libkopete/kopetecontact.h:237: 
warning: 'virtual QList<KAction*>* 
Kopete::Contact::customContextMenuActions(Kopete::ChatSession*)' was hidden
/usr/ports/net/kdenetwork4/work/kdenetwork-4.8.3/kopete/protocols/wlm/wlmcontact.h:70: 
warning:   by 'virtual QList<KAction*>* 
WlmContact::customContextMenuActions()'
/usr/ports/net/kdenetwork4/work/kdenetwork-4.8.3/kopete/protocols/wlm/wlmchatsession.cpp: 
In member function 'void WlmChatSession::convertToGif(const QPixmap&, 
QString)':/usr/ports/net/kdenetwork4/work/kdenetwork-4.8.3/kopete/protocols/wlm/wlmchatsession.cpp:549: 
error: 'PrintGifError' was not declared in this scope
/usr/ports/net/kdenetwork4/work/kdenetwork-4.8.3/kopete/protocols/wlm/wlmchatsession.cpp:555: 
error: 'PrintGifError' was not declared in this scope
*** Error code 1

Skipping net/kdenetwork4, I was able to finish the remainder of x11/kde4.

I just updated to giflib-4.2.0_1, which is supposed to bring back 
QuantizeBuffer. astro/xplanet still fails with the same errors 
(including the one about QuantizeBuffer).

Looking at a system not updated, yet, PrintGifError is in 
include/gif_lib.h by giflib-4.1.6. For giflib-4.2.0_1, it is missing.

Cheers,
Jan Henrik


More information about the kde-freebsd mailing list