Package Base Details: glibc-eac

Git Clone URL: (read-only, click to copy)
Submitter: MacTavishAO
Maintainer: MacTavishAO
Last Packager: MacTavishAO
Votes: 8
Popularity: 2.80
First Submitted: 2024-02-07 00:41 (UTC)
Last Updated: 2024-04-19 19:28 (UTC)

Latest Comments

MacTavishAO commented on 2024-03-27 14:50 (UTC)

Pushed an update adressing this issue. Thanks @xiota.

xiota commented on 2024-03-27 12:10 (UTC) (edited on 2024-03-27 12:16 (UTC) by xiota)

@Levitating @MacTavishAO The problem is caused by LDFLAGS=${LDFLAGS/,-z,now/} on line 133. A couple weeks ago, makepkg.conf was changed. Previously, linker options were all grouped together:


Now, the options are separated:

-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now

Removing ,-z,now leaves behind -Wl, which is not a valid option on its own.

I have not tested, but changing to LDFLAGS=${LDFLAGS/,-z,now/,-z,lazy} should fix the problem while working with both old and new config.

CucumberSpace commented on 2024-03-27 08:31 (UTC)

--mflags "--nocheck" if you use yay

MacTavishAO commented on 2024-03-26 22:02 (UTC) (edited on 2024-03-26 22:02 (UTC) by MacTavishAO)

I'm not sure why you get this error because this package is virtually one to one copy of glibc package from official repos with the patch.

Good news is that this fail comes from check() step so glibc is already built. You can pass --nocheck option to makepkg to skip this step.

Levitating commented on 2024-03-26 21:48 (UTC)

I am faced with this weird error

make[2]: Entering directory '/home/rein/.cache/paru/clone/glibc-eac/src/glibc'
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl          -Wl,-z,pack-relative-relocs  -shared -nostdlib -nostartfiles \
      -x assembler /dev/null -o /home/rein/.cache/paru/clone/glibc-eac/src/glibc-build/
gcc: error: unrecognized command-line option ‘-Wl’; did you mean ‘-W’?
make[2]: *** [Makerules:992: /home/rein/.cache/paru/clone/glibc-eac/src/glibc-build/] Error 1
make[2]: Leaving directory '/home/rein/.cache/paru/clone/glibc-eac/src/glibc'
make[1]: *** [Makefile:633: /home/rein/.cache/paru/clone/glibc-eac/src/glibc-build/testroot.pristine/install.stamp] Error 2
make: *** [Makefile:9: check] Error 2

MacTavishAO commented on 2024-02-07 23:37 (UTC)

Checks did not fail on me but I suppose --nocheck wouldn't hurt and should decrease build time. It's up to your preference really.