FS#24808 - [exiv2] fails on CIFS
Attached to Project:
Arch Linux
Opened by Dmytro Bagrii (dimich) - Tuesday, 21 June 2011, 00:50 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 21 June 2011, 07:59 GMT
Opened by Dmytro Bagrii (dimich) - Tuesday, 21 June 2011, 00:50 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 21 June 2011, 07:59 GMT
|
Details
Description:
Exiv2 package is built without _FILE_OFFSET_BITS=64 flag and it uses sys_stat() instead of sys_stat64() system call. CIFS driver always returns 64-bit inode number and stat() always returns EOVERFLOW, even if file size is less than 4 Gb. So exiv2 program always outputs "Failed to open the file" for files on remote CIFS filesystem. Also geeqie uses exiv2 and doesn't rotate images according to exif metadata if image is stored on remote CIFS filesystem. Exiv2 version: 0.21.1-1 Adding CPPFLAGS="-D_FILE_OFFSET_BITS=64" ./configure --prefix=/usr instead of ./configure --prefix=/usr in PKGBUILD solves the issue. |
This task depends upon