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

makefile exit 2 even it the build succeed #13

Open
eoli3n opened this issue Jan 7, 2022 · 2 comments
Open

makefile exit 2 even it the build succeed #13

eoli3n opened this issue Jan 7, 2022 · 2 comments

Comments

@eoli3n
Copy link

eoli3n commented Jan 7, 2022

The build succeed, but exit code is not 0.
aur PKGBUILD noticed that too -> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libdecsync#n17

Please check https://github.com/void-linux/void-packages/runs/4649345169?check_suite_focus=true

@39aldo39
Copy link
Owner

39aldo39 commented Jan 7, 2022

I don't know why it happens. From the log it looks like some parts are executed twice for some reason. See

./gradlew linkReleaseSharedlinuxX64
./gradlew linkReleaseSharedlinuxX64
Makefile:38: *** open: build/bin/linuxX64/releaseShared/decsync.pc: No such file or directory.  Stop.
make: *** Waiting for unfinished jobs....

and

BUILD SUCCESSFUL in 2m 19s
2 actionable tasks: 2 executed

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 2m 19s
2 actionable tasks: 2 executed

But it only happens on clean (?) builds, if I try it myself it works fine.

The reason it exits with 2 is that it tries to use decsync.pc (for what?) before it is created.

@ghost
Copy link

ghost commented Sep 13, 2022

The current Makefile doesn't support -j option. You should disable build parallelization.

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