Subject: weird bogus error from gnome-iconedit on NetBSD/alpha-1.6.x....
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <email@example.com>
Date: 11/04/2004 20:26:54
I'm getting a very weird, bogus, error from gnome-iconedit:
18:26  $ gnome-iconedit
** ERROR **: GNOME-Iconedit could not start, as it could not find the file gnome-iconedit.gnorba.
This file should be installed in $(sysconfdir)/CORBA/servers where $(sysconfdir) is the path returned when `gnome-config --sysconfdir` is executed.
Either copy this file from the source directory, or re-compile gnome-iconedit passing the argument --sysconfdir=`gnome-config --sysconfdir` to the configure script.
Abort (core dumped)
# pkg_info -I gnome-iconedit
gnome-iconedit-1.2.0nb6 Icon editor based on GNOME libraries
(everything built from the pkgsrc-2004Q3 branch, on NetBSD/alpha-1.6.x)
What's weird about it is that gnome-iconedit.gnorba does exist:
# ls -l /usr/pkg/etc/CORBA/servers/
-rw-r--r-- 1 root wheel 0 Nov 4 16:20 .directory
-r--r--r-- 1 root wheel 358 Nov 4 16:31 gnome-iconedit.gnorba
What's bogus about it is that ktrace shows that the file is found, is
opened, and is read in its entirety, not just once, but twice.
Apparently the function create_iconedit_via_factory(), or maybe the
function create_iconedit_at_size_via_factory(), is returning 0 despite
having accessed the file the subsequent error message complains about,
but this code (and indeed all this fancy "framework" stuff) is way
beyond my understanding.
So, does anyone have any clue as to what the heck is going wrong here?
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <firstname.lastname@example.org>
Planix, Inc. <email@example.com> Secrets of the Weird <firstname.lastname@example.org>