Opened 14 years ago

Closed 14 years ago

#2600 closed task (fixed)

E2fsprogs needs a patch added

Reported by: randy@… Owned by: Matthew Burgess
Priority: normal Milestone: 6.7
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

I have submitted a patch upstream to the E2fsprogs maintainers to add a function to the libcom_err library so that it will be compatible with Heimdal. Without the patch to E2fsprogs, Heimdal will end up adding a new libcom_err library in /usr/lib and overwrite the .so file that points to the E2fsprogs library, /lib/libcom_err.xxx.

E2fsprogs is already trying to support Heimdal. They added a file to the package called com_right.c and added a definition to com_err.h which adds the Heimdal com_right function.

However, Heimdal apparently has added a new function to their version of libcom_err called com_right_r. My patch (from arch-linux) adds this function so Heimdal will then use the existing libcom_err library from E2fsprogs and everything works properly.

I would appreciate if the LFS dev team would consider adding this patch to the E2fsprogs build in the -dev book until E2fsprogs adds it to a new version of the package. For people building LFS-dev, the patch means that Heimdal will install clean and not install an unneeded library.

I'll have to figure out something for the Heimdal package for users installing on LFS-6.5 and LFS-6.6.

Lastly, I have checked the most current version of E2fsprogs and it will require the patch as well. It will be easy to see when the patch will no longer be needed by looking at the file lib/et/com_right.c after unpacking E2fsprogs and see if the function has been added.

Change History (2)

comment:1 by Matthew Burgess, 14 years ago

Owner: changed from lfs-book@… to Matthew Burgess
Status: newassigned

comment:2 by Matthew Burgess, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed by the upgrade to E2fsprogs-1.41.11 in r9230.

Note: See TracTickets for help on using tickets.