Ticket #820 (closed defect: fixed)
Using utimensat in fs_entry.cc breaks support for Linux < 2.6.22
| Reported by: | jorrit | Owned by: | dleverton |
|---|---|---|---|
| Priority: | Sometime | Milestone: | |
| Component: | core/paludis/util | Version: | 0.44.1 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Distribution: | Gentoo |
Description
I am unfortunately stuck at an old kernel version for the moment. I updated Paludis to 0.44.1, and suddenly no package could be installed anymore. All installs fail with:
* When setting utime for '<somefile>': * utime '<somefile>' failed: Function not implemented (paludis::FSError)
When looking in the source (fs_entry.cc) it appears that since Januari 2nd, 2010, utimensat is used instead of utime. I'm not an expert in kernel programming or C++ programming and it seems strange to me that Paludis 0.44.1 even compiled correctly while one of the functions it calls does not exist, but apparently it is possible and I'm stuck with a Paludis version that can't do anything.
Change History
Note: See
TracTickets for help on using
tickets.
