Bug 143291 - glibc 2.3.90 and Ruby collide
Summary: glibc 2.3.90 and Ruby collide
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Alpha 4
Hardware: All Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Marcus Rückert
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 20:28 UTC by Stephan Binner
Modified: 2006-04-07 14:55 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Binner 2006-01-15 20:28:17 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
Comment 1 Thorsten Kukuk 2006-01-16 09:00:23 UTC
I submitted a ruby package without eaccess, let's see how it works.
Comment 2 Marcus Rückert 2006-01-24 14:46:32 UTC
created a bug upstream.
http://rubyforge.org/tracker/index.php?func=detail&aid=3317&group_id=426&atid=1698
Comment 3 Marcus Rückert 2006-02-07 15:16:48 UTC
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.
Comment 4 Andreas Jaeger 2006-03-26 10:02:20 UTC
Marcus, is this fixed now?
Comment 5 Marcus Rückert 2006-03-26 22:11:40 UTC
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.

Comment 6 Marcus Rückert 2006-04-07 14:55:22 UTC
new package in stable. compiling koffice against it was verified by stephan.