Package Details: glibc-git 2.37.r601.g7ff33eca68-1

Git Clone URL: https://aur.archlinux.org/glibc-git.git (read-only, click to copy)
Package Base: glibc-git
Description: GNU C Library (git version)
Upstream URL: https://www.gnu.org/software/libc
Licenses: GPL, LGPL
Conflicts: glibc
Provides: glibc
Submitter: eschwartz
Maintainer: ptr1337
Last Packager: ptr1337
Votes: 5
Popularity: 0.000000
First Submitted: 2017-12-26 23:39 (UTC)
Last Updated: 2023-07-10 12:41 (UTC)

Dependencies (9)

Required by (8150)

Sources (6)

Latest Comments

1 2 Next › Last »

sigurd4 commented on 2024-11-25 02:11 (UTC) (edited on 2024-11-25 02:40 (UTC) by sigurd4)

After putting

CC=gcc
CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=2/}
CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=3/}

In my makepkg.conf i manage to get past the first error, but another appears.

configure: error: "CET is only supported on x86_64 or x32"
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: glibc-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:

I think maybe it can be solved by somehow passing enable-cet=permissive or enable-cet=no to the configure script, but i couldn't get it to work.

For now, just commenting out the configuration step of the 32 bit version got me past the error.

After that i get a third error, because i use the -Wl,-z,now flag in $LDFLAGS. MAKEPKG removes -z,now, leaving -Wl which is invalid on its own. Had to add the following line in makepkg.conf to solve it:

LDFLAGS=${LDFLAGS/-Wl,-z,now/}

micwoj92 commented on 2024-11-13 00:20 (UTC)

Please use SPDX license identifier.

faceless33 commented on 2023-06-26 11:06 (UTC)

Not compiling indeed

==> Making package: glibc-git 2.37.r63.ge42ec82219-1 (Mon 26 Jun 2023 02:02:59 PM MSK)
==> Retrieving sources...
  -> Updating glibc git repo...
  -> Found locale.gen.txt
  -> Found locale-gen
  -> Found lib32-glibc.conf
  -> Found sdt.h
  -> Found sdt-config.h
  -> Found reenable_DT_HASH.patch
==> Validating source files with b2sums...
    glibc ... Skipped
    locale.gen.txt ... Passed
    locale-gen ... Passed
    lib32-glibc.conf ... Passed
    sdt.h ... Passed
    sdt-config.h ... Passed
    reenable_DT_HASH.patch ... Passed
:: (1/1) Parsing SRCINFO: glibc-git
==> Making package: glibc-git 2.37.r63.ge42ec82219-1 (Mon 26 Jun 2023 02:03:01 PM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating glibc git repo...
  -> Found locale.gen.txt
  -> Found locale-gen
  -> Found lib32-glibc.conf
  -> Found sdt.h
  -> Found sdt-config.h
  -> Found reenable_DT_HASH.patch
==> Validating source files with b2sums...
    glibc ... Skipped
    locale.gen.txt ... Passed
    locale-gen ... Passed
    lib32-glibc.conf ... Passed
    sdt.h ... Passed
    sdt-config.h ... Passed
    reenable_DT_HASH.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of glibc git repo...
Cloning into 'glibc'...
done.
==> Starting prepare()...
patching file Makeconfig
Hunk #1 succeeded at 387 with fuzz 2 (offset 25 lines).
patching file Makerules
Hunk #1 FAILED at 557.
1 out of 1 hunk FAILED -- saving rejects to file Makerules.rej
patching file config.make.in
Hunk #1 FAILED at 70.
1 out of 1 hunk FAILED -- saving rejects to file config.make.in.rej
patching file configure
Hunk #1 succeeded at 621 with fuzz 2 (offset -1 lines).
Hunk #2 succeeded at 5869 (offset -325 lines).
patching file configure.ac
Hunk #1 succeeded at 1328 (offset -32 lines).
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> Failed to install layer, rolling up to next layer.error:error making: glibc-git - exit status 4
==> Making package: glibc-git 2.37.r63.ge42ec82219-1 (Mon 26 Jun 2023 02:03:05 PM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating glibc git repo...
  -> Found locale.gen.txt
  -> Found locale-gen
  -> Found lib32-glibc.conf
  -> Found sdt.h
  -> Found sdt-config.h
  -> Found reenable_DT_HASH.patch
==> Validating source files with b2sums...
    glibc ... Skipped
    locale.gen.txt ... Passed
    locale-gen ... Passed
    lib32-glibc.conf ... Passed
    sdt.h ... Passed
    sdt-config.h ... Passed
    reenable_DT_HASH.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of glibc git repo...
Cloning into 'glibc'...
done.
==> Starting prepare()...
patching file Makeconfig
Hunk #1 succeeded at 387 with fuzz 2 (offset 25 lines).
patching file Makerules
Hunk #1 FAILED at 557.
1 out of 1 hunk FAILED -- saving rejects to file Makerules.rej
patching file config.make.in
Hunk #1 FAILED at 70.
1 out of 1 hunk FAILED -- saving rejects to file config.make.in.rej
patching file configure
Hunk #1 succeeded at 621 with fuzz 2 (offset -1 lines).
Hunk #2 succeeded at 5869 (offset -325 lines).
patching file configure.ac
Hunk #1 succeeded at 1328 (offset -32 lines).
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: glibc-git-exit status 4
==> Making package: glibc-git 2.37.r63.ge42ec82219-1 (Mon 26 Jun 2023 02:03:08 PM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating glibc git repo...
  -> Found locale.gen.txt
  -> Found locale-gen
  -> Found lib32-glibc.conf
  -> Found sdt.h
  -> Found sdt-config.h
  -> Found reenable_DT_HASH.patch
==> Validating source files with b2sums...
    glibc ... Skipped
    locale.gen.txt ... Passed
    locale-gen ... Passed
    lib32-glibc.conf ... Passed
    sdt.h ... Passed
    sdt-config.h ... Passed
    reenable_DT_HASH.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of glibc git repo...
Cloning into 'glibc'...
done.
==> Starting prepare()...
patching file Makeconfig
Hunk #1 succeeded at 387 with fuzz 2 (offset 25 lines).
patching file Makerules
Hunk #1 FAILED at 557.
1 out of 1 hunk FAILED -- saving rejects to file Makerules.rej
patching file config.make.in
Hunk #1 FAILED at 70.
1 out of 1 hunk FAILED -- saving rejects to file config.make.in.rej
patching file configure
Hunk #1 succeeded at 621 with fuzz 2 (offset -1 lines).
Hunk #2 succeeded at 5869 (offset -325 lines).
patching file configure.ac
Hunk #1 succeeded at 1328 (offset -32 lines).
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: glibc-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
glibc-git - exit status 4

Xakurinha32 commented on 2023-06-04 02:29 (UTC)

Building isn't working anylonger, here is the issue:


==> Validating source files with b2sums...
    glibc ... Skipped
    locale.gen.txt ... Passed
    locale-gen ... Passed
    lib32-glibc.conf ... Passed
    sdt.h ... Passed
    sdt-config.h ... Passed
    reenable_DT_HASH.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of glibc git repo...
Cloning into 'glibc'...
done.
Updating files: 100% (19662/19662), done.
==> Starting prepare()...
patching file Makeconfig
Hunk #1 succeeded at 387 with fuzz 2 (offset 25 lines).
patching file Makerules
Hunk #1 FAILED at 557.
1 out of 1 hunk FAILED -- saving rejects to file Makerules.rej
patching file config.make.in
Hunk #1 FAILED at 70.
1 out of 1 hunk FAILED -- saving rejects to file config.make.in.rej
patching file configure
Hunk #1 succeeded at 621 with fuzz 2 (offset -1 lines).
Hunk #2 succeeded at 5869 (offset -325 lines).
patching file configure.ac
Hunk #1 succeeded at 1328 (offset -32 lines).
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: glibc-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
glibc-git - exit status 4

bidulock commented on 2022-08-05 19:25 (UTC)

I added the following line to get it to work:

diff --git a/PKGBUILD b/PKGBUILD
index e80ee0f..e611180 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
 # All my PKGBUILDs are managed at https://github.com/eli-schwartz/pkgbuilds

 pkgname=glibc-git
-pkgver=2.33.r62.gebcf45a16c
-pkgrel=2
+pkgver=2.36.r27.g26a3499cdb
+pkgrel=1
 pkgdesc='GNU C Library'
 arch=('i686' 'x86_64')
 url='https://www.gnu.org/software/libc/'
@@ -28,6 +28,7 @@ sha256sums=('SKIP'

 # remove default hardening for building libraries
 CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
+CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=2/}

 pkgver() {
     cd glibc

jeisom commented on 2022-04-05 22:43 (UTC)

@jlocks @muio

In your makepkg.conf, comment out the "CPPFLAGS" variable and it should work. it was defined as "-D_FORTIFY_SOURCE=2" on mine and removing it resolved it.

muio commented on 2022-02-06 04:46 (UTC) (edited on 2022-02-06 06:27 (UTC) by muio)

I'm getting the same error as @jlocks

This is how I try to build it:

$ makepkg -si --nocheck --config=/usr/share/devtools/makepkg-x86_64.conf

jlocks commented on 2021-12-28 20:00 (UTC) (edited on 2021-12-28 20:01 (UTC) by jlocks)

syslog.c: В функции «__vsyslog_internal»:
syslog.c:113:30: ошибка: inlining failed in call to «always_inline» «syslog»: function not inlinable
  113 | ldbl_strong_alias (__syslog, syslog)
      |                              ^~~~~~
./../include/libc-symbols.h:143:26: замечание: в определении макроса «_strong_alias»
  143 |   extern __typeof (name) aliasname __attribute__ ((alias (#name))) \
      |                          ^~~~~~~~~
../sysdeps/generic/math_ldbl_opt.h:14:44: замечание: в расширении макроса «strong_alias»
   14 | #define ldbl_strong_alias(name, aliasname) strong_alias (name, aliasname)
      |                                            ^~~~~~~~~~~~
syslog.c:113:1: замечание: в расширении макроса «ldbl_strong_alias»
  113 | ldbl_strong_alias (__syslog, syslog)
      | ^~~~~~~~~~~~~~~~~
syslog.c:155:17: замечание: которая вызвана здесь
  155 |                 syslog(INTERNALLOG,
      |                 ^~~~~~~~~~~~~~~~~~~
  156 |                     "syslog: unknown facility/priority: %x", pri);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [../o-iterator.mk:9: /tmp/yaourt-tmp-usersudo/aur-glibc-git/src/build/misc/syslog.o] Ошибка 1
make[2]: выход из каталога «/tmp/yaourt-tmp-usersudo/aur-glibc-git/src/glibc/misc»
make[1]: *** [Makefile:483: misc/subdir_lib] Ошибка 2
make[1]: выход из каталога «/tmp/yaourt-tmp-usersudo/aur-glibc-git/src/glibc»
make: *** [Makefile:9: all] Ошибка 2