Bugzilla – Bug 143291
glibc 2.3.90 and Ruby collide
Last modified: 2006-04-07 14:55:22 UTC
Just tried to compile current KOffice SVN snapshot and it fails because of new glibc: /usr/include/unistd.h:266: error: declaration of 'int eaccess(const char*, int) throw ()' throws different exceptions /usr/lib/ruby/1.8/i586-linux/intern.h:223: error: from previous declaration 'int eaccess(const char*, int)' With glibc 2.3.5 everything is fine because it didn't define in unistd.h: /* An alias for `euidaccess', used by some other systems. */ extern int eaccess (__const char *__name, int __type) __THROW __nonnull ((1)); #endif
I submitted a ruby package without eaccess, let's see how it works.
created a bug upstream. http://rubyforge.org/tracker/index.php?func=detail&aid=3317&group_id=426&atid=1698
hmm upstream fixed the bug but i will tweak this fix. they only have to remove it if you compile with -DUSE_GNU otherwise the 2 functions are not available.
Marcus, is this fixed now?
the original bugreport is "fixed". i put some ifdefs around the conflicting definition. while discussing the problem with rudi. we discovered that they include their config.h in the ruby headers. that can override values from config.h of packages, that link against ruby. no solution for this so far. i will submit a better patch for this bug on monday.
new package in stable. compiling koffice against it was verified by stephan.