Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838196 - sys-libs/glibc-9999 fails to build: failed (prepare phase): patch -p1 failed with 0002-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch
Summary: sys-libs/glibc-9999 fails to build: failed (prepare phase): patch -p1 failed...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-13 08:40 UTC by Sergei Trofimovich
Modified: 2022-04-16 13:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich 2022-04-13 08:40:52 UTC
# ACCEPT_KEYWORDS='**' emerge -v1 sys-libs/glibc

>>> Preparing source in /dev/shm/portage/sys-libs/glibc-9999/work/glibc-9999 ...
 * Applying Gentoo Glibc Patchset from git master
 * Applying patches from /dev/shm/portage/sys-libs/glibc-9999/work/patches ...
 *   0001-Disable-ldconfig-during-install.patch ...                                                                                                                                                           [ ok ]
 *   0002-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch ...
patching file nss/Makefile
Hunk #1 succeeded at 85 (offset 11 lines).
patching file sysdeps/posix/getaddrinfo.c
Hunk #1 FAILED at 733.
1 out of 1 hunk FAILED -- saving rejects to file sysdeps/posix/getaddrinfo.c.rej                                                                                                                              [ !! ]
 * ERROR: sys-libs/glibc-9999::gentoo failed (prepare phase):
 *   patch -p1  failed with /dev/shm/portage/sys-libs/glibc-9999/work/patches/0002-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch
 *
Comment 1 WANG Xuerui gentoo-dev 2022-04-16 13:43:13 UTC
This should be fixed; in particular, the offending patch is dropped (but easily revertible if it turns out the patch is still necessary). You can check glibc-patches.git for details.