Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Ubuntu 16.10 #68

Open
Talanor opened this issue Dec 20, 2016 · 1 comment
Open

Build fails on Ubuntu 16.10 #68

Talanor opened this issue Dec 20, 2016 · 1 comment

Comments

@Talanor
Copy link

Talanor commented Dec 20, 2016

Hello, I just tried building medusa (master branch) and got this error:

Scanning dependencies of target Qt-qtbase
[ 12%] Creating directories for 'Qt-qtbase'
[ 25%] Performing download step (download, verify and extract) for 'Qt-qtbase'
-- verifying file...
     file='/home/talanor/.hunter/_Base/Download/Qt/5.5.1-cvpixelbuffer-2-p9/da86822/hunter-5.5.1-cvpixelbuffer-2.7z'
-- verifying file... done
-- extracting...
     src='/home/talanor/.hunter/_Base/Download/Qt/5.5.1-cvpixelbuffer-2-p9/da86822/hunter-5.5.1-cvpixelbuffer-2.7z'
     dst='/home/talanor/.hunter/_Base/8c538a0/a1b471c/15fdb4a/QtBuild/10'
-- extracting... [tar xfz]
CMake Error: Problem with archive_read_next_header(): Damaged 7-Zip archive
CMake Error: Problem extracting tar: /home/talanor/.hunter/_Base/Download/Qt/5.5.1-cvpixelbuffer-2-p9/da86822/hunter-5.5.1-cvpixelbuffer-2.7z
-- extracting... [error clean up]
CMake Error at /home/talanor/.hunter/_Base/8c538a0/a1b471c/15fdb4a/Build/Qt/__qtbase/Build/Qt-qtbase-prefix/src/Qt-qtbase-stamp/extract-Qt-qtbase.cmake:33 (message):
  error: extract of
  '/home/talanor/.hunter/_Base/Download/Qt/5.5.1-cvpixelbuffer-2-p9/da86822/hunter-5.5.1-cvpixelbuffer-2.7z'
  failed


CMakeFiles/Qt-qtbase.dir/build.make:92: recipe for target 'Qt-qtbase-prefix/src/Qt-qtbase-stamp/Qt-qtbase-download' failed
make[2]: *** [Qt-qtbase-prefix/src/Qt-qtbase-stamp/Qt-qtbase-download] Error 1

It would seem that tar xfz can't unzip the hunter-5.5.1-cvpixelbuffer-2.7z archive, 7z x however unzips it just fine. Any idea of why that happens or how I can circumvent this?

Thanks for your help.

@wisk
Copy link
Owner

wisk commented Dec 25, 2016

Hi Talanor,

It seems this error occurs because you're using an old version of CMake.
Please try to upgrade to the latest and try again.
BTW, it might require some packages. Since I don't really use Ubuntu, I don't remember which ones, but pkg-config and libqt5opengl5-dev are mandatory (cf. https://github.com/wisk/medusa/pull/57/files).
Finally, people reported me I might have broken the UNIX build. If you've trouble to compile it, please reset to this commit.
I'll try to fix ASAP, sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants