Version: 2.9.999 (using 4.1.00 (KDE 4.0.99 (4.1 RC1+)) "release 10.2", KDE:KDE4:Factory:Desktop / openSUSE_11.0) Compiler: gcc OS: Linux (i686) release 2.6.25.9-0.2-default Hi, ark seems to have problems calculating the filesize in zip files. Files with a few kilobytes in size show up as terabyte sized. I checked to see if it is a problem of the file itself. Using the KIO-slave in dolphin shows right file sizes. e.g.: zip:/home/krase/download/pyAXL-0.5.2.zip An example file is attached.
Created attachment 26266 [details] Test Case
The problem seems to be a mismatch between Ark and libzip. Ark's configured to enable 64-bit filesizes regardless of architecture (-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64), while libzip doesn't. The solution is to recompile libzip with these additional CFLAGS: -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
*** Bug 167469 has been marked as a duplicate of this bug. ***
*** Bug 168135 has been marked as a duplicate of this bug. ***
SVN commit 842913 by metellius: BUG: 167018 Redefining off_t to 32bit inside of libzip plugin M +8 -0 zipplugin.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=842913
A somewhat temporary solution as mentioned in the comments of the commit. Will investigate further what can be done with the libzip with regards to compilation flags.
*** Bug 169386 has been marked as a duplicate of this bug. ***
*** Bug 169391 has been marked as a duplicate of this bug. ***
*** Bug 190205 has been marked as a duplicate of this bug. ***