Package Details: lagrange 1.18.4-1

Git Clone URL: https://aur.archlinux.org/lagrange.git (read-only, click to copy)
Package Base: lagrange
Description: Beautiful Gemini Client
Upstream URL: https://git.skyjake.fi/skyjake/lagrange
Licenses: BSD
Submitter: Roshless
Maintainer: Roshless
Last Packager: Roshless
Votes: 41
Popularity: 0.26
First Submitted: 2020-10-10 19:45 (UTC)
Last Updated: 2024-12-10 17:37 (UTC)

Pinned Comments

Roshless commented on 2020-11-04 08:20 (UTC) (edited on 2022-08-23 13:45 (UTC) by Roshless)

Instead of flagging this package out of date please send patches to repo using mailing list linked in index.md.

Tutorial: https://git-send-email.io/

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

xanc commented on 2021-05-02 11:43 (UTC)

I get this error:

[code] [ 1%] Building C object lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/the_foundation.c.o cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security] cc1: all warnings being treated as errors make[2]: [lib/the_Foundation/CMakeFiles/the_Foundation.dir/build.make:76: lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/the_foundation.c.o] Error 1 make[2]: Leaving directory '/home/xan/aur/gemini-lagrange/lagrange/src/build' make[1]: [CMakeFiles/Makefile2:126: lib/the_Foundation/CMakeFiles/the_Foundation.dir/all] Error 2 make[1]: Leaving directory '/home/xan/aur/gemini-lagrange/lagrange/src/build' make: *** [Makefile:136: all] Error 2 make: Leaving directory '/home/xan/aur/gemini-lagrange/lagrange/src/build' ==> ERROR: Ha ocorregut una fallada a build(). Es cancel·la...

[/code]

dmerejkowsky commented on 2021-04-29 14:02 (UTC) (edited on 2021-04-29 14:06 (UTC) by dmerejkowsky)

Good news! The bug in the_Foundation is being fixed upstream.

https://codeberg.org/skyjake/the_Foundation/issues/6

I'll update the pkgbuild when the fix is available, and I'll take care of the CMAKE_BUILD_TYPE issue then.

As a workaround, you can build the package this way:

rm -fr src/build/

makepkg \
  CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
  -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS \
   -fstack-clash-protection -fcf-protection" \
   -f

dmerejkowsky commented on 2021-04-29 13:15 (UTC)

I think I understood what happened.

First, there was an RFC https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0003-buildflags.rst to change the default flags in makepkg.conf

It was implemented in the pacman package itself in this commit: https://github.com/archlinux/svntogit-packages/commit/a790c389cb0fd2ddd35e1f581ee337f6891801fc#diff-8da5d04d27b7ace195751c5e1e5e52c0bbd59e1ec3fd89d656496cc1d272d4b0

Finally, the_foundation also sets some warning flags, and crucially, -Werror, which causes the build to fail because the warning flags are not compatible with each other.

jarek: good point about CMAKE_BUILD_TYPE, but I'm not sure it fixes the issue - I'll take a look.

autumnontape commented on 2021-04-29 05:51 (UTC)

Removing -Werror=format-security from CFLAGS in /etc/makepkg.conf fixed the build for me.

Jarek_jre commented on 2021-04-29 01:47 (UTC)

@dmerejkowsky check your /etc/makepkg.conf, I bet there's something like Wformat in CFLAGS.

Also, I noticed that this PKGBUILD uses CMAKE_BUILD_TYPE=Release which is agains the guidelines. https://wiki.archlinux.org/index.php/CMake_package_guidelines

dmerejkowsky commented on 2021-04-28 15:45 (UTC)

No error in a clean chroot either. This is really weird

dmerejkowsky commented on 2021-04-28 14:35 (UTC)

Upstream bug here : https://codeberg.org/skyjake/the_Foundation/issues/6

It's a bad idea to enable Werror anyway, but it sure would be nice to know what package is causing the issue ;)

Roshless commented on 2021-04-28 14:33 (UTC)

Just tried compiling with extra-x86_64-build in clean chroot and no errors there, can you two also try?

dmerejkowsky commented on 2021-04-28 14:28 (UTC)

OK, the error comes when compiling the_Foundation, not lagrange. I'll open a bug upstream

BachoSeven commented on 2021-04-28 14:15 (UTC)

@Roshless I had tried cloning and using makepkg -si, I get the same build error.