oceanbase / oceanbase/obclient

[Bug]: need support on OpenSUSE15 and FedoraOS 37

Open
#21 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
94
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Check Before Asking
  • Please check the issue list and confirm this bug is encountered for the first time.
  • Please try full text in English and attach precise description.
Environment
OpenSUSE 15
FedoraOS37

in these two OSes, I cannot build or install obclient successfully.
Fast Reproduce Steps

I tried below method
method1:

sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo
sudo yum install -y libtool libaio obclient
[root@amd2 wayne]# yum install -y libtool libaio obclient
OceanBase-community-stable-el37                                                                                                                                                                                                                                                    1.7 kB/s | 2.3 kB     00:01    
Errors during downloading metadata for repository 'oceanbase.community.stable':
  - Status code: 404 for http://mirrors.aliyun.com/oceanbase/community/stable/el/37/x86_64/repodata/repomd.xml (IP: 47.246.24.240)
Error: Failed to download metadata for repo 'oceanbase.community.stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
OceanBase-development-kit-el37                                                                                                                                                                                                                                                     1.2 kB/s | 2.3 kB     00:01    
Errors during downloading metadata for repository 'oceanbase.development-kit':
  - Status code: 404 for http://mirrors.aliyun.com/oceanbase/development-kit/el/37/x86_64/repodata/repomd.xml (IP: 47.246.24.238)
Error: Failed to download metadata for repo 'oceanbase.development-kit': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: oceanbase.community.stable, oceanbase.development-kit
Last metadata expiration check: 0:22:58 ago on Sat 18 Mar 2023 07:26:05 AM PDT.
Package libtool-2.4.7-2.fc37.x86_64 is already installed.
Package libaio-0.3.111-14.fc37.x86_64 is already installed.
No match for argument: obclient

method2: try to build code

[root@amd2 rpm]# sh obclient-build.sh
[BUILD] args: TOP_DIR=/mnt/nvme3n1/wayne/obclient/rpm/../ PACKAGE=obclient VERSION=2.2.1 RELEASE=1
check dependencies profile for el3.x86_64... NOT FOUND
dep create failed
[root@amd2 rpm]# 
Actual Behavior

either way is not OK to build install obclient

Expected Behavior

we can install and build obclient on OpenSUSE and FedoraOS37

Other Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with rpm/obclient-build.sh and the reported dependency-profile lookup failure for el3.x86_64. Reproduce both the yum installation failure and the build failure on FedoraOS 37 and OpenSUSE 15. Done means obclient can be built and installed successfully on both operating systems through the reported methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, fedora, linux, shell
Domain
build-system, cli, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.