diff mbox series

[LEDE-DEV] Fix missing libc.

Message ID 20180510212314.5469-1-leventelist@gmail.com
State Rejected
Delegated to: John Crispin
Headers show
Series [LEDE-DEV] Fix missing libc. | expand

Commit Message

Levente May 10, 2018, 9:23 p.m. UTC
From: Lev <levente.kovacs@intelliport.hu>

---
 toolchain/glibc/common.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Felix Fietkau May 10, 2018, 9:49 p.m. UTC | #1
On 2018-05-10 23:23, Lev wrote:
> From: Lev <levente.kovacs@intelliport.hu>
Please explain what you're trying to do here.
The patch makes no sense to me.

- Felix
Levente May 10, 2018, 9:55 p.m. UTC | #2
On Thu, 10 May 2018 23:49:36 +0200
Felix Fietkau <nbd@nbd.name> wrote:

> On 2018-05-10 23:23, Lev wrote:
> > From: Lev <levente.kovacs@intelliport.hu>  
> Please explain what you're trying to do here.
> The patch makes no sense to me.


glibc v2.26 was not found any of the mirrors, but v2.22 is. This patch instructs
the build system to use glibc v2.22 instead of v2.26.

Lev
Dragan Stancevic May 10, 2018, 10:23 p.m. UTC | #3
On 05/10/2018 04:55 PM, Lev wrote:
> On Thu, 10 May 2018 23:49:36 +0200
> Felix Fietkau <nbd@nbd.name> wrote:
> 
>> On 2018-05-10 23:23, Lev wrote:
>>> From: Lev <levente.kovacs@intelliport.hu>  
>> Please explain what you're trying to do here.
>> The patch makes no sense to me.
> 
> 
> glibc v2.26 was not found any of the mirrors, but v2.22 is. This patch instructs
> the build system to use glibc v2.22 instead of v2.26.
> 
> Lev
> 
> 
There is no mirror required, package is pulled from git at:

PKG_SOURCE_URL:=git://sourceware.org/git/glibc.git


visitor@tst:~/src$ git clone git://sourceware.org/git/glibc.git
Cloning into 'glibc'...
remote: Counting objects: 516077, done.
remote: Compressing objects: 100% (73252/73252), done.
remote: Total 516077 (delta 433835), reused 514543 (delta 432516)
Receiving objects: 100% (516077/516077), 150.85 MiB | 35.16 MiB/s, done.
Resolving deltas: 100% (433835/433835), done.
Checking connectivity... done.
visitor@tst:~/src$ cd glibc/
visitor@tst:~/src/glibc$ git tag -l glibc-2.26*
glibc-2.26
glibc-2.26.9000
Lucian Cristian May 10, 2018, 10:24 p.m. UTC | #4
On 11.05.2018 00:55, Lev wrote:
> On Thu, 10 May 2018 23:49:36 +0200
> Felix Fietkau <nbd@nbd.name> wrote:
>
>> On 2018-05-10 23:23, Lev wrote:
>>> From: Lev <levente.kovacs@intelliport.hu>
>> Please explain what you're trying to do here.
>> The patch makes no sense to me.
>
> glibc v2.26 was not found any of the mirrors, but v2.22 is. This patch instructs
> the build system to use glibc v2.22 instead of v2.26.
>
> Lev
>
>
then adjust your Makefile to https://ftp.gnu.org/gnu/glibc/ maybe you 
have a local download problem
diff mbox series

Patch

diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index b10e797de6..7ff684d52c 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -7,14 +7,14 @@ 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=glibc
-PKG_VERSION:=2.26
+PKG_VERSION:=2.22
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=d300041c533a3d837c9f37a099bcc95466860e98
-PKG_MIRROR_HASH:=31e90926a1d3093355aa85c04c68b3d109c3dc3d9f80afe50505e864b32ac784
+PKG_MIRROR_HASH:=eb731406903befef1d8f878a46be75ef862b9056ab0cde1626d08a7a05328948
 PKG_SOURCE_URL:=git://sourceware.org/git/glibc.git
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 
 HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(PKG_SOURCE_SUBDIR)
 CUR_BUILD_DIR:=$(HOST_BUILD_DIR)-$(VARIANT)