libquazip binary package has critical bugs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libquazip (Ubuntu) |
Fix Released
|
Undecided
|
Eric Maeker |
Bug Description
This is a test made by the Quazip creator:
alqualos@ubuntu:~$ tar xzf quazip-0.6.2.tar.gz
alqualos@ubuntu:~$ cd quazip-0.6.2/
# Rename the source so qztest uses the distribution QuaZIP:
alqualos@
alqualos@
alqualos@
Project WARNING: CONFIG+=qtestlib is deprecated. Use QT+=testlib instead.
First error (trivial):
alqualos@
# lots of make stuff goes here and ends with this:
.obj/testquazip
testquazipfile.
collect2: error: ld returned 1 exit status
make: *** [qztest] Error 1
# The error above is because of a really silly bug in 0.6.2:
# it declares a function, but never defines it.
# In order to get around it, we must edit testquazipfile.cpp
# and comment out the whole body of the last function,
# that is, TestQuaZipFile:
alqualos@
# editing goes here
Second error (critical):
alqualos@
# Now it compiles OK.
alqualos@
********* Start testing of TestQuaZip *********
Config: Using QtTest library 5.2.1, Qt 5.2.1
PASS : TestQuaZip:
QFATAL : TestQuaZip:
FAIL! : TestQuaZip:
Loc: [Unknown file(0)]
Totals: 1 passed, 1 failed, 0 skipped
********* Finished testing of TestQuaZip *********
Aborted (core dumped)
Now, compiling the source code by ourselves works pretty neat:
# Now let's try compiling the sources by ourselves:
alqualos@
alqualos@
alqualos@
alqualos@
alqualos@
# lots of make stuff
alqualos@
# Now we should re-link qztest because the library name is different:
# Ubuntu provides libquazip.so.0, while QuaZIP builds by default as libquazip.so.1
# Even better would be to recompile completely, but I've compared the headers,
# and they are exactly identical in Ubuntu and in quazip-
# so re-linking should do the job:
alqualos@
alqualos@
# link stuff goes here
alqualos@
# Now every test passes OK.
So, the problem IS in the libquazip0 binary package!
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libquazip0 0.6.2-0ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Thu May 8 09:50:52 2014
InstallationDate: Installed on 2014-04-19 (18 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: libquazip
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.