Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[buildsystem] Fix hiredis package version: 0.14.1-1 #15461

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

nazariig
Copy link
Collaborator

@nazariig nazariig commented Jun 14, 2023

Build error:

18:20:27  [ finished ] [ target/debs/buster/libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb ]
18:20:27  [ FAIL LOG START ] [ target/debs/buster/libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb ]
18:20:27  [ REASON ] :      target/debs/buster/libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb does not exist  
18:20:27  [ FLAGS  FILE    ] : [mellanox amd64 buster y buster]
18:20:27  [ FLAGS  DEPENDS ] : [mellanox amd64 buster y buster]
18:20:27  [ FLAGS  DIFF    ] : []
18:20:27  make[1]: warning: -j30 forced in submake: resetting jobserver mode.
18:20:27  make[1]: Entering directory '/sonic/src/hiredis'
18:20:27  rm -rf hiredis-0.14.0
18:20:27  wget -O hiredis_0.14.0.orig.tar.gz http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.0.orig.tar.gz
18:20:27  wget -O hiredis_0.14.0-3~bpo9+1.debian.tar.xz http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.0-3~bpo9+1.debian.tar.xz
18:20:27  wget -O hiredis_0.14.0-3~bpo9+1.dsc http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.0-3~bpo9+1.dsc
18:20:27  dpkg-source -x hiredis_0.14.0-3~bpo9+1.dsc
18:20:27  pushd hiredis-0.14.0
18:20:27  dpkg-buildpackage -rfake******** -d -b -us -uc -j30 --********dir /sonic/dpkg/tmp.ALm1Mqoiea
18:20:27  popd
18:20:27  mv libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb libhiredis0.14-dbgsym_0.14.0-3~bpo9+1_amd64.deb libhiredis-dev_0.14.0-3~bpo9+1_amd64.deb /sonic/target/debs/buster/
18:20:27  /usr/local/share/buildinfo/scripts/buildinfo_base.sh: line 165: /usr/local/share/buildinfo/build-versions/versions-web: Permission denied
18:20:27  --2023-06-14 15:20:25--  http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.0.orig.tar.gz
18:20:27  Resolving http.debian.net (http.debian.net)... 130.89.148.77, 128.31.0.62, 149.20.4.15, ...
18:20:27  Connecting to http.debian.net (http.debian.net)|130.89.148.77|:80... connected.
18:20:27  HTTP request sent, awaiting response... 302 Found
18:20:27  Location: http://cdn-fastly.deb.debian.org/debian/pool/main/h/hiredis/hiredis_0.14.0.orig.tar.gz [following]
18:20:27  --2023-06-14 15:20:25--  http://cdn-fastly.deb.debian.org/debian/pool/main/h/hiredis/hiredis_0.14.0.orig.tar.gz
18:20:27  Resolving cdn-fastly.deb.debian.org (cdn-fastly.deb.debian.org)... 146.75.122.132, 2a04:4e42:8e::644
18:20:27  Connecting to cdn-fastly.deb.debian.org (cdn-fastly.deb.debian.org)|146.75.122.132|:80... connected.
18:20:27  HTTP request sent, awaiting response... 200 OK
18:20:27  Length: 63061 (62K) [application/x-gzip]
18:20:27  Saving to: 'hiredis_0.14.0.orig.tar.gz'
18:20:27  
18:20:27       0K .......... .......... .......... .......... .......... 81%  716K 0s
18:20:27      50K .......... .                                          100% 1.79M=0.08s
18:20:27  
18:20:27  2023-06-14 15:20:26 (809 KB/s) - 'hiredis_0.14.0.orig.tar.gz' saved [63061/63061]
18:20:27  
18:20:27  /usr/local/share/buildinfo/scripts/buildinfo_base.sh: line 165: /usr/local/share/buildinfo/build-versions/versions-web: Permission denied
18:20:27  --2023-06-14 15:20:26--  http://http.debian.net/debian/pool/main/h/hiredis/hiredis_0.14.0-3~bpo9+1.debian.tar.xz
18:20:27  Resolving http.debian.net (http.debian.net)... 149.20.4.15, 130.89.148.77, 128.31.0.62, ...
18:20:27  Connecting to http.debian.net (http.debian.net)|149.20.4.15|:80... connected.
18:20:27  HTTP request sent, awaiting response... 302 Found
18:20:27  Location: http://cdn-fastly.deb.debian.org/debian/pool/main/h/hiredis/hiredis_0.14.0-3~bpo9+1.debian.tar.xz [following]
18:20:27  --2023-06-14 15:20:27--  http://cdn-fastly.deb.debian.org/debian/pool/main/h/hiredis/hiredis_0.14.0-3~bpo9+1.debian.tar.xz
18:20:27  Resolving cdn-fastly.deb.debian.org (cdn-fastly.deb.debian.org)... 146.75.122.132, 2a04:4e42:8e::644
18:20:27  Connecting to cdn-fastly.deb.debian.org (cdn-fastly.deb.debian.org)|146.75.122.132|:80... connected.
18:20:27  HTTP request sent, awaiting response... 404 Not Found
18:20:27  2023-06-14 15:20:27 ERROR 404: Not Found.
18:20:27  
18:20:27  make[1]: *** [Makefile:9: /sonic/target/debs/buster/libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb] Error 8
18:20:27  make[1]: Leaving directory '/sonic/src/hiredis'
18:20:27  [  FAIL LOG END  ] [ target/debs/buster/libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb ]
18:20:27  make: *** [slave.mk:658: target/debs/buster/libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb] Error 1
18:20:27  make: *** Waiting for unfinished jobs....

Why I did it

  • To fix hiredis compilation
Work item tracking
  • N/A

How I did it

  • Changed package version: 0.14.0-3~bpo9+1 -> 0.14.1-1

How to verify it

  1. make configure PLATFORM=mellanox
  2. make target/sonic-mellanox.bin

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Tested branch (Please provide the tested image version)

  • master

Description for the changelog

  • N/A

Link to config_db schema for YANG module changes

  • N/A

A picture of a cute animal (not mandatory but encouraged)

      .---.        .-----------
     /     \  __  /    ------
    / /     \(  )/    -----
   //////   ' \/ `   ---
  //// / // :    : ---
 // /   /  /`    '--
//          //..\\
       ====UU====UU====
           '//||\\`
             ''``

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
@liushilongbuaa
Copy link
Contributor

Yes, hiredis_0.14.0-3~bpo9+1 is not available on debian.org.
But it seems that hiredis_0.14.0-3 will also deprecated at 2023-11-04.

@liushilongbuaa
Copy link
Contributor

@xumia, @qiluo-msft , there are a lot of debian packages deprecated by debian.org each year.
Updating these packages to newer version is a heavy job. Can we use apt-get download instead of wget/dget?

apt-get download libhiredis0.14

@nazariig
Copy link
Collaborator Author

@liushilongbuaa this is a blocker for us. Can we temporary use this solution until long term discussion is in progress?

@liushilongbuaa
Copy link
Contributor

@liushilongbuaa this is a blocker for us. Can we temporary use this solution until long term discussion is in progress?

Currently, LGTM. But I need to check pipeline log to confirm.

@nazariig
Copy link
Collaborator Author

@liushilongbuaa would you please help to merge?

StormLiangMS pushed a commit that referenced this pull request Jun 19, 2023
Backport of: #15461

Why I did it
To fix hiredis compilation
Work item tracking
N/A
How I did it
Changed package version: 0.14.0-3~bpo9+1 -> 0.14.0-3
rules/hiredis.mk Outdated Show resolved Hide resolved
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
@nazariig
Copy link
Collaborator Author

@StormLiangMS can you please merge?

@nazariig
Copy link
Collaborator Author

@xumia can you please merge if no more comments?

@k-v1
Copy link
Contributor

k-v1 commented Jun 20, 2023

Probably need to update title/description if version was changed to 0.14.1

@nazariig nazariig changed the title [buildsystem]: Fix hiredis package version: 0.14.0-3 [buildsystem]: Fix hiredis package version: 0.14.1-1 Jun 20, 2023
@liat-grozovik liat-grozovik merged commit d9dfb36 into sonic-net:master Jun 20, 2023
@liat-grozovik liat-grozovik changed the title [buildsystem]: Fix hiredis package version: 0.14.1-1 [buildsystem] Fix hiredis package version: 0.14.1-1 Jun 20, 2023
@abdosi
Copy link
Contributor

abdosi commented Jun 20, 2023

@yxieca we need this for 202205 as build are failing for that also.

@gechiang for viz.

developfast pushed a commit to developfast/sonic-buildimage that referenced this pull request Jun 28, 2023
- Why I did it
To fix hiredis compilation

- How I did it
Changed package version: 0.14.0-3~bpo9+1 -> 0.14.1-1

- How to verify it
make configure PLATFORM=mellanox
make target/sonic-mellanox.bin

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
@developfast
Copy link
Contributor

202205 cherry-pick: #15651

@mssonicbld
Copy link
Collaborator

@nazariig PR conflicts with 202012 branch

yxieca pushed a commit that referenced this pull request Jun 29, 2023
* [buildsystem] Fix hiredis package version: 0.14.1-1 (#15461)

- Why I did it
To fix hiredis compilation

- How I did it
Changed package version: 0.14.0-3~bpo9+1 -> 0.14.1-1

- How to verify it
make configure PLATFORM=mellanox
make target/sonic-mellanox.bin

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>

* Update Makefile

---------

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
Co-authored-by: Nazarii Hnydyn <nazariig@nvidia.com>
@StormLiangMS
Copy link
Contributor

@nazariig could you help to create separate PR for 202305, cherry pick failure.

@nazariig
Copy link
Collaborator Author

nazariig commented Jun 29, 2023

@nazariig could you help to create separate PR for 202305, cherry pick failure.

@StormLiangMS It is already done: #15569

lukasstockner pushed a commit to genesiscloud/sonic-buildimage that referenced this pull request Jun 29, 2023
…sonic-net#15651)

* [buildsystem] Fix hiredis package version: 0.14.1-1 (sonic-net#15461)

- Why I did it
To fix hiredis compilation

- How I did it
Changed package version: 0.14.0-3~bpo9+1 -> 0.14.1-1

- How to verify it
make configure PLATFORM=mellanox
make target/sonic-mellanox.bin

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>

* Update Makefile

---------

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
Co-authored-by: Nazarii Hnydyn <nazariig@nvidia.com>
@liuh-80
Copy link
Contributor

liuh-80 commented Jul 5, 2023

@nazariig , this PR has merge conflict when on 202012 branch, please create manually cherry-pick PR to 202012.

@nazariig
Copy link
Collaborator Author

nazariig commented Jul 5, 2023

@nazariig , this PR has merge conflict when on 202012 branch, please create manually cherry-pick PR to 202012.

@liuh-80 done

qiluo-msft pushed a commit that referenced this pull request Jul 10, 2023
Backport #15461

#### Why I did it
* To fix `hiredis` compilation

#### How I did it
* Changed package version: `0.14.0-3~bpo9+1` -> `0.14.1-1`

#### How to verify it
1. make configure PLATFORM=mellanox
2. make target/sonic-mellanox.bin

#### Tested branch (Please provide the tested image version)
- [X] 202012 <!-- image version 1 -->
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
- Why I did it
To fix hiredis compilation

- How I did it
Changed package version: 0.14.0-3~bpo9+1 -> 0.14.1-1

- How to verify it
make configure PLATFORM=mellanox
make target/sonic-mellanox.bin

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
volodymyrsamotiy pushed a commit to volodymyrsamotiy/sonic-buildimage that referenced this pull request Sep 26, 2023
- Why I did it
To fix hiredis compilation

- How I did it
Changed package version: 0.14.0-3~bpo9+1 -> 0.14.1-1

- How to verify it
make configure PLATFORM=mellanox
make target/sonic-mellanox.bin

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
centecqianj pushed a commit to CentecNetworks/sonic-buildimage that referenced this pull request Dec 21, 2023
…net#15719)

Backport sonic-net#15461

#### Why I did it
* To fix `hiredis` compilation

#### How I did it
* Changed package version: `0.14.0-3~bpo9+1` -> `0.14.1-1`

#### How to verify it
1. make configure PLATFORM=mellanox
2. make target/sonic-mellanox.bin

#### Tested branch (Please provide the tested image version)
- [X] 202012 <!-- image version 1 -->
fengkm pushed a commit to ufispace-dev/sonic-buildimage that referenced this pull request Apr 2, 2024
- Why I did it
To fix hiredis compilation

- How I did it
Changed package version: 0.14.0-3~bpo9+1 -> 0.14.1-1

- How to verify it
make configure PLATFORM=mellanox
make target/sonic-mellanox.bin

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.