diff options
Diffstat (limited to 'bugs/utimensat-undefined-symbol.mdwn')
-rw-r--r-- | bugs/utimensat-undefined-symbol.mdwn | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/bugs/utimensat-undefined-symbol.mdwn b/bugs/utimensat-undefined-symbol.mdwn deleted file mode 100644 index 323dd5e..0000000 --- a/bugs/utimensat-undefined-symbol.mdwn +++ /dev/null @@ -1,25 +0,0 @@ -[[!tag obnam-wishlist]] - -Obnam apparently depends on "utimensat", which only appears in more recent versions of glibc. Unfortunately, CentOS5's glibc does not have this routine, and we are not upgrading to CentOS6 just yet. - - [hash@hydrogen]$ uname -a - Linux hydrogen.localdomain 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux - -Trying too import obnam produces this error: - - >>> import obnamlib._obnam - Traceback (most recent call last): - File "<stdin>", line 1, in <module> - ImportError: /usr/local/lib/python2.6/site-packages/obnamlib/_obnam.so: undefined symbol: utimensat - >>> - --- hash - ---- - -`utimensat` was added to the Linux kernel in version 2.6.22 (2007), and to glibc in version 2.6 (2007). It is specified in Posix 2008. It's needed to set sub-second timestamps on files on restore. As a workaround, you can change the `_obnammodule.c` to call `utimes` instead. If you can provide a clean patch, I'll be happy to add it to Obnam proper. - ---liw - -No patch has appeared, closing bug. [[done]] --liw -(Patch will of course always be useful, please send one to the mailing list.) |