Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

Failed to Build #22

Closed
Samurai-of-death opened this issue Feb 3, 2015 · 8 comments
Closed

Failed to Build #22

Samurai-of-death opened this issue Feb 3, 2015 · 8 comments

Comments

@Samurai-of-death
Copy link

I can't get qcma to build using the AUR package https://aur.archlinux.org/packages/qcma-git/

Here is a paste bin of what outputs when I try to compile this

http://pastebin.com/YZUJ1Zvu

@Samurai-of-death
Copy link
Author

seems the current AUR qcma(not the git version) show the package as needing vitamtpmod and not vitamtpmod-git so I compiled with vitamtpmod-git and it works and runs fine :)

still might be good ideal to look into why the normal package can't be compiled together with the vitamtpmod

https://aur.archlinux.org/packages/qcma/ and https://aur.archlinux.org/packages/vitamtpmod/

@codestation
Copy link
Owner

Do you have qtchooser installed? I modified the PKGBUILD to use the correct version of qdbuscpp2xml.

If installing qtchooser fix your problem then i either add it as a build time dependency or switch to build with Qt5.

@Samurai-of-death
Copy link
Author

I do have qtchooser installed but I did notice your new PKGBUILD had the wrong command for qt4. Should look something like this http://pastebin.com/UAc5stfM (lines 21, 22, 23 show the new changes)

That might be the reason for the build failing

@Shemagh
Copy link

Shemagh commented Feb 7, 2015

Trying to install from AUR. Do have qtchooser and all dependencies but still unable to build the package.

Sorry to say but I'm a noob, and I can't code or modify PKGBUILD so I'm kind of at a loss as to what to do.

Here's a paste of the output: http://pastebin.com/tamSbfr4

@codestation
Copy link
Owner

Can you execute this command? ls --color=auto -l /usr/bin/qdbusxml2cpp*

Broken symlinks will show on red. This is mine btw, so the PKGBUILD works fine here:

lrwxrwxrwx 1 root root  9 dic 13 13:20 /usr/bin/qdbusxml2cpp -> qtchooser
lrwxrwxrwx 1 root root 29 dic 14 13:14 /usr/bin/qdbusxml2cpp-qt4 -> /usr/lib/qt4/bin/qdbusxml2cpp
lrwxrwxrwx 1 root root 28 ene 20 09:57 /usr/bin/qdbusxml2cpp-qt5 -> /usr/lib/qt/bin/qdbusxml2cpp

EDIT: went ahead and modified the PKGBUILD to force qdbusxml2cpp-qt4 even more.

@Shemagh
Copy link

Shemagh commented Feb 8, 2015

The output of that command was this:

lrwxrwxrwx 1 root root 9 Dec 13 17:50 /usr/bin/qdbusxml2cpp -> qtchooser
lrwxrwxrwx 1 root root 29 Dec 14 17:44 /usr/bin/qdbusxml2cpp-qt4 -> /usr/lib/qt4/bin/qdbusxml2cpp

I'm glad you posted yours too, because I noticed qt5 also being required. Installed qt5 and the pkgbuild worked perfectly.

Maybe you could add qt5 or whatever qt5 based packages to the dependencies to ensure that pkgbuild works?

@Samurai-of-death
Copy link
Author

I just check and current PKGBUILD does work and build just fine for me. Thanks for qcma codestation 😄

@codestation
Copy link
Owner

Closing this since qcma now uses Qt5 by default.

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

No branches or pull requests

3 participants