naxuroqa / Venom

a modern Tox client for the GNU/Linux desktop
GNU General Public License v3.0
282 stars 65 forks source link

ERROR: Language Vala does not support position-independent executable #477

Closed physkets closed 5 years ago

physkets commented 5 years ago

Describe the bug

Venom fails to build, and displays the error:

ERROR: Language Vala does not support position-independent executable

To Reproduce

Installed via the AUR: https://aur.archlinux.org/packages/venom/

Desktop (please complete the following information):

Additional context

Attached is the meson-log meson-log.txt

naxuroqa commented 5 years ago

Can confirm, happens to me as well after updating meson to the latest stable version.

https://mesonbuild.com/Release-notes-for-0-49-0.html#positionindependent-executables

Might be a packaging issue (I.e. PIE is maybe just not possible with vala). I've asked on their irc channel.

Responsible commit in the meson package: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/meson&id=932dd4ee1b86e854327a9d0a554eb05a9b34230e

You can use this PKGBUILD file in the meantime: https://gist.github.com/naxuroqa/a5984f9940a86d28dce3c8f1fdd85f70

Depending on their answer in the IRC channel I'll either fix this in the meson config (if possible), or use this PKGBUILD file for the aur package.

r3k2 commented 5 years ago

same issue here

naxuroqa commented 5 years ago

Should be fixed in 0.5.3-2 (https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=venom&id=9f83937a346ba84324362fc3d13955cc30f22fb3)

Please let me know if you still run into any build errors.