[Bug 444211] ZYpp stack and RPM 4.6.0
http://bugzilla.novell.com/show_bug.cgi?id=444211 User lvillani@binaryhelix.net added comment http://bugzilla.novell.com/show_bug.cgi?id=444211#c13 Lorenzo Villani <lvillani@binaryhelix.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #13 from Lorenzo Villani <lvillani@binaryhelix.net> 2009-05-06 06:16:54 MDT --- This issue is not fixed, yet. ./zypp/libzypp.so.605.0.2: undefined reference to `getUidS' ./zypp/libzypp.so.605.0.2: undefined reference to `getGidS' And from the source code: inline uid_t getUidS(const char * uname) { uid_t tmp; return ::unameToUid( uname, &tmp ); } inline gid_t getGidS(const char * gname) { gid_t tmp; return ::gnameToGid( gname, &tmp ); } These functions (unameToUid and gnameToGid) are provided by rpm 4.4 and are not available since rpm 4.6, and as far as I can see, you dropped the ugid.{c,h} files I included with the patch. On the other hand I still see this: +#ifndef _RPM_4_7 + ZYPP_THROW(RpmDbOpenException(root, Pathname(string(db->db_root)))); +#endif This is _very_ bad (imho), the exception is not thrown if we are building for RPM 4.7, but I'll try to figure out how to fix this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com