# HG changeset patch # User "Yann E. MORIN" # Date 1307200558 -7200 # Node ID 3fc114996b20a407331efc8534124e41ddd0372a # Parent b5541f296b921fe7e00748576e85ee1cf1de48a3 libc/glibc: do not try to download NPTL add-on The NPTL add-on has always been internal, so there is no reason to try downloading it, it will never succeed. Add provision to skip other add-ons as well. For consistency, do the same test in both glibc and eglibc. Signed-off-by: "Yann E. MORIN" diff -r b5541f296b92 -r 3fc114996b20 scripts/build/libc/eglibc.sh --- a/scripts/build/libc/eglibc.sh Fri Jun 03 17:21:56 2011 +0200 +++ b/scripts/build/libc/eglibc.sh Sat Jun 04 17:15:58 2011 +0200 @@ -26,8 +26,12 @@ "${CT_EGLIBC_REVISION:-HEAD}" for addon in $(do_libc_add_ons_list " "); do - # NPTL addon is not to be downloaded, in any case - [ "${addon}" = "nptl" ] && continue || true + # Never ever try to download these add-ons, + # they've always been internal + case "${addon}" in + nptl) continue;; + esac + if ! CT_GetSVN "eglibc-${addon}-${CT_LIBC_VERSION}" \ "${svn_base}/${addon}" \ "${CT_EGLIBC_REVISION:-HEAD}" diff -r b5541f296b92 -r 3fc114996b20 scripts/build/libc/glibc.sh --- a/scripts/build/libc/glibc.sh Fri Jun 03 17:21:56 2011 +0200 +++ b/scripts/build/libc/glibc.sh Sat Jun 04 17:15:58 2011 +0200 @@ -27,6 +27,12 @@ # C library addons for addon in "${addons_list[@]}"; do + # Never ever try to download these add-ons, + # they've always been internal + case "${addon}" in + nptl) continue;; + esac + if ! CT_GetFile "glibc-${addon}-${CT_LIBC_VERSION}" \ {ftp,http}://ftp.gnu.org/gnu/glibc \ ftp://gcc.gnu.org/pub/glibc/releases \