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

Parallel make issue in qtpass-1.2.1: ld: cannot find -lqtpass #350

Closed
devurandom opened this issue Jan 20, 2018 · 2 comments
Closed

Parallel make issue in qtpass-1.2.1: ld: cannot find -lqtpass #350

devurandom opened this issue Jan 20, 2018 · 2 comments

Comments

@devurandom
Copy link

There appears to be a dependency issue between the qtpass binary and libqtpass.so:

x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o qtpass main.o qrc_resources.o   -L/var/tmp/portage/app-admin/qtpass-1.2.1/work/QtPass-1.2.1/main/../src/./ -lqtpass -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lqtpass
collect2: error: ld returned 1 exit status

build.log

See-Also: https://bugs.gentoo.org/643526

@devurandom devurandom changed the title Parallel make issue: ld: cannot find -lqtpass Parallel make issue in qtpass-1.2.1: ld: cannot find -lqtpass Jan 20, 2018
@devurandom
Copy link
Author

devurandom commented Jan 20, 2018

The issue appears to be that the main target depends on tests instead of src (gentoo/gentoo@55c9e8b#diff-113e371887b4ff371cb56eae3d4a0deaR42) and Gentoo tries to opt out of the tests, breaking the dependency chain. It would be great, if qtpass could support this a little bit better by depending on src directly.

@annejan
Copy link
Member

annejan commented Jan 22, 2018

main should depend on src and tests should depend on main

I have no idea why this was reversed but it seems to work at-least as well in the correct as the way it was . .

This is now fixed in master branch.

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