Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Jan 31, 2022

CentOS 8 was just shut down:

$ pob centos:8 
[root_e606059da4d9 /]# dnf update
Failed to set locale, defaulting to C.UTF-8
CentOS Linux 8 - AppStream
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Fix that by bumping the image.

@hebasto
Copy link
Member

hebasto commented Jan 31, 2022

Concept ACK, considering:

  • CentOS Linux 8 EOL: 2021-12-31
  • CentOS Stream 8 EOL: 2024-05-31

@DrahtBot DrahtBot added the Tests label Jan 31, 2022
@fanquake
Copy link
Member

  zeromq-4.3.4-2.el8.x86_64                                                     
Removed:
  coreutils-single-8.30-12.el8.x86_64                                           

Complete!
bash: free: command not found

Exit status: 127

@maflcko
Copy link
Member Author

maflcko commented Jan 31, 2022

Trying with procps-ng ...

@maflcko maflcko force-pushed the 2201-ciBC branch 2 times, most recently from fa96dfe to fa388b1 Compare January 31, 2022 10:55
@maflcko
Copy link
Member Author

maflcko commented Jan 31, 2022

Building libevent...
make[1]: Entering directory '/tmp/cirrus-ci-build/depends/work/build/i686-pc-linux-gnu/libevent/2.1.12-stable-dbc4e9c2bf0'
make[1]: -c: Command not found
make[1]: *** [Makefile:1425: config.h] Error 127
make[1]: Leaving directory '/tmp/cirrus-ci-build/depends/work/build/i686-pc-linux-gnu/libevent/2.1.12-stable-dbc4e9c2bf0'
make: *** [funcs.mk:282: /tmp/cirrus-ci-build/depends/work/build/i686-pc-linux-gnu/libevent/2.1.12-stable-dbc4e9c2bf0/./.stamp_built] Error 2
make: Leaving directory '/tmp/cirrus-ci-build/depends'
Exit status: 2

@hebasto
Copy link
Member

hebasto commented Jan 31, 2022

@MarcoFalke

libevent build can be fixed with the following patch:

--- a/ci/test/05_before_script.sh
+++ b/ci/test/05_before_script.sh
@@ -47,7 +47,7 @@ if [[ $HOST = *-mingw32 ]]; then
   DOCKER_EXEC update-alternatives --set "${HOST}-g++" \$\(which "${HOST}-g++-posix"\)
 fi
 if [ -z "$NO_DEPENDS" ]; then
-  if [[ $DOCKER_NAME_TAG == centos* ]]; then
+  if [[ $DOCKER_NAME_TAG == *centos* ]]; then
     # CentOS has problems building the depends if the config shell is not explicitly set
     # (i.e. for libevent a Makefile with an empty SHELL variable is generated, leading to
     #  an error as the first command is executed)

MarcoFalke added 3 commits February 1, 2022 10:13
-BEGIN VERIFY SCRIPT-
 sed -i "s/DOCKER_EXEC/CI_EXEC/g" $(git grep -l DOCKER_EXEC)
-END VERIFY SCRIPT-
@Sjors
Copy link
Member

Sjors commented Feb 1, 2022

utACK fafc55a with the caveat that I've never used CentOS.

@maflcko
Copy link
Member Author

maflcko commented Feb 1, 2022

Just to give some more context:

  • Only the first commit is needed as a bug fix
  • The second commit is an unrelated rename. docker->ci, since it is possible to run the ci without docker
  • The third commit makes sense because we use the centos build to test with dash

@maflcko maflcko merged commit 133f73e into bitcoin:master Feb 1, 2022
@maflcko maflcko deleted the 2201-ciBC branch February 1, 2022 10:30
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 1, 2022
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 4, 2022
Github-Pull: bitcoin#24212
Rebased-From: fa5457e
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 4, 2022
hebasto pushed a commit to hebasto/bitcoin that referenced this pull request Feb 6, 2022
Github-Pull: bitcoin#24212
Rebased-From: fa5457e
hebasto pushed a commit to hebasto/bitcoin that referenced this pull request Feb 6, 2022
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 9, 2022
Github-Pull: bitcoin#24212
Rebased-From: fa5457e
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 9, 2022
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 9, 2022
Github-Pull: bitcoin#24212
Rebased-From: fa5457e
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 9, 2022
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 14, 2022
Github-Pull: bitcoin#24212
Rebased-From: fa5457e
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 14, 2022
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 14, 2022
Github-Pull: bitcoin#24212
Rebased-From: fa5457e
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 14, 2022
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 14, 2022
Github-Pull: bitcoin#24212
Rebased-From: fa5457e
fanquake pushed a commit to fanquake/bitcoin that referenced this pull request Feb 14, 2022
@fanquake
Copy link
Member

Being backported in #24256.

fanquake added a commit that referenced this pull request Feb 15, 2022
d34691c ci: Use dash when building depends in centos build (MarcoFalke)
b5d12ed ci: Bump CentOS 8 image (MarcoFalke)
685ac6a build: fix depends zeromq dash compatibility (fanquake)
4b92a6b build: libXau 1.0.9 (fanquake)

Pull request description:

  Backports #24212 to the 22.x branch. Included a bump to libXau and an additional commit for zeromq to fix dash compatibility.

ACKs for top commit:
  hebasto:
    ACK d34691c

Tree-SHA512: 862b819df6d74cfb0499d1f1040cfbf70dc4449108521466ff22db48b942949fec5c5e93d5f652109f228eac8e60413830f7c22b3879a0bd2441a60b87470972
@bitcoin bitcoin locked and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants