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: nyanbinary (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 (6122)

Sources (6)

Latest Comments

1 2 Next › Last »

xiota commented on 2024-02-27 15:44 (UTC)

To enable DT_HASH, put the following in prepare() or build():

export LDFLAGS+=" -Wl,--hash-style=both"

This is functionally equivalent to the patch that was removed.

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

eschwartz commented on 2019-08-21 23:34 (UTC)

It's resolved in the sense that electron was fixed, not in the sense that all proprietary applications have upgraded their vendored electron from <=2.0.7 to at least 2.0.8

If there are statistics on how much proprietary software is still affected, we should presumably take that into account for core/glibc as well.

Terence commented on 2019-08-21 11:26 (UTC) (edited on 2019-08-21 11:35 (UTC) by Terence)

0001-Revert-elf-Correct-absolute-SHN_ABS-symbol-run-time-.patch doesn't apply anymore. However, it doesn't look like it's needed anymore: https://github.com/electron/electron/issues/13972#issuecomment-519740222