Gnome 2.16 upgrade failed (yeah, I read /usr/src/UPDATING)

Jeremy Messenger mezz7 at cox.net
Wed Oct 18 03:31:13 UTC 2006


On Tue, 17 Oct 2006 20:05:02 -0500, Rainer Alves <rainer.alves at gmail.com>  
wrote:

> Clint Olsen wrote:
>> I ran the exact commands specified in the UPDATING file, and I  
>> eventually
>> get:
>>  ** Listing the failed packages (*:skipped / !:failed)
>>         ! devel/py-gobject (py24-gobject-2.10.1)        (new compiler  
>> error)
>>         ! graphics/py-cairo (py24-cairo-1.0.2_1)        (new compiler  
>> error)
>>         ! devel/py-orbit (py24-orbit-2.14.1)    (new compiler error)
>>         ! textproc/gnome-doc-utils (gnome-doc-utils-0.6.1)      (new  
>> compiler error)
>>         * misc/gnome-user-docs (gnomeuserdocs2-2.14.2)
>>         ! multimedia/mplayer (mplayer-0.99.8_3) (install error)
>>         ! www/mozilla (mozilla-1.7.13,2)        (bad C++ code)
>>         ! devel/libglade2 (libglade2-2.6.0)     (new compiler error)
>>         ...
>
> I've also had some of this errors, so I'll comment on mplayer and  
> mozilla:
>
> * mplayer:
> [rainer at bsd /usr/ports/multimedia/mplayer]$ make showconfig | grep -i  
> skin
>       SKINS=on "Force dependency on mplayer-skins"
> In my case, mplayer decided to install the dependecy mplayer-skins  
> during its install phase, the mplayer-skins' distfiles were corrupted  
> and it failed to install multimedia/mplayer. I was able to fix this with  
> a rm -f /usr/ports/distfiles/mplayer/* (which removes the skins  
> distfiles).

Not our problem, talk with the right maintainer.

> * mozilla:
> It's broken due to some freetype internals, the error message is this:
>
> nsType1.cpp:371: error: invalid conversion from `int (*)(FT_Vector*,  
> void*)' to `int (*)(const FT_Vector*, void*)'
> nsType1.cpp:371: error: invalid conversion from `int (*)(FT_Vector*,  
> void*)' to `int (*)(const FT_Vector*, void*)'
> nsType1.cpp:371: error: invalid conversion from `int (*)(FT_Vector*,  
> FT_Vector*, void*)' to `int (*)(const FT_Vector*, const FT_Vector*,  
> void*)'
> nsType1.cpp:371: error: invalid conversion from `int (*)(FT_Vector*,  
> FT_Vector*, FT_Vector*, void*)' to `int (*)(const FT_Vector*, const  
> FT_Vector*, const FT_Vector*, void*)'
> make[4]: *** [nsType1.o] Error 1
>
> The fix/patch is here:  
> http://mail-index.netbsd.org/pkgsrc-bugs/2006/06/05/0005.html

We already have patch in mozilla/files/patch-gfx_src_ps_nsType1.cpp. Do  
you have it? The pointyhat can build it just fine.

http://pointyhat.freebsd.org/errorlogs/i386-5-exp-latest-logs/mozilla-1.7.13_1,2.log

> Besides these two, I have some other thoughts regarding the gnome 2.16  
> upgrade:
> - graphics/cairo failed the first time during the configure phase  
> (complaining it couldn't find a suitable "glitz" version), I had to  
> check config.log and found out it was looking for glitz > 0.5, while the  
> installed version was still 0.4.*. I solved this by forcing the glitz  
> upgrade first (portupgrade -f graphics/glitz) and then I was able to  
> upgrade graphics/cairo.

Should be fixed in the lastest change of UPDATING for do 'portupgrade -rf  
pkg-config\*'.

> - For some unknown reason, all my fonts look like crap on  
> firefox/thunderbird after the gnome upgrade. All TTF fonts are available  
> as before, but there are some serious problems with anti-aliasing &  
> hinting, I'm not sure if it's related to the freetype upgrade, or the  
> X11BASE->LOCALBASE conversion. I've also tried firefox 2.0rc2  
> (www/firefox-devel), same crappy fonts. (all other gnome apps have  
> absolutely no font problems).

Dunno, can't reproduce it. Someone will have to jump in and figure how to  
fix it.

> - gnome_prefix.sh doesn't work. I've tried it numerous times and it  
> failed to update my ~/.gconf paths and many other gnome configuration  
> files which were set to use X11BASE (yes, I did use the '-f' parameter).  
> I ended up having to the update dozens of configuration files with sed.

Did you login in the correct user when you ran this script? If yes, then  
which path was it? Current, it only will looking in the directories:

dir=".gconf .gconfd .gnome .gnome2 .gnome2_private .gstreamer-0.10 \
	 .gstreamer-0.8 .icons .metacity .mozilla .themes"

Then, it will sed at the each ${prefix}/foo/bar:

list="lib/epiphany lib/firefox lib/gstreamer-0.8 lib/gstreamer-0.10 \
	  lib/mozilla lib/seamonkey lib/thunderbird share/gnome"

What do we need to add anything more in the list? We can't test every  
single apps and know what they put anything in the ~/.*. Current, it works  
for me with ~/.gconf/desktop/gnome/background/%gconf.xml that has:

<stringvalue>/usr/X11R6/share/gnome/pixmaps</stringvalue>

After run the script and it looks like this:

<stringvalue>/usr/local/share/gnome/pixmaps</stringvalue>

As you see, 'share/gnome' is in the list and it works.

> - Every single icon in mail/evolution is unavailable (including toolbar  
> icons, preference dialog icons and interface icons). No error is printed  
> during startup, it simply replaces all those icons with a red cross.

It sounds like you don't have /usr/local/libexec/gnome-settings-daemon  
running?

Cheers,
Mezz

> I could probably report other errors, but I've only stumbled across  
> specific gnome applications errors since I'm using xfce4 as my desktop  
> environment (instead of gnome-panel/metacity).
>
> --
> Rainer Alves


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-ports mailing list