aarch64 rpmbuild openstack wallaby neutron 打包rpm笔记

基本信息

源码地址:

openstack-neutron: Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services - Gitee.com

git clone -b Multi-Version_OpenStack-Wallaby_openEuler-22.03-LTS https://gitee.com/src-openeuler/openstack-neutron.git

依赖

yum-builddep -y openstack-neutron.spec

没有匹配的软件包可以安装: 'python3-keystoneauth1 >= 3.14.0'
没有匹配的软件包可以安装: 'python3-keystonemiddleware'
没有匹配的软件包可以安装: 'python3-neutron-lib'
没有匹配的软件包可以安装: 'python3-novaclient'
没有匹配的软件包可以安装: 'python3-os-vif'
没有匹配的软件包可以安装: 'python3-oslo-cache'
没有匹配的软件包可以安装: 'python3-oslo-concurrency'
没有匹配的软件包可以安装: 'python3-oslo-config'
没有匹配的软件包可以安装: 'python3-oslo-db'
没有匹配的软件包可以安装: 'python3-oslo-log'
没有匹配的软件包可以安装: 'python3-oslo-messaging'
没有匹配的软件包可以安装: 'python3-oslo-policy'
没有匹配的软件包可以安装: 'python3-oslo-privsep'
没有匹配的软件包可以安装: 'python3-oslo-rootwrap'
没有匹配的软件包可以安装: 'python3-oslo-service'
没有匹配的软件包可以安装: 'python3-oslo-upgradecheck'
没有匹配的软件包可以安装: 'python3-oslo-versionedobjects'
没有匹配的软件包可以安装: 'python3-osprofiler >= 1.3.0'
没有匹配的软件包可以安装: 'python3-ovsdbapp'

软件包 python3-pbr-5.4.5-1.p01.ky10.noarch 已安装。
没有匹配的软件包可以安装: 'python3-pyroute2 >= 0.5.13'
没有匹配的软件包可以安装: 'python3-tenacity >= 4.4.0'

软件包 systemd-243-55.p05.se.01.ky10.aarch64 已安装。
RPM: 错误:%changelog 中存在错误的日期:Thur Jan 27 2022 lijiawei <ljw1101.vip@gmail.com> - 18.2.0-1
没有满足全部的依赖关系
错误:某些软件包无法找到。
 

如果是openEuler 2203系统,解决方案

yum install openstack-release-wallaby

aarch64 其他系统,参考源码包

https://repo.openeuler.org/openEuler-22.03-LTS/EPOL/multi_version/OpenStack/Wallaby/source/Packages/

2203系统自带python3版本为3.9.9,源码包地址:

https://repo.openeuler.org/openEuler-22.03-LTS/source/Packages/python3-3.9.9-7.oe2203.src.rpm

python3.9.9

kylin v10sp3 构建python3.9.9rpm包

rpm -ivh python3-3.9.9-7.oe2203.src.rpm 

cd ~/rpmbuild/
yum-builddep -y SPECS/python3.spec

需要ks10-adv-os源

# gcc 版本 7.3.0 (GCC)

rpmbuild -ba SPECS/python3.spec

测试阶段报错

test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

Current thread 0x0000fffc36634f00 (most recent call first):
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/ssl.py", line 483 in __new__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/test_ssl.py", line 1129 in test_constructor
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/case.py", line 550 in _callTestMethod
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/case.py", line 592 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/case.py", line 651 in __call__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 122 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 84 in __call__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 122 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 84 in __call__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 122 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 84 in __call__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/runner.py", line 176 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/support/__init__.py", line 1805 in _run_suite
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/support/__init__.py", line 1929 in run_unittest
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 263 in _test_module
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 288 in _runtest_inner2
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 326 in _runtest_inner
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 217 in _runtest
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 247 in runtest
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/main.py", line 334 in rerun_failed_tests
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/main.py", line 712 in _main
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/main.py", line 655 in main
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/main.py", line 733 in main
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/regrtest.py", line 43 in _main
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/regrtest.py", line 47 in <module>
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/runpy.py", line 87 in _run_code
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/runpy.py", line 197 in _run_module_as_main
/var/tmp/rpm-tmp.NsyvgB: line 50: 81782 Segmentation fault      (core dumped) WITHIN_PYTHON_RPM_BUILD= LD_LIBRARY_PATH=$(pwd)/build/debug $(pwd)/build/debug/python -m test.regrtest -wW --slowest -j0 -x test_distutils -x test_bdist_rpm -x test_gdb -x test_socket -x test_asyncio
错误:/var/tmp/rpm-tmp.NsyvgB (%check) 退出状态不好

尝试手动跳过(坏主意

成功编译

附:

升级gcc 版本 10.3.1 (GCC) 故障依旧

test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

Current thread 0x0000fffef7114f00 (most recent call first):
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/ssl.py", line 483 in __new__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/test_ssl.py", line 1129 in test_constructor
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/case.py", line 550 in _callTestMethod
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/case.py", line 592 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/case.py", line 651 in __call__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 122 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 84 in __call__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 122 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 84 in __call__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 122 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/suite.py", line 84 in __call__
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/runner.py", line 176 in run
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/support/__init__.py", line 1805 in _run_suite
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/support/__init__.py", line 1929 in run_unittest
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 263 in _test_module
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 288 in _runtest_inner2
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 326 in _runtest_inner
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 217 in _runtest
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/runtest.py", line 247 in runtest
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/main.py", line 334 in rerun_failed_tests
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/main.py", line 712 in _main
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/main.py", line 655 in main
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/libregrtest/main.py", line 733 in main
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/regrtest.py", line 43 in _main
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/regrtest.py", line 47 in <module>
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/runpy.py", line 87 in _run_code
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/runpy.py", line 197 in _run_module_as_main
/var/tmp/rpm-tmp.6GxdMf: line 50: 147628 Segmentation fault      (core dumped) WITHIN_PYTHON_RPM_BUILD= LD_LIBRARY_PATH=$(pwd)/build/debug $(pwd)/build/debug/python -m test.regrtest -wW --slowest -j0 -x test_distutils -x test_bdist_rpm -x test_gdb -x test_socket -x test_asyncio
错误:/var/tmp/rpm-tmp.6GxdMf (%check) 退出状态不好

另外一个系统 gcc10.3.1故障

testEncodings (test.test_minidom.MinidomTest) ... ERROR
testExceptionOnSpacesInXMLNSValue (test.test_minidom.MinidomTest) ... ERROR

======================================================================
ERROR: testEncodings (test.test_minidom.MinidomTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/test_minidom.py", line 1158, in testEncodings
    self.assertRaises(UnicodeDecodeError, parseString,
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/case.py", line 739, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/unittest/case.py", line 201, in handle
    callable_obj(*args, **kwargs)
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/xml/dom/minidom.py", line 1998, in parseString
    return expatbuilder.parseString(string)
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/xml/dom/expatbuilder.py", line 925, in parseString
    return builder.parseString(string)
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 5

======================================================================
ERROR: testExceptionOnSpacesInXMLNSValue (test.test_minidom.MinidomTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/test/test_minidom.py", line 1626, in testExceptionOnSpacesInXMLNSValue
    parseString('<element xmlns:abc="http:abc.com/de f g/hi/j k"><abc:foo /></element>')
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/xml/dom/minidom.py", line 1998, in parseString
    return expatbuilder.parseString(string)
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/xml/dom/expatbuilder.py", line 925, in parseString
    return builder.parseString(string)
  File "/root/rpmbuild/BUILD/Python-3.9.9/Lib/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0

----------------------------------------------------------------------
Ran 2 tests in 0.011s

FAILED (errors=2)
test test_minidom failed
0:04:48 load avg: 17.08 Re-running test_ssl in verbose mode

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
1 test failed again:
    test_minidom

== Tests result: FAILURE then FAILURE ==

400 tests OK.

10 slowest tests:
- test_peg_generator: 4 min 16 sec
- test_concurrent_futures: 4 min 3 sec
- test_multiprocessing_spawn: 2 min 57 sec
- test_multiprocessing_forkserver: 1 min 59 sec
- test_buffer: 1 min 21 sec
- test_multiprocessing_fork: 1 min 21 sec
- test_io: 1 min 14 sec
- test_descr: 1 min 14 sec
- test_array: 1 min 8 sec
- test_datetime: 1 min 8 sec

1 test failed:
    test_minidom

19 tests skipped:
    test_curses test_devpoll test_ioctl test_kqueue test_msilib
    test_ossaudiodev test_smtpnet test_socketserver test_startfile
    test_tix test_tk test_ttk_guionly test_urllib2net test_urllibnet
    test_winconsoleio test_winreg test_winsound test_xmlrpc_net
    test_zipfile64

2 re-run tests:
    test_minidom test_ssl

1 test run no tests:
    test_ssl

Total duration: 4 min 49 sec
Tests result: FAILURE then FAILURE
错误:/var/tmp/rpm-tmp.6BpwDl (%check) 退出状态不好


RPM 构建错误:
    行 101:It's not recommended to have unversioned Obsoletes:Obsoletes: python39
    行 106:It's not recommended to have unversioned Obsoletes:Obsoletes: python3-libs
    行 146:It's not recommended to have unversioned Obsoletes:Obsoletes: python3-idle
    行 148:It's not recommended to have unversioned Obsoletes:Obsoletes: python3-test
    行 150:It's not recommended to have unversioned Obsoletes:Obsoletes: python3-tkinter
    %changelog (更新日志)中存在虚假的日期:Thu Mar 30 2021 shenyangyang<shenyangyang4@huawei.com> - 3.8.5-8
    %changelog 中存在错误的日期:Web Mar 03 2021 wuchaochao<wuchaochao4@huawei.com> - 3.8.5-7
    /var/tmp/rpm-tmp.6BpwDl (%check) 退出状态不好
 

2203 openssl 1.1.1m

kylinv10sp3 openssl 1.1.1f

有影响?

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/115501.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【JS的设计模式一】

本文参考书籍 《JavaScript设计模式与开发实践》 在 JavaScript 编程中&#xff0c;this 关键字总是让人感到迷惑&#xff0c;Function.prototype.call 和 Function.prototype.apply 这两个方法也有着广泛的运用。我们有必要在学习设计模式之前先理解 这几个概念。 this Java…

Windows 95 的辉煌诞生历史

1992 年 2 月&#xff0c;Windows 3.1 的研发即将结束&#xff0c;而 Windows 团队正忙得不亦乐乎地计划他们的下一盘大棋。到了 3 月 5 日&#xff0c;他们终于悠哉悠哉地敲定了战略大计&#xff1a;横扫桌面、笔记本、移动设备以及时髦的触控笔设备。至于那些高大上的服务器和…

测吧(北京)科技有限公司项目总监王雪冬一行访问计算机学院探讨合作

3月15日&#xff0c;测吧&#xff08;北京&#xff09;科技有限公司&#xff08;以下简称测吧&#xff09;项目总监王雪冬来到计算机学院对校企合作、学生就业、学生竞赛等一系列工作进行了深入研讨&#xff0c;并向计算机学院颁发了优秀组织单位和优秀指导老师奖。会议由黄曼绮…

当年很流行,现在已经淘汰的前端技术有哪些?

近几年&#xff0c;前端技术真可谓是飞速发展&#xff0c;不断有新的技术涌现&#xff0c;爆火的前端框架 Astro&#xff0c;前端运行时 Bun&#xff0c;构建工具 Vite 等都给前端提供了强大动力。当然&#xff0c;也有很多前端技术随着技术的发展不再需要使用&#xff0c;有了…

【产品运营】产品需求应该如何管理

产品项目在进行时经常会有一些需求需要实现&#xff0c;需求是产品更新迭代的动力&#xff0c;需求也是从用户诉求转化而来&#xff1b;在做需求管理时&#xff0c;我们需要判断一个需求的优先级等方面&#xff0c;对产品进行优化&#xff1b; 目录&#xff1a; 一、 为什么要…

FFT64点傅里叶变换verilog蝶形运算,代码和视频

名称&#xff1a;FFT64点verilog傅里叶变换 软件&#xff1a;Quartus 语言&#xff1a;Verilog 代码功能&#xff1a; 使用verilog代码实现64点FFT变换&#xff0c;使用蝶形运算实现傅里叶变换 演示视频&#xff1a;http://www.hdlcode.com/index.php?mhome&cView&…

【计算机网络】应用层协议--HTTP协议及HTTP报文格式

目录 1、HTTP是什么 2、HTTP请求与响应 3、HTTP请求的两种方法(get和post)及区别 (面试题) 4、几种常见的错误的说法 5、HTTP协议的特点 6、应用场景 7、HTTP报文格式 8、面试题&#xff1a;HTTP常见的状态码都有哪些&#xff1f; 1、HTTP是什么 HTTP协议是在Web上进行…

C# 关于托管调试助手 “FatalExecutionEngineError“:“运行时遇到了错误。解决方案

托管调试助手 “FatalExecutionEngineError”:“运行时遇到了错误。此错误的地址为 0x740161f8&#xff0c;在线程 0x1174 上。错误代码为 0xc0000005。此错误可能是 CLR 中的 bug&#xff0c;或者是用户代码的不安全部分或不可验证部分中的 bug。此 bug 的常见来源包括用户对 …

微信native-v3版支付对接流程及demo

1.将p12证书转为pem证书&#xff0c;得到商户私钥 openssl pkcs12 -in apiclient_cert.p12 -out apiclient_cert.pem -nodes 密码是&#xff1a;商户id 2.将获取到的apiclient_cert.pem证书&#xff0c;复制出这一块内容&#xff0c;其他的不要 3.下载这个工具包 https://gi…

macOS Sonoma 桌面小工具活学活用!

macOS Sonoma 虽然不算是很大型的改版&#xff0c;但当中触目的新功能是「桌面小工具」&#xff08;Widget&#xff09;。如果我们的萤幕够大&#xff0c;将能够放更多不同的Widget&#xff0c;令用户无须开App 就能显示资讯&#xff0c;实在相当方便。 所有iPhone Widget 也能…

openCV的CUDA GPU 版本安装 (Ubuntu windows 通用)

需要做template match, 比较注重时间&#xff0c;因此opencv 的普通版本不适用。需要用GPU 的。 下载 git clone https://github.com/opencv/opencv.git git clone https://github.com/opencv/opencv_contrib.git确保准备好以下内容 1&#xff1a; visual studio &#xff0…

硬件信息查看工具 EtreCheckpro mac中文版功能介绍

etrecheckpro mac中文版是一款专业的硬件信息查看工具&#xff0c;它能够快速的检测Mac电脑的软硬件信息&#xff0c;加强用户对自己计算机的了解&#xff0c;EtreCheckPro for Mac下载首先会对电脑的软硬件信息进行扫描收集&#xff0c;之后才会显示出来。EtreCheck Mac版报告…

顶级玩家:一招搞定 App 自动化老大难问题

很多人在学习 App 自动化或者在项目中落地实践 App 自动化时&#xff0c;会发现编写的自动化脚本无缘无故的执行失败、不稳定。 而导致其问题很大原因是因为应用的各种弹窗&#xff08;升级弹窗、使用过程提示弹窗、评价弹窗等等&#xff09;&#xff0c;比如这样的&#xff1a…

汽车屏类产品(二):360全景环视(SVC)、多分割显示、行车记录

前言 随着新能源汽车的快速发展,带动了车载器件的大发展,大的比如域控,小的创新更是不断涌现。而车载显示屏可以说是一大类产品,产品形态也是愈发多样化,比如:仪表cluster、中控IVI、副驾屏、行车记录仪、流媒体后视镜、透明A柱屏、方向盘屏(替代方向盘按键)、门饰板显…

在mybatis的xml中使用枚举来做判断条件

1.枚举类 import com.baomidou.mybatisplus.annotation.IEnum; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.shinkeer.common.utils.StringUtils;import java.util.HashMap; import java.util.Map;…

服务器数据恢复-raid0硬盘故障导致服务器崩溃的数据恢复案例

服务器故障&分析&#xff1a; 某公司一台服务器&#xff0c;共2块磁盘组建了一组raid0磁盘阵列。RAID0阵列中有1块硬盘出现故障离线&#xff0c;导致服务器崩溃。 通过和用户方的沟通&#xff0c;北亚企安数据恢复工程师初步判断&#xff1a;故障服务器中出现故障离线的硬盘…

账号合租平台源码Thinkphp6.1|内置详细搭建教程

小白账号合租平台说明 系统采用的是常见的租号平台模式,现在网络上流出的这种类型的源码还很少 平台介绍 1.租号模式,用户可自行选择单独租号或采用合租的模式。 2.支付,采用易支付通用接口 3.邀请返利,为了站长能更好推广推荐了邀请返利功能 4.用户提现功能 5.工单…

让你随时随地访问金蝶云星空企业版v8.0,内网穿透轻松实现远程办公!

文章目录 前言1. 金蝶云星空企业版v8.0安装下载1.1 登录金蝶官网下载安装包1.2 常见的安装下载问题 2. 金蝶云星空配置SQL Sever数据库2.1 创建数据管理中心2.2 创建完成后在服务器登录管理站点 3. 下载安装注册cpolar3.1 公网访问测试 4. 固定连接公网地址 前言 金蝶云星空专注…

光环云入选“北京市算力互联互通试点参与企业”!

为进一步贯彻落实工业和信息化部等六部委联合印发的《算力基础设施高质量发展行动计划》&#xff0c;扩大北京市算力互联互通试点参与范围&#xff0c;助力建设全球数字经济标杆城市&#xff0c;北京市通信管理局组织相关专家对申报第二批参与试点企业开展评估&#xff0c;光环…

云HIS系统,Cloud HIS system,云HIS医院信息管理系统源码

通过云HIS平台,可以减少医院投资,无需自建机房和系统,快速实现信息化服务。系统升级及日常维护服务有云平台提供,无需配备专业IT维护人员进行系统维护。 一、his系统和云his系统的区别 His系统和云his系统是两种不同的计算平台&#xff0c;它们在技术架构上存在很大的差异。下…