After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 398405 - missing debug symbols needed for compatibility
missing debug symbols needed for compatibility
Status: RESOLVED FIXED
Product: gamin
Classification: Other
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Gamin Maintainer(s)
Gamin Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2007-01-19 16:19 UTC by Ryan Underwood
Modified: 2007-08-27 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ryan Underwood 2007-01-19 16:19:50 UTC
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407311

Gamin misses some debugging symbols that legacy FAM programs have linked in, causing them not to be buildable or runnable.

diff -ur gamin-0.1.8/libgamin/fam.h asdf/libgamin/fam.h
--- gamin-0.1.8/libgamin/fam.h	2005-03-15 06:01:03.000000000 -0600
+++ asdf/libgamin/fam.h	2007-01-16 21:09:52.000000000 -0600
@@ -190,6 +190,18 @@
 extern int FAMErrno;
 
 /**
+ * FAMDebugLevel
+ *
+ * Currently unimplemented as in the SGI FAM.  Exists only for
+ * compatibility.
+ */
+extern int FAMDebugLevel	(FAMConnection *fc,
+				 int level);
+#define FAM_DEBUG_OFF 0
+#define FAM_DEBUG_ON  1
+#define FAM_DEBUG_VERBOSE 2
+
+/**
  * FamErrList:
  *
  * In case FAMErrno is set, FAMErrlist is a global string array indexed
diff -ur gamin-0.1.8/libgamin/gam_api.c asdf/libgamin/gam_api.c
--- gamin-0.1.8/libgamin/gam_api.c	2006-10-25 11:13:43.000000000 -0500
+++ asdf/libgamin/gam_api.c	2007-01-16 20:34:25.000000000 -0600
@@ -1529,4 +1529,11 @@
     }
     return(ret);
 }
+
+/* This doesn't do anything in FAM either, here only for completeness */
+int
+FAMDebugLevel(FAMConnection *fc, int level)
+{
+	return(1);
+}
 #endif
Comment 1 Loïc Minier 2007-08-15 09:35:09 UTC
Anyone against committing this patch?
Comment 2 Daniel Veillard 2007-08-27 08:57:22 UTC
The problem is that it's like advertizing a non working feature.
If the program call this it probably expect it to work, no ?
It's a bit fishy ... Plus the reporter does not explain what kind
of program tries to use ti, so I'm wondering a bit.

Daniel
Comment 3 Daniel Veillard 2007-08-27 10:24:46 UTC
Hum, on a second look FAM actually did that advertizing of a non
working feature :-(
I didn't applied the patch as-is as it didn't followed the commenting
conventions of gamin, but it's in SVN now,

  thanks,

Okay